Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.conf.json 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") translateModel(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 106.4 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04416/0.04416, allocations: 8.104 MB / 278.7 MB, free: 3.934 MB / 222.1 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 73.77 kB / 387.3 MB, free: 47.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06211/0.06353, allocations: 48.3 MB / 435.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001845/0.06541, allocations: 1.216 MB / 436.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005458/0.06597, allocations: 394.6 kB / 437.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.06612, allocations: 4 kB / 437.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.254e-05/0.06623, allocations: 59.3 kB / 437.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.06638, allocations: 43.48 kB / 437.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.06662, allocations: 139.8 kB / 437.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.06691, allocations: 395.1 kB / 437.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.06721, allocations: 252.9 kB / 438.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.06733, allocations: 167.4 kB / 438.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.06746, allocations: 194.9 kB / 438.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.06752, allocations: 60 kB / 438.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-05/0.06757, allocations: 56 kB / 438.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.06763, allocations: 123.6 kB / 438.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.06774, allocations: 222.8 kB / 438.9 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.06805, allocations: 0.5841 MB / 439.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.06806, allocations: 3.938 kB / 439.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.06807, allocations: 0 / 439.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.06808, allocations: 0 / 439.5 MB, free: 4.695 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0007705/0.06886, allocations: 0.7174 MB / 440.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.06889, allocations: 11.89 kB / 440.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.06897, allocations: 56.36 kB / 440.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.06924, allocations: 339.2 kB / 440.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.06927, allocations: 33.38 kB / 440.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.06933, allocations: 48.38 kB / 440.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.06985, allocations: 422.4 kB / 441.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.06988, allocations: 12.08 kB / 441.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.06992, allocations: 23.94 kB / 441.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.06993, allocations: 12 kB / 441.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.07028, allocations: 263.8 kB / 441.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.07171, allocations: 1.424 MB / 442.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.07213, allocations: 362.1 kB / 443.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.0723, allocations: 175.4 kB / 443.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.07233, allocations: 4.625 kB / 443.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.07235, allocations: 42.5 kB / 443.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.07236, allocations: 0 / 443.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005043/0.07287, allocations: 353.8 kB / 443.7 MB, free: 208 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.0729, allocations: 140.4 kB / 443.9 MB, free: 36 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.07317, allocations: 267 kB / 444.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.07321, allocations: 37.64 kB / 444.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.07335, allocations: 236 kB / 444.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.07343, allocations: 122.2 kB / 444.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.07353, allocations: 66.14 kB / 444.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.07366, allocations: 350.7 kB / 444.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.07381, allocations: 92.84 kB / 445 MB, free: 14.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.07401, allocations: 190.6 kB / 445.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.0744, allocations: 310 kB / 445.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.07441, allocations: 0 / 445.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004875/0.0749, allocations: 368.9 kB / 445.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.07492, allocations: 4 kB / 445.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.07493, allocations: 4 kB / 445.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.07495, allocations: 4 kB / 445.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.07531, allocations: 91.83 kB / 446 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.07533, allocations: 4 kB / 446 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.07545, allocations: 35.88 kB / 446 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.07547, allocations: 16 kB / 446 MB, free: 13.77 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 48 * 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.0001601/0.07564, allocations: 169.7 kB / 446.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.07575, allocations: 31.62 kB / 446.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.07584, allocations: 37.73 kB / 446.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.07585, allocations: 8.375 kB / 446.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.07586, allocations: 0 / 446.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.07587, allocations: 7.922 kB / 446.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.07648, allocations: 457.1 kB / 446.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.0765, allocations: 11.94 kB / 446.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.07683, allocations: 63.91 kB / 446.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.07684, allocations: 0 / 446.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.07687, allocations: 8 kB / 446.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.84e-06/0.07688, allocations: 7.984 kB / 446.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.07688, allocations: 0 / 446.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.07752, allocations: 0.7045 MB / 447.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.07759, allocations: 112.7 kB / 447.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.07763, allocations: 8 kB / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.07787, allocations: 8 kB / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.07792, allocations: 23.91 kB / 447.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.07794, allocations: 8 kB / 447.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.07812, allocations: 198 kB / 447.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.07812, allocations: 4 kB / 447.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.07858, allocations: 79.62 kB / 448 MB, free: 11.74 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.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 (32): * Single equations (assignments): 32 * 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 9.443e-05/0.07868, allocations: 111.2 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.07907, allocations: 263.8 kB / 448.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.07908, allocations: 3.984 kB / 448.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.07925, allocations: 124.3 kB / 448.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.07995, allocations: 83.58 kB / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.081, allocations: 0.748 MB / 449.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.08138, allocations: 0.8113 MB / 450.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.08146, allocations: 31.42 kB / 450.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.08147, allocations: 0 / 450.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of Templates: time 0.005916/0.08739, allocations: 4.247 MB / 454.4 MB, free: 5.25 MB / 334.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.makefile (rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & ./ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)