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.08362/0.08362, allocations: 11.15 MB / 30.94 MB, free: 4.781 MB / 24.77 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.0009514/0.0009514, allocations: 93.73 kB / 38.65 MB, free: 6.891 MB / 33.03 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.001156/0.001156, allocations: 160.6 kB / 46.45 MB, free: 10.18 MB / 44.04 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 0.9673/0.9673, allocations: 177.2 MB / 231.3 MB, free: 4.676 MB / 202.7 MB " [Timeout remaining time 179] 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.1108/0.1108, allocations: 17.63 MB / 309.9 MB, free: 8.578 MB / 282.7 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 391.7 MB, free: 45.93 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.94e-05, allocations: 6.25 kB / 391.7 MB, free: 45.92 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.00357/0.0036, allocations: 2.367 MB / 394.1 MB, free: 43.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004935/0.004093, allocations: 146.3 kB / 394.2 MB, free: 43.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.004213, allocations: 5.031 kB / 394.2 MB, free: 43.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.004369, allocations: 23.73 kB / 394.3 MB, free: 43.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.004491, allocations: 57.86 kB / 394.3 MB, free: 43.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.004644, allocations: 39.94 kB / 394.4 MB, free: 43.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.004827, allocations: 182.9 kB / 394.5 MB, free: 43.13 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.004986, allocations: 54.42 kB / 394.6 MB, free: 43.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.005104, allocations: 87.8 kB / 394.7 MB, free: 43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.00523, allocations: 47.89 kB / 394.7 MB, free: 42.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.005257, allocations: 11.94 kB / 394.7 MB, free: 42.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.005284, allocations: 12 kB / 394.7 MB, free: 42.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.005316, allocations: 27.91 kB / 394.8 MB, free: 42.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.005371, allocations: 58.5 kB / 394.8 MB, free: 42.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.005574, allocations: 115.6 kB / 394.9 MB, free: 42.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005577, allocations: 0 / 394.9 MB, free: 42.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.00558, allocations: 4 kB / 394.9 MB, free: 42.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.005587, allocations: 0 / 394.9 MB, free: 42.73 MB / 330.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.0004631/0.00605, allocations: 467.9 kB / 395.4 MB, free: 42.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.006106, allocations: 13.41 kB / 395.4 MB, free: 42.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.006175, allocations: 32.78 kB / 395.4 MB, free: 42.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.006381, allocations: 159.2 kB / 395.6 MB, free: 42.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.006402, allocations: 12.38 kB / 395.6 MB, free: 42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.006432, allocations: 12.38 kB / 395.6 MB, free: 41.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.006599, allocations: 102.8 kB / 395.7 MB, free: 41.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.006614, allocations: 192 / 395.7 MB, free: 41.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.006627, allocations: 4.375 kB / 395.7 MB, free: 41.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.006636, allocations: 5.875 kB / 395.7 MB, free: 41.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.338e-05/0.006699, allocations: 35.91 kB / 395.8 MB, free: 41.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.007189, allocations: 373.2 kB / 396.1 MB, free: 41.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.007331, allocations: 91.03 kB / 396.2 MB, free: 41.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.007373, allocations: 32.86 kB / 396.3 MB, free: 41.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.007385, allocations: 4.844 kB / 396.3 MB, free: 41.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.007405, allocations: 34.61 kB / 396.3 MB, free: 41.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.007407, allocations: 0 / 396.3 MB, free: 41.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002063/0.007613, allocations: 101.5 kB / 396.4 MB, free: 41.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.007634, allocations: 51.41 kB / 396.4 MB, free: 41.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.007727, allocations: 220.1 kB / 396.7 MB, free: 40.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.007735, allocations: 25.7 kB / 396.7 MB, free: 40.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.007796, allocations: 182 kB / 396.9 MB, free: 40.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.007824, allocations: 47.58 kB / 396.9 MB, free: 40.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.007871, allocations: 39.34 kB / 396.9 MB, free: 40.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.007938, allocations: 0.4923 MB / 397.4 MB, free: 40.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/0.007966, allocations: 11.98 kB / 397.4 MB, free: 40.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.99e-05/0.007995, allocations: 18.8 kB / 397.5 MB, free: 40.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.008108, allocations: 78.84 kB / 397.5 MB, free: 39.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.008111, allocations: 0 / 397.5 MB, free: 39.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001299/0.00824, allocations: 103.2 kB / 397.6 MB, free: 39.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.008254, allocations: 8 kB / 397.7 MB, free: 39.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008259, allocations: 0 / 397.7 MB, free: 39.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.008274, allocations: 0 / 397.7 MB, free: 39.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.008389, allocations: 31.98 kB / 397.7 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.008394, allocations: 1.312 kB / 397.7 MB, free: 39.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.00844, allocations: 15.83 kB / 397.7 MB, free: 39.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.008447, allocations: 4 kB / 397.7 MB, free: 39.79 MB / 330.7 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.0001281/0.008575, allocations: 177.2 kB / 397.9 MB, free: 39.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.008609, allocations: 15.91 kB / 397.9 MB, free: 39.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.008647, allocations: 13.38 kB / 397.9 MB, free: 39.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.008652, allocations: 7.984 kB / 397.9 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.008655, allocations: 2.094 kB / 397.9 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.008659, allocations: 3.938 kB / 397.9 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.008812, allocations: 145.2 kB / 398.1 MB, free: 39.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.008814, allocations: 0 / 398.1 MB, free: 39.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.008892, allocations: 16 kB / 398.1 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.008896, allocations: 0.5 kB / 398.1 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.008908, allocations: 4 kB / 398.1 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.008911, allocations: 5.422 kB / 398.1 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008913, allocations: 0 / 398.1 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.009127, allocations: 257.5 kB / 398.3 MB, free: 39.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.009152, allocations: 17.55 kB / 398.4 MB, free: 39.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.009169, allocations: 4 kB / 398.4 MB, free: 39.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/0.009234, allocations: 0 / 398.4 MB, free: 39.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.009259, allocations: 11.98 kB / 398.4 MB, free: 39.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.009265, allocations: 0 / 398.4 MB, free: 39.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.623e-05/0.009321, allocations: 147.9 kB / 398.5 MB, free: 38.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009321, allocations: 0 / 398.5 MB, free: 38.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.009608, allocations: 40.67 kB / 398.6 MB, free: 38.89 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001174/0.009726, allocations: 101 kB / 398.7 MB, free: 38.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.009869, allocations: 75.7 kB / 398.7 MB, free: 38.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.009871, allocations: 0 / 398.7 MB, free: 38.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.009911, allocations: 35.61 kB / 398.8 MB, free: 38.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.01023, allocations: 20.33 kB / 398.8 MB, free: 38.66 MB / 330.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009314/0.01116, allocations: 344 kB / 399.1 MB, free: 38.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.15e-05/0.0112, allocations: 71.83 kB / 399.2 MB, free: 38.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.01125, allocations: 8.656 kB / 399.2 MB, free: 38.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.01133, allocations: 90.19 kB / 399.3 MB, free: 38.13 MB / 330.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01133, allocations: 4 kB / 399.3 MB, free: 38.12 MB / 330.7 MB Notification: Performance of Templates: time 0.004265/0.01559, allocations: 1.389 MB / 400.7 MB, free: 36.78 MB / 330.7 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.079685421194881]