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.08981/0.08981, allocations: 15.52 MB / 32.54 MB, free: 3.523 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.001185/0.001185, allocations: 105.3 kB / 39.78 MB, free: 1.133 MB / 26.18 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.001432/0.001432, allocations: 200.9 kB / 47.14 MB, free: 2.5 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.437/1.437, allocations: 225.6 MB / 279.9 MB, free: 15.36 MB / 222.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.1397/0.1397, allocations: 23.71 MB / 362.9 MB, free: 0.7891 MB / 270.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: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003196/0.003196, allocations: 116.3 kB / 0.4919 GB, free: 24.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1234, allocations: 62.64 MB / 0.5531 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003712/0.1271, allocations: 2.32 MB / 0.5554 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003613/0.1274, allocations: 139.5 kB / 0.5555 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1275, allocations: 4 kB / 0.5555 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1277, allocations: 19.73 kB / 0.5555 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1278, allocations: 67.47 kB / 0.5556 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.1279, allocations: 35.97 kB / 0.5556 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1282, allocations: 171.1 kB / 0.5558 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1284, allocations: 49.95 kB / 0.5558 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.1284, allocations: 55.8 kB / 0.5559 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1286, allocations: 67.7 kB / 0.556 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.1286, allocations: 8 kB / 0.556 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.812e-05/0.1286, allocations: 12 kB / 0.556 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.1287, allocations: 39.8 kB / 0.556 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.1287, allocations: 71.67 kB / 0.5561 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.129, allocations: 163.2 kB / 0.5562 GB, free: 6.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.129, allocations: 0 / 0.5562 GB, free: 6.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.129, allocations: 3.938 kB / 0.5562 GB, free: 6.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.129, allocations: 0 / 0.5562 GB, free: 6.664 MB / 398.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.0006608/0.1297, allocations: 442.8 kB / 0.5567 GB, free: 6.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1297, allocations: 8.031 kB / 0.5567 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.1298, allocations: 20.84 kB / 0.5567 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.13, allocations: 220.1 kB / 0.5569 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.13, allocations: 8.375 kB / 0.5569 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1301, allocations: 12.38 kB / 0.5569 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.1303, allocations: 114.2 kB / 0.557 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1303, allocations: 4.188 kB / 0.557 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1303, allocations: 11.88 kB / 0.557 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.1304, allocations: 4 kB / 0.5571 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.1305, allocations: 75.95 kB / 0.5571 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.1312, allocations: 448.4 kB / 0.5576 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.1315, allocations: 110.6 kB / 0.5577 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.1315, allocations: 44.81 kB / 0.5577 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.1315, allocations: 4 kB / 0.5577 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1316, allocations: 46.5 kB / 0.5577 GB, free: 4.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1316, allocations: 0 / 0.5577 GB, free: 4.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003675/0.132, allocations: 129.6 kB / 0.5579 GB, free: 4.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.132, allocations: 51.41 kB / 0.5579 GB, free: 4.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1322, allocations: 152.7 kB / 0.5581 GB, free: 4.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1322, allocations: 29.7 kB / 0.5581 GB, free: 4.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.1323, allocations: 131.8 kB / 0.5582 GB, free: 4.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.1323, allocations: 43.62 kB / 0.5583 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.1324, allocations: 37.72 kB / 0.5583 GB, free: 4.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1325, allocations: 318.8 kB / 0.5586 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.1326, allocations: 35.92 kB / 0.5586 GB, free: 3.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.1327, allocations: 31.98 kB / 0.5587 GB, free: 3.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.1331, allocations: 162.6 kB / 0.5588 GB, free: 3.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1331, allocations: 0 / 0.5588 GB, free: 3.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002217/0.1333, allocations: 137.5 kB / 0.559 GB, free: 3.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1333, allocations: 15.69 kB / 0.559 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1333, allocations: 4 kB / 0.559 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1333, allocations: 0 / 0.559 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1335, allocations: 35.92 kB / 0.559 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1335, allocations: 0 / 0.559 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.1336, allocations: 11.89 kB / 0.559 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1336, allocations: 4 kB / 0.559 GB, free: 3.602 MB / 398.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.0001812/0.1337, allocations: 135.9 kB / 0.5591 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.1338, allocations: 23.83 kB / 0.5592 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.1338, allocations: 16.66 kB / 0.5592 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1338, allocations: 0 / 0.5592 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1338, allocations: 0 / 0.5592 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1338, allocations: 0 / 0.5592 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.1341, allocations: 233.6 kB / 0.5594 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1341, allocations: 3.938 kB / 0.5594 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.1342, allocations: 19.98 kB / 0.5594 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.1342, allocations: 3.938 kB / 0.5594 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1343, allocations: 0 / 0.5594 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1343, allocations: 4 kB / 0.5594 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1343, allocations: 0 / 0.5594 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.1346, allocations: 251.4 kB / 0.5597 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.1346, allocations: 92.97 kB / 0.5598 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.1347, allocations: 4 kB / 0.5598 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.1347, allocations: 4 kB / 0.5598 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.1348, allocations: 7.984 kB / 0.5598 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1348, allocations: 4 kB / 0.5598 GB, free: 2.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.432e-05/0.1349, allocations: 130.6 kB / 0.5599 GB, free: 2.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1349, allocations: 0 / 0.5599 GB, free: 2.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1351, allocations: 39.95 kB / 0.56 GB, free: 2.559 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 9.427e-05/0.1352, allocations: 87.25 kB / 0.56 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1354, allocations: 79.91 kB / 0.5601 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1354, allocations: 0 / 0.5601 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.76e-05/0.1355, allocations: 43.92 kB / 0.5602 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1358, allocations: 20 kB / 0.5602 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.1365, allocations: 403.5 kB / 0.5606 GB, free: 1.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1369, allocations: 0.7124 MB / 0.5613 GB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.137, allocations: 15.44 kB / 0.5613 GB, free: 1.141 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.137, allocations: 3.938 kB / 0.5613 GB, free: 1.137 MB / 398.1 MB Notification: Performance of Templates: time 0.00412/0.1411, allocations: 1.649 MB / 0.5629 GB, free: 15.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile [Timeout 660] (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 & ./Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3190595129999565] Failed to read output from testmodel.py, exit status != 0: 0.14836567798920441 0.162387433 0.030500349000000003 Calling exit ...