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.0-master/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/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/Physiolibrary 3.0.0/package.mo", uses=false) 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.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) 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.08122/0.08122, allocations: 15.29 MB / 30.41 MB, free: 4.367 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009569/0.0009571, allocations: 106 kB / 35.38 MB, free: 3.441 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 197.1 kB / 40.47 MB, free: 7.531 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 268.3 MB, free: 7.629 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1316/0.1316, allocations: 23.35 MB / 346 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 103.8 kB / 417.5 MB, free: 30.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09342, allocations: 59.37 MB / 476.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.00305/0.09651, allocations: 2.364 MB / 479.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002542/0.09678, allocations: 135.5 kB / 479.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.09686, allocations: 4 kB / 479.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.09699, allocations: 23.84 kB / 479.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.651e-05/0.09709, allocations: 43.61 kB / 479.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.09721, allocations: 31.98 kB / 479.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.09737, allocations: 171.1 kB / 479.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.09751, allocations: 68.62 kB / 479.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.09757, allocations: 55.73 kB / 479.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.09767, allocations: 67.7 kB / 479.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.09769, allocations: 8 kB / 479.8 MB, free: 500 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.692e-05/0.09773, allocations: 11.94 kB / 479.8 MB, free: 488 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.09776, allocations: 19.92 kB / 479.8 MB, free: 468 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.09783, allocations: 83.52 kB / 479.9 MB, free: 384 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.09796, allocations: 139.8 kB / 480 MB, free: 244 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09797, allocations: 4 kB / 480 MB, free: 240 kB / 334.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.09798, allocations: 0 / 480 MB, free: 240 kB / 334.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.09799, allocations: 0 / 480 MB, free: 240 kB / 334.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.0004665/0.09846, allocations: 439 kB / 480.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.0985, allocations: 8.594 kB / 480.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.09854, allocations: 16.75 kB / 480.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.09872, allocations: 208 kB / 480.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.09874, allocations: 12.38 kB / 480.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.09877, allocations: 16.38 kB / 480.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.09898, allocations: 122.6 kB / 480.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.09899, allocations: 192 / 480.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.09901, allocations: 7.938 kB / 480.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.09902, allocations: 4 kB / 480.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.09916, allocations: 71.97 kB / 480.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.09972, allocations: 456.2 kB / 481.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.09991, allocations: 114.6 kB / 481.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.09999, allocations: 48.84 kB / 481.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.1, allocations: 0 / 481.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.1, allocations: 38.5 kB / 481.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1, allocations: 4 kB / 481.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000262/0.1003, allocations: 137.4 kB / 481.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1003, allocations: 51.41 kB / 481.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1005, allocations: 150.2 kB / 481.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1005, allocations: 29.7 kB / 481.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.1005, allocations: 123.7 kB / 482.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1006, allocations: 39.36 kB / 482.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.1006, allocations: 37.7 kB / 482.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.1007, allocations: 322.8 kB / 482.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.1008, allocations: 31.98 kB / 482.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.895e-05/0.1008, allocations: 28 kB / 482.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.1012, allocations: 158.8 kB / 482.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1012, allocations: 3.938 kB / 482.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001766/0.1014, allocations: 133.5 kB / 482.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1014, allocations: 7.938 kB / 482.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1014, allocations: 0 / 482.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1015, allocations: 3.938 kB / 482.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1016, allocations: 31.98 kB / 482.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.1016, allocations: 0 / 482.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/0.1017, allocations: 11.91 kB / 482.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1017, allocations: 7.938 kB / 482.9 MB, free: 13.19 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false 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 prey.population:VARIABLE(flow=false 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 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.0001961/0.1019, allocations: 140.2 kB / 483 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1019, allocations: 19.84 kB / 483 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.102, allocations: 20.7 kB / 483 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.102, allocations: 0 / 483 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.102, allocations: 0 / 483 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.102, allocations: 0 / 483 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.1023, allocations: 245.4 kB / 483.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1023, allocations: 4 kB / 483.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.1024, allocations: 19.92 kB / 483.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1024, allocations: 7.938 kB / 483.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.1024, allocations: 0 / 483.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1024, allocations: 4 kB / 483.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1024, allocations: 0 / 483.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1027, allocations: 239.4 kB / 483.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.1027, allocations: 96.83 kB / 483.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1028, allocations: 4.031 kB / 483.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.1029, allocations: 4 kB / 483.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.1029, allocations: 11.92 kB / 483.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1029, allocations: 4.062 kB / 483.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.091e-05/0.103, allocations: 122 kB / 483.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.103, allocations: 0 / 483.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.1032, allocations: 35.94 kB / 483.8 MB, free: 12.13 MB / 350.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 7.298e-05/0.1033, allocations: 107.1 kB / 483.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1035, allocations: 86.66 kB / 484 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1035, allocations: 0 / 484 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.799e-05/0.1036, allocations: 43.92 kB / 484.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1039, allocations: 31.98 kB / 484.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.1045, allocations: 431.7 kB / 484.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.1047, allocations: 0.7088 MB / 485.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.1048, allocations: 17.42 kB / 485.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.1048, allocations: 15.44 kB / 485.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1048, allocations: 0 / 485.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Templates: time 0.00335/0.1082, allocations: 1.324 MB / 486.6 MB, free: 9.344 MB / 350.1 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)