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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.477/1.477, allocations: 207.6 MB / 233 MB, free: 9.973 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.05276/0.05276, allocations: 8.203 MB / 293.5 MB, free: 13.64 MB / 238.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.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.002269/0.002269, allocations: 76.58 kB / 410.4 MB, free: 46.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07436/0.07663, allocations: 50.95 MB / 461.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002047/0.07868, allocations: 0.6995 MB / 462.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004892/0.07917, allocations: 187.2 kB / 462.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.07925, allocations: 4 kB / 462.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.558e-05/0.07931, allocations: 15.75 kB / 462.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.07942, allocations: 19.81 kB / 462.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.07965, allocations: 51.92 kB / 462.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.0799, allocations: 139.7 kB / 462.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.0801, allocations: 65.69 kB / 462.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.08018, allocations: 59.78 kB / 462.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.08029, allocations: 83.61 kB / 462.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.08033, allocations: 20 kB / 462.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.889e-05/0.08036, allocations: 16 kB / 462.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.013e-05/0.0804, allocations: 35.86 kB / 462.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.369e-05/0.08049, allocations: 87.47 kB / 462.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.08075, allocations: 191.5 kB / 463 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.08075, allocations: 0 / 463 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08076, allocations: 0 / 463 MB, free: 11.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.08076, allocations: 0 / 463 MB, free: 11.83 MB / 334.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.000676/0.08144, allocations: 394 kB / 463.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.08148, allocations: 19.92 kB / 463.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.086e-05/0.08154, allocations: 54.72 kB / 463.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.08159, allocations: 24.8 kB / 463.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.08181, allocations: 150.3 kB / 463.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.08183, allocations: 12.75 kB / 463.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.08187, allocations: 20.38 kB / 463.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.08218, allocations: 173.1 kB / 463.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.0822, allocations: 11.89 kB / 463.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.08222, allocations: 4 kB / 463.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.08223, allocations: 8 kB / 463.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.08244, allocations: 111.7 kB / 464 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.08344, allocations: 0.5382 MB / 464.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.08374, allocations: 122.5 kB / 464.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.08387, allocations: 68.84 kB / 464.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.08388, allocations: 0 / 464.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.08391, allocations: 34.55 kB / 464.8 MB, free: 9.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.08391, allocations: 4 kB / 464.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003918/0.0843, allocations: 179.3 kB / 464.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.08435, allocations: 59.34 kB / 465 MB, free: 9.715 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.08446, allocations: 132.6 kB / 465.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.08449, allocations: 33.7 kB / 465.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.08457, allocations: 128.5 kB / 465.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.08463, allocations: 51.53 kB / 465.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.08469, allocations: 33.72 kB / 465.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.08483, allocations: 318.8 kB / 465.7 MB, free: 9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.08491, allocations: 43.98 kB / 465.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.08499, allocations: 39.98 kB / 465.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.08516, allocations: 111 kB / 465.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.08516, allocations: 0 / 465.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002383/0.0854, allocations: 151.2 kB / 466 MB, free: 8.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.08541, allocations: 8 kB / 466 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.08542, allocations: 3.984 kB / 466 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.08543, allocations: 0 / 466 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.08563, allocations: 27.98 kB / 466.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.08564, allocations: 4 kB / 466.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.08568, allocations: 7.938 kB / 466.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.08569, allocations: 8 kB / 466.1 MB, free: 8.598 MB / 334.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 0.0001221/0.08581, allocations: 129.8 kB / 466.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.08586, allocations: 11.91 kB / 466.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.08592, allocations: 24.36 kB / 466.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.08592, allocations: 0 / 466.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.08592, allocations: 0 / 466.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.08593, allocations: 3.938 kB / 466.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.08625, allocations: 240.6 kB / 466.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.08625, allocations: 0 / 466.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.08645, allocations: 35.97 kB / 466.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.08645, allocations: 0 / 466.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.08646, allocations: 4 kB / 466.5 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.08647, allocations: 4 kB / 466.5 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.08647, allocations: 4 kB / 466.5 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.08687, allocations: 299.2 kB / 466.8 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.08689, allocations: 7.953 kB / 466.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.08691, allocations: 0 / 466.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.08701, allocations: 12 kB / 466.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.08705, allocations: 7.969 kB / 466.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.08706, allocations: 7.984 kB / 466.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.377e-05/0.08713, allocations: 99.27 kB / 466.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08713, allocations: 0 / 466.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.08739, allocations: 39.84 kB / 467 MB, free: 7.613 MB / 334.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.0007127/0.0881, allocations: 0.8215 MB / 467.8 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.08834, allocations: 107.9 kB / 467.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.08835, allocations: 0 / 467.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.08844, allocations: 59.92 kB / 468 MB, free: 6.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.08885, allocations: 24.8 kB / 468 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.09097, allocations: 1.76 MB / 469.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.09136, allocations: 0.7312 MB / 470.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.771e-05/0.09143, allocations: 12.97 kB / 470.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.09152, allocations: 43.42 kB / 470.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of SimCode: time 8.21e-07/0.09152, allocations: 0 / 470.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.1229, allocations: 2.847 MB / 473.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.46, allocations: 11.94 kB / 473.4 MB, free: 1.117 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.153654073001235] Failed to read output from testmodel.py, exit status != 0: 11.563030915996933 11.578796933 11.494898403 Calling exit ...