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.001401/0.001401, allocations: 113.2 kB / 16.37 MB, free: 6.004 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.001311/0.001311, allocations: 196 kB / 17.31 MB, free: 5.613 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.742/1.742, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04311/0.04311, allocations: 8.114 MB / 278.6 MB, free: 3.969 MB / 222.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.002128/0.002128, allocations: 76.45 kB / 338.6 MB, free: 7.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3969, allocations: 48.29 MB / 386.9 MB, free: 51.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.003156/0.4001, allocations: 0.7128 MB / 387.6 MB, free: 51.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000852/0.401, allocations: 172.2 kB / 387.8 MB, free: 50.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.4013, allocations: 3.656 kB / 387.8 MB, free: 50.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.664e-05/0.4014, allocations: 20.28 kB / 387.8 MB, free: 50.94 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.4015, allocations: 18.06 kB / 387.9 MB, free: 50.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.4019, allocations: 52.27 kB / 387.9 MB, free: 50.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.4023, allocations: 140.7 kB / 388 MB, free: 50.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.4026, allocations: 86.7 kB / 388.1 MB, free: 50.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.4027, allocations: 57.11 kB / 388.2 MB, free: 50.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.4029, allocations: 73.88 kB / 388.3 MB, free: 50.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/0.403, allocations: 20.72 kB / 388.3 MB, free: 50.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.648e-05/0.403, allocations: 18.94 kB / 388.3 MB, free: 50.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.4031, allocations: 44.78 kB / 388.3 MB, free: 50.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.4032, allocations: 76.59 kB / 388.4 MB, free: 50.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.4036, allocations: 193.5 kB / 388.6 MB, free: 50.56 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4036, allocations: 0 / 388.6 MB, free: 50.56 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4036, allocations: 3.188 kB / 388.6 MB, free: 50.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.4036, allocations: 0 / 388.6 MB, free: 50.56 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006504/0.4043, allocations: 462.7 kB / 389.1 MB, free: 50.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4044, allocations: 11.22 kB / 389.1 MB, free: 50.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.4044, allocations: 23.22 kB / 389.1 MB, free: 50.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.4047, allocations: 219.8 kB / 389.3 MB, free: 49.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.4047, allocations: 17.19 kB / 389.3 MB, free: 49.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.4047, allocations: 17.72 kB / 389.3 MB, free: 49.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.4051, allocations: 166.5 kB / 389.5 MB, free: 49.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4051, allocations: 1.594 kB / 389.5 MB, free: 49.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.4052, allocations: 17.75 kB / 389.5 MB, free: 49.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4052, allocations: 3.781 kB / 389.5 MB, free: 49.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.4054, allocations: 117.3 kB / 389.6 MB, free: 49.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009798/0.4064, allocations: 0.5765 MB / 390.2 MB, free: 49.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.4067, allocations: 120.5 kB / 390.3 MB, free: 49.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.4068, allocations: 80.02 kB / 390.4 MB, free: 49.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.4068, allocations: 2.219 kB / 390.4 MB, free: 49.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4069, allocations: 42.56 kB / 390.5 MB, free: 49.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.4069, allocations: 0 / 390.5 MB, free: 49.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004072/0.4073, allocations: 175.2 kB / 390.6 MB, free: 49.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.4073, allocations: 55.25 kB / 390.7 MB, free: 49.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.4074, allocations: 130.7 kB / 390.8 MB, free: 48.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.4075, allocations: 26.86 kB / 390.8 MB, free: 48.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.4076, allocations: 129.3 kB / 391 MB, free: 48.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.4076, allocations: 53.89 kB / 391 MB, free: 48.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.4077, allocations: 30.84 kB / 391 MB, free: 48.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.4077, allocations: 325.4 kB / 391.4 MB, free: 48.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.081e-05/0.4078, allocations: 44.98 kB / 391.4 MB, free: 48.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.4079, allocations: 50.52 kB / 391.5 MB, free: 48.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.4081, allocations: 101.3 kB / 391.6 MB, free: 48.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4081, allocations: 1.094 kB / 391.6 MB, free: 48.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002185/0.4083, allocations: 148.2 kB / 391.7 MB, free: 48.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4083, allocations: 5.031 kB / 391.7 MB, free: 48.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4083, allocations: 1.438 kB / 391.7 MB, free: 48.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4084, allocations: 0 / 391.7 MB, free: 48.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.4086, allocations: 41.08 kB / 391.7 MB, free: 48.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4086, allocations: 2.969 kB / 391.7 MB, free: 48.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.4086, allocations: 15.81 kB / 391.8 MB, free: 48.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4086, allocations: 10.48 kB / 391.8 MB, free: 48.2 MB / 318.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 8.391e-05/0.4087, allocations: 122.9 kB / 391.9 MB, free: 48.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.4088, allocations: 13.75 kB / 391.9 MB, free: 48.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.4088, allocations: 19.7 kB / 391.9 MB, free: 48.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4088, allocations: 2.438 kB / 391.9 MB, free: 48.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4088, allocations: 1.219 kB / 391.9 MB, free: 48.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4088, allocations: 5.859 kB / 391.9 MB, free: 48.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.4091, allocations: 270.7 kB / 392.2 MB, free: 47.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4091, allocations: 0 / 392.2 MB, free: 47.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.4093, allocations: 33.38 kB / 392.2 MB, free: 47.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4093, allocations: 0 / 392.2 MB, free: 47.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.4094, allocations: 3.156 kB / 392.2 MB, free: 47.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4094, allocations: 2.828 kB / 392.2 MB, free: 47.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4094, allocations: 1.188 kB / 392.2 MB, free: 47.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.4097, allocations: 296.9 kB / 392.5 MB, free: 47.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.4098, allocations: 92.22 kB / 392.6 MB, free: 47.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.4098, allocations: 5.703 kB / 392.6 MB, free: 47.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.4099, allocations: 1.062 kB / 392.6 MB, free: 47.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.41, allocations: 16.27 kB / 392.6 MB, free: 47.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.41, allocations: 11.12 kB / 392.7 MB, free: 47.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.004e-05/0.41, allocations: 95.67 kB / 392.7 MB, free: 47.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4101, allocations: 1.281 kB / 392.7 MB, free: 47.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.4103, allocations: 33.38 kB / 392.8 MB, free: 47.4 MB / 318.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.0001011/0.4104, allocations: 101.1 kB / 392.9 MB, free: 47.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.4107, allocations: 114.1 kB / 393 MB, free: 47.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4107, allocations: 6.938 kB / 393 MB, free: 47.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.4108, allocations: 58.95 kB / 393.1 MB, free: 47.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.4112, allocations: 25.25 kB / 393.1 MB, free: 47.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.4118, allocations: 320.1 kB / 393.4 MB, free: 47.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.4121, allocations: 0.7227 MB / 394.1 MB, free: 46.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.005e-05/0.4121, allocations: 13.58 kB / 394.1 MB, free: 46.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.4122, allocations: 15.28 kB / 394.1 MB, free: 46.3 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4122, allocations: 0 / 394.1 MB, free: 46.3 MB / 318.1 MB Notification: Performance of Templates: time 0.00445/0.4166, allocations: 1.079 MB / 395.2 MB, free: 46.23 MB / 318.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 -s cvode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)