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.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.1073/0.1073, allocations: 15.56 MB / 34.41 MB, free: 4.496 MB / 26.18 MB " [Timeout remaining time 180] 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.001314/0.001314, allocations: 109.8 kB / 41.99 MB, free: 6.172 MB / 34.91 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.001565/0.001565, allocations: 212.8 kB / 49.67 MB, free: 10.02 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 287.8 MB, free: 6.332 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.1366/0.1366, allocations: 23.73 MB / 372.4 MB, free: 2.949 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.003654/0.003654, allocations: 119.8 kB / 0.5051 GB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2809, allocations: 63.85 MB / 0.5675 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003608/0.2845, allocations: 2.271 MB / 0.5697 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003312/0.2849, allocations: 143.5 kB / 0.5698 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.285, allocations: 11.94 kB / 0.5699 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.2851, allocations: 23.73 kB / 0.5699 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.2852, allocations: 51.55 kB / 0.5699 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.2853, allocations: 39.95 kB / 0.57 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.2856, allocations: 171.1 kB / 0.5701 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.2857, allocations: 42.16 kB / 0.5702 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.2858, allocations: 67.73 kB / 0.5702 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2859, allocations: 67.58 kB / 0.5703 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.2859, allocations: 15.98 kB / 0.5703 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.147e-05/0.286, allocations: 12 kB / 0.5703 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.286, allocations: 23.92 kB / 0.5703 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.2861, allocations: 55.73 kB / 0.5704 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.2863, allocations: 171.1 kB / 0.5706 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2863, allocations: 0 / 0.5706 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2863, allocations: 0 / 0.5706 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.2863, allocations: 0 / 0.5706 GB, free: 11.3 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.0005495/0.2869, allocations: 365.6 kB / 0.5709 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2869, allocations: 12.03 kB / 0.5709 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.2869, allocations: 16.84 kB / 0.5709 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.2872, allocations: 154.3 kB / 0.5711 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2872, allocations: 8.375 kB / 0.5711 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.2873, allocations: 20.33 kB / 0.5711 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.2875, allocations: 118.2 kB / 0.5712 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.2875, allocations: 192 / 0.5712 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.2875, allocations: 11.92 kB / 0.5712 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2875, allocations: 4 kB / 0.5712 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.2877, allocations: 71.97 kB / 0.5713 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.2883, allocations: 368 kB / 0.5717 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.2885, allocations: 106.6 kB / 0.5718 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.618e-05/0.2886, allocations: 44.84 kB / 0.5718 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.2886, allocations: 4 kB / 0.5718 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.2886, allocations: 30.56 kB / 0.5718 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.2887, allocations: 0 / 0.5718 GB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002989/0.2889, allocations: 141.4 kB / 0.572 GB, free: 9.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.289, allocations: 51.41 kB / 0.572 GB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.2891, allocations: 162.1 kB / 0.5722 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.2892, allocations: 25.7 kB / 0.5722 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.2892, allocations: 123.7 kB / 0.5723 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.2893, allocations: 51.53 kB / 0.5724 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.2893, allocations: 33.7 kB / 0.5724 GB, free: 9.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2895, allocations: 322.8 kB / 0.5727 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.2896, allocations: 31.98 kB / 0.5727 GB, free: 8.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.843e-05/0.2896, allocations: 28 kB / 0.5728 GB, free: 8.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.29, allocations: 151.5 kB / 0.5729 GB, free: 8.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.29, allocations: 0 / 0.5729 GB, free: 8.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002196/0.2903, allocations: 145.4 kB / 0.573 GB, free: 8.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2903, allocations: 4 kB / 0.5731 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2903, allocations: 3.938 kB / 0.5731 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2903, allocations: 4 kB / 0.5731 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.2904, allocations: 23.98 kB / 0.5731 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2904, allocations: 4 kB / 0.5731 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.2905, allocations: 7.891 kB / 0.5731 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.2905, allocations: 8 kB / 0.5731 GB, free: 8.52 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.0001595/0.2907, allocations: 138.2 kB / 0.5732 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.2907, allocations: 11.95 kB / 0.5732 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.2908, allocations: 20.64 kB / 0.5733 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2908, allocations: 4 kB / 0.5733 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2908, allocations: 0 / 0.5733 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2908, allocations: 0 / 0.5733 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.291, allocations: 165.2 kB / 0.5734 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.291, allocations: 0 / 0.5734 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.2911, allocations: 16 kB / 0.5734 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2911, allocations: 0 / 0.5734 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2911, allocations: 15.94 kB / 0.5735 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.2911, allocations: 11.86 kB / 0.5735 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2911, allocations: 4 kB / 0.5735 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.2915, allocations: 243.8 kB / 0.5737 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.2915, allocations: 11.94 kB / 0.5737 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2915, allocations: 4 kB / 0.5737 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.2916, allocations: 3.938 kB / 0.5737 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.2916, allocations: 7.984 kB / 0.5737 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.2916, allocations: 4 kB / 0.5737 GB, free: 7.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.609e-05/0.2917, allocations: 113.9 kB / 0.5738 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2917, allocations: 64 / 0.5738 GB, free: 7.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.292, allocations: 47.89 kB / 0.5739 GB, free: 7.656 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 8.387e-05/0.2921, allocations: 103.1 kB / 0.574 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.2923, allocations: 78.94 kB / 0.5741 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2923, allocations: 0 / 0.5741 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.2923, allocations: 39.92 kB / 0.5741 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.2926, allocations: 23.92 kB / 0.5741 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.2933, allocations: 373.8 kB / 0.5745 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.2934, allocations: 102.1 kB / 0.5746 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.2934, allocations: 8.656 kB / 0.5746 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.2935, allocations: 15.44 kB / 0.5746 GB, free: 6.875 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2935, allocations: 4 kB / 0.5746 GB, free: 6.871 MB / 398.1 MB Notification: Performance of Templates: time 0.004276/0.2978, allocations: 1.396 MB / 0.576 GB, free: 5.5 MB / 398.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: 4.899109018966556] Failed to read output from testmodel.py, exit status != 0: 0.3061570953577757 0.32078341499999996 0.031232941000000004 Calling exit ...