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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.00168, allocations: 174.5 kB / 7.648 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.461/1.461, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008911/0.000891, allocations: 102.2 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2224/0.2224, allocations: 37.09 MB / 368.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.982e-05, allocations: 3.938 kB / 434.7 MB, free: 23.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1287, allocations: 60.08 MB / 494.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.5328, allocations: 90.03 MB / 0.5711 GB, free: 9.383 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.533, allocations: 67.41 kB / 0.5712 GB, free: 9.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006349/0.5394, allocations: 2.43 MB / 0.5736 GB, free: 7.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5394, allocations: 0 / 0.5736 GB, free: 7.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.5394, allocations: 3.984 kB / 0.5736 GB, free: 7.293 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.0004288/0.5399, allocations: 392.7 kB / 0.5739 GB, free: 6.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5399, allocations: 19.98 kB / 0.574 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.54, allocations: 15.81 kB / 0.574 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.5402, allocations: 208.6 kB / 0.5742 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.5402, allocations: 4 kB / 0.5742 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.5403, allocations: 11.88 kB / 0.5742 GB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001439/0.5404, allocations: 56.31 kB / 0.5742 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.5407, allocations: 103.3 kB / 0.5743 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.5407, allocations: 0 / 0.5743 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.5407, allocations: 0 / 0.5743 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.5407, allocations: 4 kB / 0.5743 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.5414, allocations: 420.9 kB / 0.5747 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.5415, allocations: 106.7 kB / 0.5748 GB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.586e-05/0.5416, allocations: 45.42 kB / 0.5749 GB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.5416, allocations: 0 / 0.5749 GB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.5417, allocations: 37.62 kB / 0.5749 GB, free: 5.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.5417, allocations: 0 / 0.5749 GB, free: 5.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002276/0.5419, allocations: 96.97 kB / 0.575 GB, free: 5.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.542, allocations: 52.16 kB / 0.5751 GB, free: 5.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.5421, allocations: 132.5 kB / 0.5752 GB, free: 5.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.5421, allocations: 29.64 kB / 0.5752 GB, free: 5.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.5422, allocations: 126.6 kB / 0.5753 GB, free: 5.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.5423, allocations: 43.23 kB / 0.5754 GB, free: 5.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.5423, allocations: 4 kB / 0.5754 GB, free: 5.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5424, allocations: 322.7 kB / 0.5757 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.5425, allocations: 27.38 kB / 0.5757 GB, free: 5.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/0.5425, allocations: 30.81 kB / 0.5758 GB, free: 5.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.5426, allocations: 35.58 kB / 0.5758 GB, free: 5.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5426, allocations: 0 / 0.5758 GB, free: 5.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000175/0.5428, allocations: 114.7 kB / 0.5759 GB, free: 4.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5428, allocations: 13.7 kB / 0.5759 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5428, allocations: 0 / 0.5759 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.5429, allocations: 0 / 0.5759 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.543, allocations: 31.31 kB / 0.5759 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.5431, allocations: 3.984 kB / 0.5759 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.5431, allocations: 11.84 kB / 0.576 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5432, allocations: 4 kB / 0.576 GB, free: 4.918 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.0002007/0.5434, allocations: 121.4 kB / 0.5761 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001543/0.5435, allocations: 106.5 kB / 0.5762 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.5436, allocations: 11.81 kB / 0.5762 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.5436, allocations: 15.25 kB / 0.5762 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5436, allocations: 0 / 0.5762 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5436, allocations: 0 / 0.5762 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.5436, allocations: 3.984 kB / 0.5762 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.5439, allocations: 211.3 kB / 0.5764 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5439, allocations: 0 / 0.5764 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.544, allocations: 19.98 kB / 0.5764 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.544, allocations: 4 kB / 0.5764 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.5441, allocations: 4 kB / 0.5764 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5441, allocations: 0 / 0.5764 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5441, allocations: 3.984 kB / 0.5764 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.5444, allocations: 240 kB / 0.5767 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.5444, allocations: 88.98 kB / 0.5768 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.5445, allocations: 0 / 0.5768 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.5446, allocations: 11.97 kB / 0.5768 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.5446, allocations: 11.73 kB / 0.5768 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.5446, allocations: 0 / 0.5768 GB, free: 4.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.562e-05/0.5447, allocations: 113 kB / 0.5769 GB, free: 3.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5447, allocations: 0 / 0.5769 GB, free: 3.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.545, allocations: 36 kB / 0.5769 GB, free: 3.957 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.0005135/0.5455, allocations: 0.7621 MB / 0.5777 GB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.5457, allocations: 73.62 kB / 0.5777 GB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5457, allocations: 0 / 0.5777 GB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.919e-05/0.5457, allocations: 38.5 kB / 0.5778 GB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.546, allocations: 27.64 kB / 0.5778 GB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007624/0.5467, allocations: 329.4 kB / 0.5781 GB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.547, allocations: 0.728 MB / 0.5788 GB, free: 2.008 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.352e-05/0.5471, allocations: 13.14 kB / 0.5788 GB, free: 1.992 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.5472, allocations: 37 kB / 0.5789 GB, free: 1.977 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5472, allocations: 0 / 0.5789 GB, free: 1.977 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.5716, allocations: 2.421 MB / 0.5812 GB, free: 15.59 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/0.572, allocations: 132.8 kB / 0.5814 GB, free: 15.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.137, allocations: 0 / 0.5814 GB, free: 15.4 MB / 394.7 MB (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/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)