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.1055/0.1055, allocations: 15.56 MB / 35.16 MB, free: 4.504 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.001338/0.001338, allocations: 110.9 kB / 42.74 MB, free: 6.188 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.001645/0.001645, allocations: 224.9 kB / 50.43 MB, free: 10.03 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.413/1.413, allocations: 230.6 MB / 288.6 MB, free: 6.297 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.1357/0.1357, allocations: 23.73 MB / 373.2 MB, free: 2.906 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.003493/0.003493, allocations: 123.8 kB / 0.5059 GB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2559, allocations: 63.85 MB / 0.5682 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003431/0.2593, allocations: 2.279 MB / 0.5705 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003109/0.2596, allocations: 135.5 kB / 0.5706 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.2597, allocations: 7.938 kB / 0.5706 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.2598, allocations: 27.72 kB / 0.5706 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2599, allocations: 55.55 kB / 0.5707 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.2601, allocations: 31.97 kB / 0.5707 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.2603, allocations: 175.1 kB / 0.5709 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2604, allocations: 46.14 kB / 0.5709 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.2605, allocations: 59.8 kB / 0.571 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.2606, allocations: 63.64 kB / 0.571 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.2607, allocations: 12 kB / 0.571 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.845e-05/0.2607, allocations: 12 kB / 0.5711 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.2607, allocations: 27.86 kB / 0.5711 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.2608, allocations: 67.72 kB / 0.5711 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.261, allocations: 159.1 kB / 0.5713 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.261, allocations: 0 / 0.5713 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.261, allocations: 0 / 0.5713 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.261, allocations: 0 / 0.5713 GB, free: 11.25 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.0005173/0.2615, allocations: 373.6 kB / 0.5717 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2616, allocations: 12.03 kB / 0.5717 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.2616, allocations: 12.84 kB / 0.5717 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.2618, allocations: 154.3 kB / 0.5718 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2619, allocations: 12.38 kB / 0.5718 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.2619, allocations: 16.36 kB / 0.5718 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.2621, allocations: 110.2 kB / 0.572 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2621, allocations: 4.141 kB / 0.572 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.2621, allocations: 7.938 kB / 0.572 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2621, allocations: 8 kB / 0.572 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.2623, allocations: 71.97 kB / 0.572 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.2629, allocations: 360.1 kB / 0.5724 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.2631, allocations: 110.5 kB / 0.5725 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.2632, allocations: 44.94 kB / 0.5725 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.2632, allocations: 3.938 kB / 0.5725 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2632, allocations: 34.56 kB / 0.5726 GB, free: 9.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 4.117e-06/0.2632, allocations: 3.984 kB / 0.5726 GB, free: 9.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002781/0.2635, allocations: 133.5 kB / 0.5727 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.2635, allocations: 55.41 kB / 0.5728 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.2637, allocations: 158.1 kB / 0.5729 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2637, allocations: 25.7 kB / 0.5729 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.2638, allocations: 131.6 kB / 0.5731 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.2638, allocations: 59.52 kB / 0.5731 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.2639, allocations: 25.72 kB / 0.5731 GB, free: 9.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.264, allocations: 322.8 kB / 0.5734 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/0.2641, allocations: 35.98 kB / 0.5735 GB, free: 8.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.2641, allocations: 31.98 kB / 0.5735 GB, free: 8.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/0.2645, allocations: 150.8 kB / 0.5737 GB, free: 8.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2645, allocations: 4 kB / 0.5737 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002049/0.2647, allocations: 136.5 kB / 0.5738 GB, free: 8.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2647, allocations: 8 kB / 0.5738 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2647, allocations: 7.922 kB / 0.5738 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2647, allocations: 0 / 0.5738 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.2649, allocations: 24 kB / 0.5738 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2649, allocations: 0 / 0.5738 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.2649, allocations: 15.88 kB / 0.5738 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.265, allocations: 4 kB / 0.5738 GB, free: 8.461 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.0001468/0.2651, allocations: 134.2 kB / 0.574 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.2651, allocations: 11.91 kB / 0.574 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.2652, allocations: 24.64 kB / 0.574 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2652, allocations: 0 / 0.574 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2652, allocations: 0 / 0.574 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2652, allocations: 0 / 0.574 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.2654, allocations: 161.2 kB / 0.5742 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2654, allocations: 4 kB / 0.5742 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.2655, allocations: 19.98 kB / 0.5742 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2655, allocations: 8 kB / 0.5742 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2655, allocations: 0 / 0.5742 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2655, allocations: 3.938 kB / 0.5742 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2655, allocations: 0 / 0.5742 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.2658, allocations: 243.4 kB / 0.5744 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.2659, allocations: 15.92 kB / 0.5744 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.2659, allocations: 4 kB / 0.5744 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.266, allocations: 7.938 kB / 0.5745 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.266, allocations: 11.92 kB / 0.5745 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.266, allocations: 8 kB / 0.5745 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.102e-05/0.2661, allocations: 110.1 kB / 0.5746 GB, free: 7.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2661, allocations: 4.062 kB / 0.5746 GB, free: 7.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.2663, allocations: 39.94 kB / 0.5746 GB, free: 7.609 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.757e-05/0.2664, allocations: 99.17 kB / 0.5747 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.2666, allocations: 75.92 kB / 0.5748 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2666, allocations: 0 / 0.5748 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.2666, allocations: 39.92 kB / 0.5748 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.2669, allocations: 20.75 kB / 0.5748 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006531/0.2676, allocations: 415.5 kB / 0.5752 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/0.2677, allocations: 102 kB / 0.5753 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.2677, allocations: 15.44 kB / 0.5754 GB, free: 6.797 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2677, allocations: 0 / 0.5754 GB, free: 6.797 MB / 398.1 MB Notification: Performance of Templates: time 0.003256/0.271, allocations: 1.703 MB / 0.577 GB, free: 5.102 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: 6.614840964786708] Failed to read output from testmodel.py, exit status != 0: 0.27874696301296353 0.292203842 0.028349692000000003 Calling exit ...