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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001879/0.001878, allocations: 181.2 kB / 16.12 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.447/1.447, allocations: 194.5 MB / 211.3 MB, free: 2.949 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03627/0.03627, allocations: 8.116 MB / 264.6 MB, free: 12.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001621/0.001621, allocations: 116 kB / 311.6 MB, free: 13.48 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 12 kB / 368.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2031, allocations: 46.19 MB / 414.7 MB, free: 65.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07543/0.2786, allocations: 71.27 MB / 486 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000157/0.2788, allocations: 51.97 kB / 486 MB, free: 10.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0135/0.2923, allocations: 5.785 MB / 491.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.2923, allocations: 0 / 491.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.194e-05/0.2924, allocations: 12 kB / 491.8 MB, free: 4.676 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009931/0.2934, allocations: 0.6344 MB / 492.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2934, allocations: 12.03 kB / 492.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.2936, allocations: 52.38 kB / 492.5 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.294, allocations: 347.2 kB / 492.8 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.294, allocations: 33.38 kB / 492.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/0.2941, allocations: 40.38 kB / 492.9 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.2948, allocations: 434.3 kB / 493.3 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.2948, allocations: 4.094 kB / 493.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.2949, allocations: 27.81 kB / 493.4 MB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2949, allocations: 12 kB / 493.4 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.2953, allocations: 255.8 kB / 493.6 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.2972, allocations: 1.444 MB / 495.1 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.2977, allocations: 362.5 kB / 495.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.298, allocations: 167.5 kB / 495.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.298, allocations: 8 kB / 495.6 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.298, allocations: 42.5 kB / 495.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.715e-06/0.298, allocations: 0 / 495.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006682/0.2987, allocations: 341.2 kB / 496 MB, free: 280 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.2988, allocations: 140.5 kB / 496.1 MB, free: 108 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.2991, allocations: 271 kB / 496.4 MB, free: 15.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.2991, allocations: 33.7 kB / 496.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2993, allocations: 239.9 kB / 496.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.2994, allocations: 114.3 kB / 496.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.2994, allocations: 4 kB / 496.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2996, allocations: 346.8 kB / 497.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.2997, allocations: 96.83 kB / 497.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.3, allocations: 182.6 kB / 497.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.3004, allocations: 310 kB / 497.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3004, allocations: 0 / 497.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005279/0.3009, allocations: 353.2 kB / 498 MB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3009, allocations: 4 kB / 498 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3009, allocations: 4.094 kB / 498 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.301, allocations: 7.938 kB / 498 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.3013, allocations: 87.83 kB / 498.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3013, allocations: 4 kB / 498.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3014, allocations: 39.61 kB / 498.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.3015, allocations: 20.25 kB / 498.2 MB, free: 13.92 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.3017, allocations: 169.7 kB / 498.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3018, allocations: 31.62 kB / 498.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.3019, allocations: 37.73 kB / 498.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3019, allocations: 11.94 kB / 498.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3019, allocations: 0 / 498.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3019, allocations: 3.938 kB / 498.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/0.3026, allocations: 453.2 kB / 498.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3026, allocations: 7.984 kB / 498.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.3029, allocations: 59.91 kB / 498.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3029, allocations: 4 kB / 498.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.3029, allocations: 12 kB / 499 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3029, allocations: 0 / 499 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.303, allocations: 9.25 kB / 499 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.3036, allocations: 0.6966 MB / 499.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.3037, allocations: 112.7 kB / 499.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.3037, allocations: 4 kB / 499.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.3039, allocations: 12 kB / 499.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.304, allocations: 23.91 kB / 499.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.304, allocations: 12 kB / 499.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.3042, allocations: 186 kB / 0.4883 GB, free: 12 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3042, allocations: 4 kB / 0.4883 GB, free: 12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004352/0.3046, allocations: 87.62 kB / 0.4884 GB, free: 11.91 MB / 346.7 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 (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.0001425/0.3048, allocations: 116.7 kB / 0.4885 GB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004196/0.3052, allocations: 263.8 kB / 0.4887 GB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3052, allocations: 0 / 0.4887 GB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.3054, allocations: 128.9 kB / 0.4889 GB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.3061, allocations: 76.91 kB / 0.4889 GB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3074, allocations: 0.8995 MB / 0.4898 GB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.3079, allocations: 0.8075 MB / 0.4906 GB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.308, allocations: 37.27 kB / 0.4906 GB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.3081, allocations: 27.44 kB / 0.4907 GB, free: 9.504 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3081, allocations: 0 / 0.4907 GB, free: 9.504 MB / 346.7 MB Notification: Performance of Templates: time 0.006022/0.3141, allocations: 2.699 MB / 0.4933 GB, free: 6.82 MB / 346.7 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)