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.0007961/0.0007962, allocations: 92.39 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.0009617/0.0009618, 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.386/1.386, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03962/0.03962, allocations: 8.106 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.0005831/0.0005831, allocations: 12 kB / 338.3 MB, free: 27.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.1005, allocations: 49.29 MB / 387.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.0009891/0.1015, allocations: 397.8 kB / 387.9 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004859/0.102, allocations: 171.5 kB / 388.1 MB, free: 9.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.1021, allocations: 4 kB / 388.1 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.1022, allocations: 7.875 kB / 388.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.287e-05/0.1023, allocations: 3.938 kB / 388.1 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1025, allocations: 43.89 kB / 388.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1027, allocations: 123.8 kB / 388.3 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.103, allocations: 70.05 kB / 388.4 MB, free: 8.871 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.1031, allocations: 47.78 kB / 388.4 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1032, allocations: 55.69 kB / 388.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.1032, allocations: 12 kB / 388.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.618e-05/0.1032, allocations: 8 kB / 388.5 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.1033, allocations: 35.84 kB / 388.5 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.157e-05/0.1034, allocations: 45.64 kB / 388.6 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1036, allocations: 139.7 kB / 388.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1036, allocations: 0 / 388.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1036, allocations: 0 / 388.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1036, allocations: 0 / 388.7 MB, free: 8.527 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.0006332/0.1042, allocations: 439.4 kB / 389.1 MB, free: 8.047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1043, allocations: 12.03 kB / 389.1 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.1044, allocations: 15.81 kB / 389.2 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1046, allocations: 210.8 kB / 389.4 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.1047, allocations: 12.38 kB / 389.4 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.1047, allocations: 23.94 kB / 389.4 MB, free: 7.738 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.105, allocations: 164.6 kB / 389.6 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1051, allocations: 8 kB / 389.6 MB, free: 7.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1051, allocations: 4 kB / 389.6 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.1051, allocations: 8 kB / 389.6 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.1053, allocations: 115.6 kB / 389.7 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009799/0.1063, allocations: 0.5859 MB / 390.3 MB, free: 6.805 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1066, allocations: 126.5 kB / 390.4 MB, free: 6.672 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1067, allocations: 80.64 kB / 390.5 MB, free: 6.594 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1067, allocations: 11.94 kB / 390.5 MB, free: 6.582 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1067, allocations: 30.56 kB / 390.5 MB, free: 6.543 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.1067, allocations: 0 / 390.5 MB, free: 6.543 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003425/0.1071, allocations: 177.8 kB / 390.7 MB, free: 6.363 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1071, allocations: 51.41 kB / 390.7 MB, free: 6.301 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.1073, allocations: 133.7 kB / 390.9 MB, free: 6.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1073, allocations: 29.7 kB / 390.9 MB, free: 6.125 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.1074, allocations: 120.3 kB / 391 MB, free: 6.004 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.1074, allocations: 59.25 kB / 391.1 MB, free: 5.945 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.1074, allocations: 4 kB / 391.1 MB, free: 5.941 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1076, allocations: 322.8 kB / 391.4 MB, free: 5.617 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.1076, allocations: 39.98 kB / 391.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.1077, allocations: 50.33 kB / 391.5 MB, free: 5.531 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.027e-05/0.1078, allocations: 44 kB / 391.5 MB, free: 5.488 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1078, allocations: 0 / 391.5 MB, free: 5.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002137/0.108, allocations: 149.5 kB / 391.7 MB, free: 5.336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1081, allocations: 4 kB / 391.7 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1081, allocations: 0 / 391.7 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1081, allocations: 4 kB / 391.7 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1083, allocations: 39.91 kB / 391.7 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1083, allocations: 0 / 391.7 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.1083, allocations: 15.84 kB / 391.7 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1083, allocations: 0 / 391.7 MB, free: 5.273 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.1084, allocations: 125.8 kB / 391.9 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1085, allocations: 15.84 kB / 391.9 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.1085, allocations: 16.5 kB / 391.9 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1085, allocations: 4 kB / 391.9 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.1086, allocations: 4 kB / 391.9 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1086, allocations: 3.984 kB / 391.9 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.1088, allocations: 269.5 kB / 392.2 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1089, allocations: 4 kB / 392.2 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.109, allocations: 27.92 kB / 392.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.109, allocations: 0 / 392.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1091, allocations: 8 kB / 392.2 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1091, allocations: 3.984 kB / 392.2 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1091, allocations: 0 / 392.2 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1094, allocations: 301.2 kB / 392.5 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1095, allocations: 85.02 kB / 392.6 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.1095, allocations: 8 kB / 392.6 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.1096, allocations: 4 kB / 392.6 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.1096, allocations: 12.03 kB / 392.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1096, allocations: 0 / 392.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.438e-05/0.1097, allocations: 99.2 kB / 392.7 MB, free: 4.215 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1097, allocations: 4 kB / 392.7 MB, free: 4.211 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000266/0.11, allocations: 39.84 kB / 392.7 MB, free: 4.172 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.0001064/0.1101, allocations: 95.25 kB / 392.8 MB, free: 4.066 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1103, allocations: 111.8 kB / 392.9 MB, free: 3.957 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1103, allocations: 3.938 kB / 393 MB, free: 3.953 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/0.1104, allocations: 63.92 kB / 393 MB, free: 3.891 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1108, allocations: 19.94 kB / 393 MB, free: 3.871 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.1114, allocations: 398.3 kB / 393.4 MB, free: 3.457 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1117, allocations: 0.7201 MB / 394.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.1118, allocations: 8.875 kB / 394.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.1118, allocations: 15.44 kB / 394.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1118, allocations: 4 kB / 394.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of Templates: time 0.003462/0.1153, allocations: 0.9708 MB / 395.1 MB, free: 1.711 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: