Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 110 kB / 15.99 MB, free: 6.344 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.001259/0.001259, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.387/1.387, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03994/0.03994, allocations: 8.099 MB / 278.2 MB, free: 13.35 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.001446/0.001446, allocations: 67.91 kB / 337.4 MB, free: 26.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08097/0.08242, allocations: 48.29 MB / 385.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002076/0.08454, allocations: 0.7581 MB / 386.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004175/0.08499, allocations: 187.3 kB / 386.6 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.0851, allocations: 4 kB / 386.6 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.046e-05/0.0852, allocations: 11.86 kB / 386.6 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.315e-05/0.0853, allocations: 7.938 kB / 386.6 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.08549, allocations: 43.97 kB / 386.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.08569, allocations: 135.8 kB / 386.8 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.08591, allocations: 85.62 kB / 386.9 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.08598, allocations: 59.72 kB / 386.9 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.08609, allocations: 75.62 kB / 387 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.08613, allocations: 20 kB / 387 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.688e-05/0.08617, allocations: 16 kB / 387 MB, free: 9.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.08622, allocations: 47.83 kB / 387.1 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.0863, allocations: 79.53 kB / 387.2 MB, free: 8.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.08648, allocations: 143.7 kB / 387.3 MB, free: 8.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.08649, allocations: 0 / 387.3 MB, free: 8.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.0865, allocations: 0 / 387.3 MB, free: 8.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.08651, allocations: 3.938 kB / 387.3 MB, free: 8.836 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.0006255/0.08715, allocations: 467.6 kB / 387.8 MB, free: 8.324 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.08719, allocations: 8.031 kB / 387.8 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.08725, allocations: 24.66 kB / 387.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.08746, allocations: 212.1 kB / 388 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.08749, allocations: 12.75 kB / 388 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.08754, allocations: 24.38 kB / 388 MB, free: 8.012 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.08787, allocations: 168.9 kB / 388.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.0879, allocations: 4.188 kB / 388.2 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.08793, allocations: 11.92 kB / 388.2 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.08794, allocations: 4 kB / 388.2 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.08813, allocations: 115.7 kB / 388.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.08901, allocations: 0.5857 MB / 388.9 MB, free: 7.074 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.08928, allocations: 134.2 kB / 389 MB, free: 6.938 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.0894, allocations: 80.84 kB / 389.1 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.08942, allocations: 4 kB / 389.1 MB, free: 6.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.08945, allocations: 34.55 kB / 389.2 MB, free: 6.809 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.08946, allocations: 0 / 389.2 MB, free: 6.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003389/0.0898, allocations: 173.8 kB / 389.3 MB, free: 6.633 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.08986, allocations: 55.41 kB / 389.4 MB, free: 6.566 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.08998, allocations: 129.8 kB / 389.5 MB, free: 6.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.09002, allocations: 33.64 kB / 389.5 MB, free: 6.391 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.09011, allocations: 128.3 kB / 389.7 MB, free: 6.262 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.09017, allocations: 55.2 kB / 389.7 MB, free: 6.207 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.09024, allocations: 37.62 kB / 389.8 MB, free: 6.164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.09037, allocations: 322.8 kB / 390.1 MB, free: 5.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.09046, allocations: 39.98 kB / 390.1 MB, free: 5.801 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.09054, allocations: 46.17 kB / 390.2 MB, free: 5.758 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.09069, allocations: 100.8 kB / 390.3 MB, free: 5.656 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.0907, allocations: 0 / 390.3 MB, free: 5.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002216/0.09093, allocations: 148.2 kB / 390.4 MB, free: 5.508 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.09096, allocations: 8 kB / 390.4 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.09098, allocations: 3.984 kB / 390.4 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.091, allocations: 7.875 kB / 390.4 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.09118, allocations: 27.98 kB / 390.5 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.0912, allocations: 4 kB / 390.5 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.09125, allocations: 11.84 kB / 390.5 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.09127, allocations: 8 kB / 390.5 MB, free: 5.438 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 (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.000125/0.0914, allocations: 133.8 kB / 390.6 MB, free: 5.297 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.09144, allocations: 7.906 kB / 390.6 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.0915, allocations: 16.48 kB / 390.6 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.09151, allocations: 4 kB / 390.6 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.09152, allocations: 0 / 390.6 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.09153, allocations: 3.938 kB / 390.6 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.09184, allocations: 273.4 kB / 390.9 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.09185, allocations: 0 / 390.9 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.09203, allocations: 31.97 kB / 390.9 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.09204, allocations: 0 / 390.9 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.09207, allocations: 8 kB / 390.9 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.09208, allocations: 0 / 390.9 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.09208, allocations: 0 / 390.9 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.09245, allocations: 303 kB / 391.2 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.09251, allocations: 85.02 kB / 391.3 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.09254, allocations: 0 / 391.3 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.09263, allocations: 4 kB / 391.3 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.09265, allocations: 8.031 kB / 391.3 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.09267, allocations: 11.94 kB / 391.3 MB, free: 4.477 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.181e-05/0.09275, allocations: 99.27 kB / 391.4 MB, free: 4.379 MB / 286.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.09277, allocations: 0 / 391.4 MB, free: 4.379 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.09303, allocations: 35.78 kB / 391.5 MB, free: 4.344 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001111/0.09315, allocations: 103.2 kB / 391.6 MB, free: 4.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.0934, allocations: 119.8 kB / 391.7 MB, free: 4.113 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.09341, allocations: 4 kB / 391.7 MB, free: 4.109 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.0935, allocations: 59.86 kB / 391.8 MB, free: 4.051 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.09389, allocations: 23.98 kB / 391.8 MB, free: 4.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/0.09456, allocations: 425.9 kB / 392.2 MB, free: 3.578 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.09488, allocations: 0.7197 MB / 392.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.09493, allocations: 11.44 kB / 392.9 MB, free: 2.82 MB / 286.1 MB Notification: Performance of SimCode: time 3.5e-07/0.09494, allocations: 7.938 kB / 392.9 MB, free: 2.812 MB / 286.1 MB Notification: Performance of Templates: time 0.003442/0.09839, allocations: 1.72 MB / 394.7 MB, free: 1.09 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)