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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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 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) Running command: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001487, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.5 MB / 229.6 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008929/0.0008929, allocations: 96.64 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1981/0.1981, allocations: 37.09 MB / 368.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.318e-05/1.321e-05, allocations: 0 / 434.6 MB, free: 23.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 60.09 MB / 494.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.5123, allocations: 90.02 MB / 0.571 GB, free: 9.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001727/0.5125, allocations: 63.59 kB / 0.5711 GB, free: 9.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006077/0.5186, allocations: 2.431 MB / 0.5735 GB, free: 7.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5187, allocations: 4 kB / 0.5735 GB, free: 7.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.5187, allocations: 3.984 kB / 0.5735 GB, free: 7.648 MB / 378.7 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.000449/0.5191, allocations: 400.6 kB / 0.5738 GB, free: 7.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5192, allocations: 11.98 kB / 0.5739 GB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.5192, allocations: 15.81 kB / 0.5739 GB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.5195, allocations: 208.6 kB / 0.5741 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.5195, allocations: 4 kB / 0.5741 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.5195, allocations: 8 kB / 0.5741 GB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001557/0.5197, allocations: 63.17 kB / 0.5741 GB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.5199, allocations: 100.2 kB / 0.5742 GB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5199, allocations: 0 / 0.5742 GB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.5199, allocations: 0 / 0.5742 GB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5199, allocations: 4 kB / 0.5742 GB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.5205, allocations: 425.5 kB / 0.5747 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.5207, allocations: 104.5 kB / 0.5748 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.5208, allocations: 42.92 kB / 0.5748 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.5208, allocations: 0 / 0.5748 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.5208, allocations: 38.31 kB / 0.5748 GB, free: 6.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.5209, allocations: 0 / 0.5748 GB, free: 6.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002116/0.5211, allocations: 91.88 kB / 0.5749 GB, free: 6.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.5211, allocations: 60.16 kB / 0.575 GB, free: 6.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.5213, allocations: 138.7 kB / 0.5751 GB, free: 5.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.5213, allocations: 25.7 kB / 0.5751 GB, free: 5.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.5214, allocations: 121.8 kB / 0.5752 GB, free: 5.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.5214, allocations: 43.17 kB / 0.5753 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.5214, allocations: 0 / 0.5753 GB, free: 5.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5215, allocations: 329.2 kB / 0.5756 GB, free: 5.488 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.954e-05/0.5216, allocations: 26.06 kB / 0.5756 GB, free: 5.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.293e-05/0.5217, allocations: 32.12 kB / 0.5757 GB, free: 5.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.379e-05/0.5217, allocations: 38.48 kB / 0.5757 GB, free: 5.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5217, allocations: 0 / 0.5757 GB, free: 5.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001633/0.5219, allocations: 121.6 kB / 0.5758 GB, free: 5.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5219, allocations: 8 kB / 0.5758 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5219, allocations: 0 / 0.5758 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.522, allocations: 0 / 0.5758 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.5221, allocations: 27.98 kB / 0.5758 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.5221, allocations: 0 / 0.5758 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.5222, allocations: 11.84 kB / 0.5759 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5222, allocations: 11.81 kB / 0.5759 GB, free: 5.273 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: prey.population:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = prey.population_start unit = "1" nominal = prey.NominalPopulation ) type: Real predator.population:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = predator.population_start unit = "1" nominal = predator.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.5224, allocations: 129.3 kB / 0.576 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.5224, allocations: 7.906 kB / 0.576 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.5225, allocations: 12.5 kB / 0.576 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5225, allocations: 0 / 0.576 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5225, allocations: 4 kB / 0.576 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.5225, allocations: 4 kB / 0.576 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.5227, allocations: 206.3 kB / 0.5762 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5227, allocations: 0 / 0.5762 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.5228, allocations: 27.12 kB / 0.5762 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5229, allocations: 0 / 0.5762 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5229, allocations: 0 / 0.5762 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5229, allocations: 0 / 0.5762 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.5229, allocations: 0 / 0.5762 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.5232, allocations: 238.4 kB / 0.5765 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.5232, allocations: 96.95 kB / 0.5766 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.5232, allocations: 3.953 kB / 0.5766 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.5233, allocations: 0 / 0.5766 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.5234, allocations: 7.984 kB / 0.5766 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.5234, allocations: 7.688 kB / 0.5766 GB, free: 4.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.103e-05/0.5234, allocations: 102.5 kB / 0.5767 GB, free: 4.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5235, allocations: 0 / 0.5767 GB, free: 4.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000234/0.5237, allocations: 35.91 kB / 0.5767 GB, free: 4.41 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001066/0.5238, allocations: 95.25 kB / 0.5768 GB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.524, allocations: 82.06 kB / 0.5769 GB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.524, allocations: 0 / 0.5769 GB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.524, allocations: 39.25 kB / 0.5769 GB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.5243, allocations: 29.14 kB / 0.5769 GB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.5248, allocations: 291.8 kB / 0.5772 GB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.5251, allocations: 0.7202 MB / 0.5779 GB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.723e-05/0.5251, allocations: 17.19 kB / 0.5779 GB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.5252, allocations: 11.44 kB / 0.578 GB, free: 3.133 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5252, allocations: 4 kB / 0.578 GB, free: 3.129 MB / 378.7 MB Notification: Performance of Templates: time 0.003376/0.5286, allocations: 1.192 MB / 0.5791 GB, free: 1.965 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile (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)