Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.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.ThreeSpecies_Quiescent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009759/0.000976, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001206/0.001206, allocations: 177.3 kB / 15.95 MB, free: 216 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.605/1.605, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03963/0.03963, allocations: 8.102 MB / 278.5 MB, free: 13.22 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.0005657/0.000566, allocations: 15.12 kB / 338.2 MB, free: 27.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09603, allocations: 49.27 MB / 387.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent): time 0.0008397/0.09692, allocations: 413.8 kB / 387.9 MB, free: 9.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004324/0.09738, allocations: 175.4 kB / 388.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.09748, allocations: 4 kB / 388.1 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.09753, allocations: 7.875 kB / 388.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.09763, allocations: 15.92 kB / 388.1 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.09783, allocations: 35.97 kB / 388.1 MB, free: 9.094 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.09803, allocations: 83.8 kB / 388.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.09824, allocations: 66.05 kB / 388.3 MB, free: 8.941 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.09831, allocations: 47.78 kB / 388.3 MB, free: 8.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.985e-05/0.09841, allocations: 59.69 kB / 388.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.09844, allocations: 8 kB / 388.4 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.363e-05/0.09847, allocations: 12 kB / 388.4 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.09851, allocations: 27.91 kB / 388.4 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.09855, allocations: 53.58 kB / 388.5 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.0987, allocations: 135.7 kB / 388.6 MB, free: 8.598 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.09871, allocations: 4 kB / 388.6 MB, free: 8.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.09872, allocations: 0 / 388.6 MB, free: 8.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.09874, allocations: 0 / 388.6 MB, free: 8.594 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005381/0.09928, allocations: 431.5 kB / 389 MB, free: 8.121 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.09933, allocations: 8.031 kB / 389.1 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.0994, allocations: 23.75 kB / 389.1 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.09966, allocations: 218.5 kB / 389.3 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.0997, allocations: 16.38 kB / 389.3 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.09975, allocations: 16 kB / 389.3 MB, free: 7.809 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.1001, allocations: 164.6 kB / 389.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1001, allocations: 4 kB / 389.5 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.1002, allocations: 8 kB / 389.5 MB, free: 7.633 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.1002, allocations: 4 kB / 389.5 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.1004, allocations: 115.6 kB / 389.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.1013, allocations: 0.5781 MB / 390.2 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.1017, allocations: 134.4 kB / 390.3 MB, free: 6.746 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1017, allocations: 0 / 390.3 MB, free: 6.746 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1017, allocations: 38.56 kB / 390.4 MB, free: 6.699 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 9.52e-07/0.1017, allocations: 0 / 390.4 MB, free: 6.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003684/0.1021, allocations: 169.4 kB / 390.5 MB, free: 6.527 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1022, allocations: 59.39 kB / 390.6 MB, free: 6.457 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.1023, allocations: 126.1 kB / 390.7 MB, free: 6.324 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1023, allocations: 29.7 kB / 390.7 MB, free: 6.289 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.1024, allocations: 132.3 kB / 390.9 MB, free: 6.156 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.1024, allocations: 47.27 kB / 390.9 MB, free: 6.109 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.1024, allocations: 0 / 390.9 MB, free: 6.109 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1026, allocations: 330.8 kB / 391.2 MB, free: 5.777 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.1027, allocations: 35.98 kB / 391.3 MB, free: 5.742 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.1027, allocations: 46.39 kB / 391.3 MB, free: 5.699 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.924e-05/0.1028, allocations: 48 kB / 391.4 MB, free: 5.652 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1028, allocations: 0 / 391.4 MB, free: 5.652 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005688/0.1034, allocations: 258.1 kB / 391.6 MB, free: 5.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1034, allocations: 4 kB / 391.6 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1034, allocations: 0 / 391.6 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/0.104, allocations: 148.6 kB / 391.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.1041, allocations: 8 kB / 391.8 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.1069, allocations: 1.929 MB / 393.7 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.1069, allocations: 3.906 kB / 393.7 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.107, allocations: 11.94 kB / 393.7 MB, free: 3.152 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.1072, allocations: 125.6 kB / 393.8 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.1072, allocations: 7.906 kB / 393.8 MB, free: 3.016 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.1073, allocations: 24.53 kB / 393.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.1073, allocations: 3.953 kB / 393.9 MB, free: 2.988 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1073, allocations: 4 kB / 393.9 MB, free: 2.984 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.1073, allocations: 4 kB / 393.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.1078, allocations: 269.4 kB / 394.1 MB, free: 2.668 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.1078, allocations: 0 / 394.1 MB, free: 2.668 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.108, allocations: 31.97 kB / 394.2 MB, free: 2.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.108, allocations: 3.938 kB / 394.2 MB, free: 2.633 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.108, allocations: 4 kB / 394.2 MB, free: 2.629 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.108, allocations: 4 kB / 394.2 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.108, allocations: 3.953 kB / 394.2 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.1085, allocations: 297.4 kB / 394.5 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.1086, allocations: 85.02 kB / 394.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1086, allocations: 4 kB / 394.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1088, allocations: 4.031 kB / 394.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1088, allocations: 11.95 kB / 394.6 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1088, allocations: 4 kB / 394.6 MB, free: 2.195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.109, allocations: 95.27 kB / 394.7 MB, free: 2.102 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.109, allocations: 0 / 394.7 MB, free: 2.102 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1093, allocations: 51.69 kB / 394.7 MB, free: 2.051 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.000173/0.1095, allocations: 107.2 kB / 394.8 MB, free: 1.938 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007475/0.1103, allocations: 282.5 kB / 395.1 MB, free: 1.648 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1103, allocations: 0 / 395.1 MB, free: 1.648 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.1104, allocations: 59.92 kB / 395.2 MB, free: 1.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1107, allocations: 19.92 kB / 395.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008263/0.1116, allocations: 403.3 kB / 395.6 MB, free: 1.152 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1119, allocations: 0.7324 MB / 396.3 MB, free: 400 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.419e-05/0.112, allocations: 8.891 kB / 396.3 MB, free: 388 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.112, allocations: 15.44 kB / 396.3 MB, free: 372 kB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.112, allocations: 0 / 396.3 MB, free: 372 kB / 286.1 MB Notification: Performance of Templates: time 0.005581/0.1176, allocations: 1.952 MB / 398.3 MB, free: 14.42 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.makefile Environment - environmentSimulation: (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe 2>&1) Environment - environmentSimulation: