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.1209/0.1209, allocations: 15.27 MB / 30.54 MB, free: 5.711 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.0007684/0.0007684, allocations: 113 kB / 35.57 MB, free: 1.129 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.0009102/0.0009102, allocations: 192.5 kB / 40.69 MB, free: 4.734 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.28/1.28, allocations: 223.3 MB / 268.9 MB, free: 2.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1531/0.1531, allocations: 23.4 MB / 347.7 MB, free: 6.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004851, allocations: 27.94 kB / 420.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2465, allocations: 60.46 MB / 480.7 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.001853/0.2484, allocations: 2.022 MB / 482.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.2487, allocations: 143.5 kB / 482.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.2488, allocations: 4 kB / 482.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.652e-05/0.2489, allocations: 23.84 kB / 482.9 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.527e-05/0.249, allocations: 43.62 kB / 482.9 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.2491, allocations: 27.97 kB / 483 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.2492, allocations: 175.1 kB / 483.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.2494, allocations: 57.83 kB / 483.2 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.2494, allocations: 47.73 kB / 483.2 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.2496, allocations: 67.7 kB / 483.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.2496, allocations: 4 kB / 483.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.2496, allocations: 4 kB / 483.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.2496, allocations: 19.91 kB / 483.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.2497, allocations: 101.2 kB / 483.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2498, allocations: 130 kB / 483.6 MB, free: 33.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2498, allocations: 0 / 483.6 MB, free: 33.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2498, allocations: 0 / 483.6 MB, free: 33.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2499, allocations: 0 / 483.6 MB, free: 33.56 MB / 350.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.0003972/0.2503, allocations: 421.6 kB / 484 MB, free: 33.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2503, allocations: 12.03 kB / 484 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.2504, allocations: 20.73 kB / 484 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2505, allocations: 208 kB / 484.2 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2505, allocations: 12.38 kB / 484.2 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2506, allocations: 12.38 kB / 484.2 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.2508, allocations: 118.7 kB / 484.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2508, allocations: 192 / 484.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.2508, allocations: 7.938 kB / 484.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2508, allocations: 8 kB / 484.4 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.251, allocations: 67.97 kB / 484.4 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.2515, allocations: 448.2 kB / 484.9 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.2517, allocations: 126.6 kB / 485 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.2517, allocations: 44.84 kB / 485 MB, free: 31.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.2517, allocations: 4 kB / 485 MB, free: 31.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.166e-05/0.2518, allocations: 38.44 kB / 485.1 MB, free: 31.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.2518, allocations: 0 / 485.1 MB, free: 31.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00024/0.252, allocations: 129.8 kB / 485.2 MB, free: 31.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.252, allocations: 63.34 kB / 485.3 MB, free: 31.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.617e-05/0.2521, allocations: 148.9 kB / 485.4 MB, free: 31.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.2522, allocations: 33.69 kB / 485.4 MB, free: 31.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.2522, allocations: 119.8 kB / 485.5 MB, free: 31.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.2522, allocations: 47.3 kB / 485.6 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.2523, allocations: 17.72 kB / 485.6 MB, free: 31.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.2523, allocations: 322.8 kB / 485.9 MB, free: 30.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.2524, allocations: 31.98 kB / 486 MB, free: 30.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/0.2524, allocations: 27.98 kB / 486 MB, free: 30.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.2528, allocations: 151.6 kB / 486.1 MB, free: 30.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2528, allocations: 4 kB / 486.1 MB, free: 30.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000165/0.253, allocations: 141.3 kB / 486.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.253, allocations: 7.938 kB / 486.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.253, allocations: 0 / 486.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.253, allocations: 4 kB / 486.3 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.2532, allocations: 27.98 kB / 486.3 MB, free: 30.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2532, allocations: 7.984 kB / 486.3 MB, free: 30.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.2533, allocations: 11.84 kB / 486.3 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.2533, allocations: 4 kB / 486.3 MB, free: 30.55 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.000198/0.2535, allocations: 160.7 kB / 486.5 MB, free: 30.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.2535, allocations: 11.84 kB / 486.5 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.2536, allocations: 16.72 kB / 486.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2536, allocations: 0 / 486.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2536, allocations: 0 / 486.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2536, allocations: 7.984 kB / 486.5 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.2538, allocations: 237.5 kB / 486.8 MB, free: 30.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2538, allocations: 0 / 486.8 MB, free: 30.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.2539, allocations: 19.94 kB / 486.8 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2539, allocations: 3.938 kB / 486.8 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.254, allocations: 7.984 kB / 486.8 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.254, allocations: 4 kB / 486.8 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.254, allocations: 3.938 kB / 486.8 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.2542, allocations: 235.4 kB / 487 MB, free: 29.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.2543, allocations: 100.9 kB / 487.1 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.2543, allocations: 3.984 kB / 487.1 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.2544, allocations: 8 kB / 487.1 MB, free: 29.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.2544, allocations: 0 / 487.1 MB, free: 29.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.2544, allocations: 7.938 kB / 487.2 MB, free: 29.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.349e-05/0.2545, allocations: 122.6 kB / 487.3 MB, free: 29.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2545, allocations: 0 / 487.3 MB, free: 29.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.2548, allocations: 36 kB / 487.3 MB, free: 29.49 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 8.37e-05/0.2549, allocations: 103.2 kB / 487.4 MB, free: 29.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2551, allocations: 90.25 kB / 487.5 MB, free: 29.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2551, allocations: 0 / 487.5 MB, free: 29.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.2551, allocations: 43.92 kB / 487.5 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.2555, allocations: 23.98 kB / 487.6 MB, free: 29.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.2561, allocations: 468.2 kB / 488 MB, free: 28.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.2563, allocations: 0.7166 MB / 488.7 MB, free: 28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.2563, allocations: 9.422 kB / 488.7 MB, free: 27.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.2564, allocations: 23.38 kB / 488.8 MB, free: 27.96 MB / 350.1 MB Notification: Performance of SimCode: time 5.2e-07/0.2564, allocations: 0 / 488.8 MB, free: 27.96 MB / 350.1 MB Notification: Performance of Templates: time 0.003831/0.2602, allocations: 1.312 MB / 490.1 MB, free: 26.67 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)