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.007924/0.007924, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001031, allocations: 102.6 kB / 290.2 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2957/0.2957, allocations: 37.08 MB / 378.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 11.98 kB / 449.1 MB, free: 79.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1096, allocations: 60.08 MB / 0.4972 GB, free: 19.81 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3605/0.4702, allocations: 90.75 MB / 0.5858 GB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4705, allocations: 75.25 kB / 0.5859 GB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005514/0.476, allocations: 2.442 MB / 0.5883 GB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.476, allocations: 4.125 kB / 0.5883 GB, free: 8.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.476, allocations: 4 kB / 0.5883 GB, free: 8.758 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.0004148/0.4765, allocations: 416.2 kB / 0.5887 GB, free: 8.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4765, allocations: 16.02 kB / 0.5887 GB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.4766, allocations: 48.73 kB / 0.5887 GB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.4766, allocations: 15.81 kB / 0.5888 GB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.4768, allocations: 209.5 kB / 0.589 GB, free: 8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.4768, allocations: 18.94 kB / 0.589 GB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.4769, allocations: 11.31 kB / 0.589 GB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.4771, allocations: 114.4 kB / 0.5891 GB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4771, allocations: 0 / 0.5891 GB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.4771, allocations: 7.438 kB / 0.5891 GB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4771, allocations: 0 / 0.5891 GB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.4773, allocations: 87.84 kB / 0.5892 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.4778, allocations: 442.5 kB / 0.5896 GB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.478, allocations: 114.3 kB / 0.5897 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.478, allocations: 0 / 0.5897 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.478, allocations: 39.64 kB / 0.5898 GB, free: 7.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.478, allocations: 3.984 kB / 0.5898 GB, free: 7.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002205/0.4783, allocations: 133.3 kB / 0.5899 GB, free: 7.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.4783, allocations: 51.41 kB / 0.5899 GB, free: 7.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.4784, allocations: 137.3 kB / 0.5901 GB, free: 6.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.4784, allocations: 28.83 kB / 0.5901 GB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.4784, allocations: 130.8 kB / 0.5902 GB, free: 6.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.4785, allocations: 42.34 kB / 0.5903 GB, free: 6.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.4785, allocations: 7.5 kB / 0.5903 GB, free: 6.789 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.4785, allocations: 322.2 kB / 0.5906 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.4786, allocations: 30.23 kB / 0.5906 GB, free: 6.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.4786, allocations: 30.05 kB / 0.5906 GB, free: 6.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.262e-05/0.4787, allocations: 42.16 kB / 0.5907 GB, free: 6.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4787, allocations: 0 / 0.5907 GB, free: 6.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001555/0.4789, allocations: 130.6 kB / 0.5908 GB, free: 6.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.4789, allocations: 11.98 kB / 0.5908 GB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4789, allocations: 0 / 0.5908 GB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4789, allocations: 0 / 0.5908 GB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.479, allocations: 31.69 kB / 0.5908 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4791, allocations: 3.984 kB / 0.5908 GB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.4791, allocations: 11.84 kB / 0.5909 GB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.4792, allocations: 11.36 kB / 0.5909 GB, free: 6.242 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" fixed = true 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" fixed = true 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.4794, allocations: 156.6 kB / 0.591 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.4794, allocations: 7.906 kB / 0.591 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.4794, allocations: 16.41 kB / 0.591 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4794, allocations: 0 / 0.591 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4795, allocations: 0 / 0.591 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4795, allocations: 0 / 0.591 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.4796, allocations: 248.7 kB / 0.5913 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4797, allocations: 3.984 kB / 0.5913 GB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.4798, allocations: 20 kB / 0.5913 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4798, allocations: 0 / 0.5913 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.4798, allocations: 0 / 0.5913 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4798, allocations: 4 kB / 0.5913 GB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4798, allocations: 0 / 0.5913 GB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.48, allocations: 253.2 kB / 0.5915 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.4801, allocations: 88.95 kB / 0.5916 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.4801, allocations: 2.875 kB / 0.5916 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.4802, allocations: 4.062 kB / 0.5916 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.4802, allocations: 10.17 kB / 0.5916 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.4802, allocations: 7.938 kB / 0.5917 GB, free: 5.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.878e-05/0.4803, allocations: 112.1 kB / 0.5918 GB, free: 5.336 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4803, allocations: 4 kB / 0.5918 GB, free: 5.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.4805, allocations: 42.12 kB / 0.5918 GB, free: 5.297 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 () * 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 (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.0003226/0.4808, allocations: 0.7734 MB / 0.5926 GB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.481, allocations: 94.41 kB / 0.5926 GB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.481, allocations: 0 / 0.5926 GB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/0.481, allocations: 34.12 kB / 0.5927 GB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.4812, allocations: 27.64 kB / 0.5927 GB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.4822, allocations: 0.9058 MB / 0.5936 GB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.4824, allocations: 0.7204 MB / 0.5943 GB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.708e-05/0.4824, allocations: 17.42 kB / 0.5943 GB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.4825, allocations: 43.86 kB / 0.5944 GB, free: 2.773 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4825, allocations: 0 / 0.5944 GB, free: 2.773 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.4948, allocations: 2.755 MB / 0.597 GB, free: 164 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.495, allocations: 180.2 kB / 0.5972 GB, free: 15.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.968, allocations: 3.375 kB / 0.5972 GB, free: 15.91 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)