Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008641, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001091/0.001092, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03936/0.03936, allocations: 8.101 MB / 278.5 MB, free: 13.46 MB / 238.1 MB 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.0005425/0.0005427, allocations: 22.97 kB / 338.3 MB, free: 27.06 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09054, allocations: 49.27 MB / 387.5 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.0006495/0.09122, allocations: 270.1 kB / 387.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.09152, allocations: 119.7 kB / 387.9 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.09158, allocations: 0 / 387.9 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.09161, allocations: 3.938 kB / 387.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.09169, allocations: 7.938 kB / 387.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.09184, allocations: 19.98 kB / 388 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.09197, allocations: 55.91 kB / 388 MB, free: 9.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.09213, allocations: 39.94 kB / 388.1 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.09218, allocations: 23.88 kB / 388.1 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.0923, allocations: 27.84 kB / 388.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.09233, allocations: 8 kB / 388.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.827e-05/0.09236, allocations: 8 kB / 388.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.09238, allocations: 11.92 kB / 388.1 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.09243, allocations: 41.64 kB / 388.2 MB, free: 9.105 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.09255, allocations: 75.77 kB / 388.2 MB, free: 9.031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.09256, allocations: 0 / 388.2 MB, free: 9.031 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.09257, allocations: 0 / 388.2 MB, free: 9.031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.09258, allocations: 0 / 388.2 MB, free: 9.031 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004874/0.09308, allocations: 367.6 kB / 388.6 MB, free: 8.621 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.09313, allocations: 12.03 kB / 388.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.09318, allocations: 7.906 kB / 388.6 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.09337, allocations: 190.8 kB / 388.8 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.0934, allocations: 12.19 kB / 388.8 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.09343, allocations: 8 kB / 388.8 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.09364, allocations: 99.05 kB / 388.9 MB, free: 8.254 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.09368, allocations: 4 kB / 388.9 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.0937, allocations: 4 kB / 388.9 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.09371, allocations: 0 / 388.9 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.09384, allocations: 56.47 kB / 389 MB, free: 8.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.09457, allocations: 413.3 kB / 389.4 MB, free: 7.738 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.09476, allocations: 78.56 kB / 389.5 MB, free: 7.652 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/0.09484, allocations: 44.84 kB / 389.5 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.09486, allocations: 0 / 389.5 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.0949, allocations: 30.56 kB / 389.5 MB, free: 7.566 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.09491, allocations: 0 / 389.5 MB, free: 7.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.000244/0.09516, allocations: 105.5 kB / 389.6 MB, free: 7.457 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.09521, allocations: 59.39 kB / 389.7 MB, free: 7.387 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.0953, allocations: 109.8 kB / 389.8 MB, free: 7.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.09533, allocations: 25.7 kB / 389.8 MB, free: 7.238 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.09539, allocations: 99.98 kB / 389.9 MB, free: 7.137 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.09543, allocations: 31.55 kB / 390 MB, free: 7.105 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.09544, allocations: 0 / 390 MB, free: 7.105 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.09559, allocations: 322.8 kB / 390.3 MB, free: 6.781 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.09565, allocations: 16 kB / 390.3 MB, free: 6.766 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.09569, allocations: 23.98 kB / 390.3 MB, free: 6.742 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.09575, allocations: 27.94 kB / 390.3 MB, free: 6.715 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.09576, allocations: 0 / 390.3 MB, free: 6.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001428/0.09591, allocations: 89.59 kB / 390.4 MB, free: 6.621 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.09594, allocations: 8 kB / 390.4 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.09595, allocations: 288 / 390.4 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.09598, allocations: 7.875 kB / 390.4 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.0961, allocations: 19.98 kB / 390.5 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.09612, allocations: 8.516 kB / 390.5 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.09615, allocations: 0 / 390.5 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.09617, allocations: 4 kB / 390.5 MB, free: 6.574 MB / 286.1 MB 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 (10): * Single equations (assignments): 10 * 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.0001247/0.0963, allocations: 121.8 kB / 390.6 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.09634, allocations: 11.91 kB / 390.6 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.09638, allocations: 8.375 kB / 390.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.09639, allocations: 0 / 390.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.0964, allocations: 0 / 390.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.09641, allocations: 3.953 kB / 390.6 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.09663, allocations: 205.8 kB / 390.8 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.09664, allocations: 0 / 390.8 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.09675, allocations: 19.92 kB / 390.8 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.09676, allocations: 4 kB / 390.8 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.09678, allocations: 4 kB / 390.9 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.09679, allocations: 0 / 390.9 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.09679, allocations: 4 kB / 390.9 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.09703, allocations: 211.4 kB / 391.1 MB, free: 5.914 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.09708, allocations: 81.02 kB / 391.1 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.0971, allocations: 8 kB / 391.1 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.09718, allocations: 4.031 kB / 391.2 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.0972, allocations: 3.984 kB / 391.2 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.09722, allocations: 4 kB / 391.2 MB, free: 5.797 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.09727, allocations: 87.34 kB / 391.2 MB, free: 5.711 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.09728, allocations: 0 / 391.2 MB, free: 5.711 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.09752, allocations: 19.94 kB / 391.3 MB, free: 5.691 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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.0001683/0.09769, allocations: 107.1 kB / 391.4 MB, free: 5.574 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.09785, allocations: 55.97 kB / 391.4 MB, free: 5.52 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.09786, allocations: 0 / 391.4 MB, free: 5.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.09791, allocations: 27.94 kB / 391.5 MB, free: 5.492 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.09825, allocations: 15.98 kB / 391.5 MB, free: 5.477 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.09868, allocations: 247 kB / 391.7 MB, free: 5.215 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.099, allocations: 0.7004 MB / 392.4 MB, free: 4.488 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.56e-05/0.09906, allocations: 7.781 kB / 392.4 MB, free: 4.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.09909, allocations: 11.44 kB / 392.4 MB, free: 4.473 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.0991, allocations: 0 / 392.4 MB, free: 4.473 MB / 286.1 MB Notification: Performance of Templates: time 0.002883/0.102, allocations: 0.6343 MB / 393.1 MB, free: 3.852 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile Environment - environmentSimulation: (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) Environment - environmentSimulation: