Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 103.7 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001363, allocations: 192.6 kB / 19.36 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 227.2 MB, free: 12.15 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.06959/0.06959, allocations: 8.118 MB / 284.7 MB, free: 1.836 MB / 222.1 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 72.05 kB / 394.9 MB, free: 49.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08038/0.08257, allocations: 48.31 MB / 443.2 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.00171/0.08432, allocations: 0.7072 MB / 443.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000336/0.08468, allocations: 187.3 kB / 444.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.08476, allocations: 0 / 444.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/0.08482, allocations: 23.75 kB / 444.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.531e-05/0.08492, allocations: 11.81 kB / 444.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.0851, allocations: 47.94 kB / 444.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.08527, allocations: 139.7 kB / 444.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.08546, allocations: 85.59 kB / 444.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.513e-05/0.08551, allocations: 59.72 kB / 444.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/0.0856, allocations: 79.61 kB / 444.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.08563, allocations: 24 kB / 444.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.08566, allocations: 16 kB / 444.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.0857, allocations: 47.73 kB / 444.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.08577, allocations: 79.58 kB / 444.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.08595, allocations: 187.5 kB / 444.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.08596, allocations: 0 / 444.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.08597, allocations: 4 kB / 444.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.08598, allocations: 3.938 kB / 444.9 MB, free: 6.227 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0004992/0.08648, allocations: 467.1 kB / 445.3 MB, free: 5.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.08653, allocations: 8.031 kB / 445.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.08657, allocations: 50.73 kB / 445.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.08661, allocations: 28.78 kB / 445.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.08679, allocations: 211.5 kB / 445.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.08681, allocations: 16.75 kB / 445.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.08685, allocations: 28.31 kB / 445.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.0871, allocations: 164.9 kB / 445.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.08712, allocations: 11.88 kB / 445.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.08715, allocations: 8 kB / 445.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.08716, allocations: 4 kB / 445.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.08732, allocations: 111.7 kB / 446 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.08802, allocations: 0.5743 MB / 446.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.08823, allocations: 138.4 kB / 446.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.953e-05/0.08833, allocations: 76.83 kB / 446.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.08835, allocations: 0 / 446.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.08837, allocations: 38.56 kB / 446.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.08838, allocations: 0 / 446.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002972/0.08868, allocations: 169.5 kB / 447 MB, free: 3.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.08871, allocations: 55.41 kB / 447 MB, free: 3.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.08878, allocations: 142 kB / 447.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.0888, allocations: 25.7 kB / 447.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.08884, allocations: 132.4 kB / 447.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.08888, allocations: 47.59 kB / 447.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.08893, allocations: 33.7 kB / 447.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.08898, allocations: 326.8 kB / 447.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.08905, allocations: 35.98 kB / 447.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.08911, allocations: 42.17 kB / 447.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.08925, allocations: 106 kB / 447.9 MB, free: 3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.08925, allocations: 0 / 447.9 MB, free: 3 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001766/0.08944, allocations: 161.4 kB / 448 MB, free: 2.836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.08946, allocations: 6.812 kB / 448 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.08947, allocations: 7.875 kB / 448 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.08949, allocations: 0 / 448 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.08967, allocations: 31.98 kB / 448.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.08968, allocations: 0 / 448.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.08972, allocations: 7.938 kB / 448.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.08974, allocations: 4 kB / 448.1 MB, free: 2.781 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.08982, allocations: 129.8 kB / 448.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.08986, allocations: 15.89 kB / 448.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.08991, allocations: 20.5 kB / 448.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.08992, allocations: 0 / 448.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.08993, allocations: 0 / 448.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.08994, allocations: 7.938 kB / 448.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.09016, allocations: 265.5 kB / 448.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.09017, allocations: 3.984 kB / 448.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.09033, allocations: 31.98 kB / 448.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.09034, allocations: 0 / 448.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.09036, allocations: 8 kB / 448.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.09037, allocations: 0 / 448.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.09037, allocations: 0 / 448.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.09065, allocations: 298.9 kB / 448.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.09068, allocations: 85.06 kB / 448.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.0907, allocations: 12.03 kB / 448.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.09079, allocations: 8 kB / 449 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.09082, allocations: 12.03 kB / 449 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.09083, allocations: 4 kB / 449 MB, free: 1.809 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.56e-05/0.09087, allocations: 95.25 kB / 449.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09088, allocations: 0 / 449.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.09112, allocations: 39.84 kB / 449.1 MB, free: 1.676 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.population) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004036/0.09153, allocations: 0.8334 MB / 449.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.09173, allocations: 113.3 kB / 450 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.09174, allocations: 0 / 450 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.385e-05/0.09181, allocations: 59.92 kB / 450.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.09218, allocations: 23.92 kB / 450.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.09394, allocations: 1.768 MB / 451.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.09434, allocations: 0.7273 MB / 452.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.087e-05/0.09441, allocations: 8.875 kB / 452.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.0945, allocations: 47.42 kB / 452.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.09451, allocations: 0 / 452.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.1183, allocations: 2.668 MB / 455.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/7.989, allocations: 7.875 kB / 455.4 MB, free: 11.39 MB / 334.1 MB " [Timeout remaining time 652] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.706070913001895] Failed to read output from testmodel.py, exit status != 0: 8.056318444083445 8.081485276 7.99093989 Calling exit ...