Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1008/0.1008, allocations: 15.52 MB / 34.26 MB, free: 4.617 MB / 26.18 MB " [Timeout remaining time 180] 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.001324/0.001324, allocations: 116.4 kB / 41.83 MB, free: 6.301 MB / 34.91 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.001582/0.001582, allocations: 191.1 kB / 49.48 MB, free: 10.1 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.5 MB / 282.6 MB, free: 8.848 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1426/0.1426, allocations: 23.68 MB / 365.9 MB, free: 9.137 MB / 286.1 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004441/0.004441, allocations: 120.3 kB / 0.496 GB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3432, allocations: 62.68 MB / 0.5572 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003901/0.3471, allocations: 2.327 MB / 0.5594 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003741/0.3474, allocations: 151.4 kB / 0.5596 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.3475, allocations: 4 kB / 0.5596 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.3477, allocations: 23.73 kB / 0.5596 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.3478, allocations: 59.47 kB / 0.5597 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.348, allocations: 35.97 kB / 0.5597 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.3482, allocations: 179.1 kB / 0.5599 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.3484, allocations: 50.14 kB / 0.5599 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.3485, allocations: 55.8 kB / 0.56 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3486, allocations: 67.64 kB / 0.56 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.3486, allocations: 12 kB / 0.5601 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.574e-05/0.3487, allocations: 12 kB / 0.5601 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.3487, allocations: 27.86 kB / 0.5601 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.113e-05/0.3488, allocations: 75.67 kB / 0.5602 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.349, allocations: 158.2 kB / 0.5603 GB, free: 3.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.349, allocations: 0 / 0.5603 GB, free: 3.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.349, allocations: 4 kB / 0.5603 GB, free: 3.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.349, allocations: 0 / 0.5603 GB, free: 3.031 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005561/0.3496, allocations: 373.6 kB / 0.5607 GB, free: 2.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3496, allocations: 8.031 kB / 0.5607 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.3497, allocations: 46.67 kB / 0.5607 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.3497, allocations: 20.84 kB / 0.5607 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.35, allocations: 154.3 kB / 0.5609 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.35, allocations: 16.38 kB / 0.5609 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.35, allocations: 12.38 kB / 0.5609 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.3502, allocations: 122.1 kB / 0.561 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3503, allocations: 3.938 kB / 0.561 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3503, allocations: 7.938 kB / 0.561 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3503, allocations: 4 kB / 0.5611 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.3504, allocations: 67.97 kB / 0.5611 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.3511, allocations: 419.5 kB / 0.5615 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3513, allocations: 114.6 kB / 0.5616 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.3514, allocations: 40.84 kB / 0.5617 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.3514, allocations: 0 / 0.5617 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3514, allocations: 38.5 kB / 0.5617 GB, free: 1.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.3514, allocations: 0 / 0.5617 GB, free: 1.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003069/0.3517, allocations: 133.9 kB / 0.5618 GB, free: 1.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3518, allocations: 51.41 kB / 0.5619 GB, free: 1.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3519, allocations: 156.6 kB / 0.562 GB, free: 1.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3519, allocations: 29.7 kB / 0.5621 GB, free: 1.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.352, allocations: 127.8 kB / 0.5622 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.3521, allocations: 43.62 kB / 0.5622 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.3521, allocations: 37.7 kB / 0.5623 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3523, allocations: 318.8 kB / 0.5626 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.3523, allocations: 35.98 kB / 0.5626 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.3524, allocations: 28 kB / 0.5626 GB, free: 496 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.3528, allocations: 159.6 kB / 0.5628 GB, free: 336 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.3528, allocations: 0 / 0.5628 GB, free: 336 kB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002016/0.353, allocations: 141.4 kB / 0.5629 GB, free: 188 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.353, allocations: 4 kB / 0.5629 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.353, allocations: 0 / 0.5629 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.353, allocations: 0 / 0.5629 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.3531, allocations: 31.98 kB / 0.5629 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3532, allocations: 4 kB / 0.5629 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.3532, allocations: 11.89 kB / 0.563 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.3532, allocations: 4 kB / 0.563 GB, free: 132 kB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = 0.0 start = predator.population_start unit = \"1\" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = 0.0 start = prey.population_start unit = \"1\" fixed = true nominal = prey.NominalPopulation ) type: Real 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.0001888/0.3534, allocations: 134.2 kB / 0.5631 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.3535, allocations: 19.83 kB / 0.5631 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.3535, allocations: 16.72 kB / 0.5631 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3535, allocations: 4 kB / 0.5631 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3535, allocations: 3.938 kB / 0.5631 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3535, allocations: 0 / 0.5631 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.3538, allocations: 208.6 kB / 0.5633 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3538, allocations: 3.938 kB / 0.5633 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3539, allocations: 23.92 kB / 0.5634 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3539, allocations: 0 / 0.5634 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3539, allocations: 4 kB / 0.5634 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3539, allocations: 4 kB / 0.5634 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3539, allocations: 3.938 kB / 0.5634 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.3542, allocations: 247.4 kB / 0.5636 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.3542, allocations: 15.91 kB / 0.5636 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.3543, allocations: 4 kB / 0.5636 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.3543, allocations: 4 kB / 0.5636 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.3544, allocations: 3.984 kB / 0.5636 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3544, allocations: 4 kB / 0.5636 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.379e-05/0.3545, allocations: 119.1 kB / 0.5637 GB, free: 15.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3545, allocations: 0 / 0.5637 GB, free: 15.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000255/0.3547, allocations: 47.95 kB / 0.5638 GB, free: 15.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.population,prey.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 (12): * Single equations (assignments): 12 * 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.0005665/0.3553, allocations: 0.7714 MB / 0.5645 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.3555, allocations: 83.84 kB / 0.5646 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3555, allocations: 0 / 0.5646 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.3555, allocations: 35.98 kB / 0.5647 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.3558, allocations: 22.72 kB / 0.5647 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.3577, allocations: 1.766 MB / 0.5664 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.3581, allocations: 0.7124 MB / 0.5671 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.3581, allocations: 12.64 kB / 0.5671 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.3582, allocations: 39.42 kB / 0.5672 GB, free: 11.64 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3582, allocations: 0 / 0.5672 GB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.3888, allocations: 3.138 MB / 0.5702 GB, free: 8.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.24, allocations: 11.12 kB / 0.5702 GB, free: 8.613 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.90382857597433] Failed to read output from testmodel.py, exit status != 0: 11.339309936156496 11.355063219 11.002904998 Calling exit ...