Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.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.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") translateModel(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 100.5 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.001485/0.001485, allocations: 177.3 kB / 15.94 MB, free: 228 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.444/1.444, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03929/0.03929, allocations: 8.097 MB / 278.5 MB, free: 13.22 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 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.000782/0.0007821, allocations: 12 kB / 338.2 MB, free: 27.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1089, allocations: 49.27 MB / 387.5 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001557/0.1105, allocations: 0.8209 MB / 388.3 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000802/0.1113, allocations: 366.8 kB / 388.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1115, allocations: 8 kB / 388.7 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.524e-05/0.1116, allocations: 31.67 kB / 388.7 MB, free: 8.508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.1118, allocations: 31.83 kB / 388.8 MB, free: 8.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1121, allocations: 95.84 kB / 388.8 MB, free: 8.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.1125, allocations: 207.6 kB / 389 MB, free: 8.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.113, allocations: 190.3 kB / 389.2 MB, free: 7.984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1132, allocations: 115.4 kB / 389.3 MB, free: 7.871 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.1134, allocations: 147.2 kB / 389.5 MB, free: 7.727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.1135, allocations: 24 kB / 389.5 MB, free: 7.703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-05/0.1136, allocations: 24 kB / 389.5 MB, free: 7.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.329e-05/0.1137, allocations: 79.67 kB / 389.6 MB, free: 7.602 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.823e-05/0.1138, allocations: 97.45 kB / 389.7 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.1143, allocations: 462.8 kB / 390.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1143, allocations: 0 / 390.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1144, allocations: 0 / 390.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1144, allocations: 4 kB / 390.2 MB, free: 7.043 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001081/0.1155, allocations: 0.6239 MB / 390.8 MB, free: 6.371 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1155, allocations: 12.03 kB / 390.8 MB, free: 6.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.1157, allocations: 55.28 kB / 390.9 MB, free: 6.305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.1162, allocations: 334.2 kB / 391.2 MB, free: 5.938 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.1162, allocations: 29 kB / 391.2 MB, free: 5.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.1163, allocations: 48 kB / 391.3 MB, free: 5.863 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000887/0.1172, allocations: 417.9 kB / 391.7 MB, free: 5.438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.1173, allocations: 7.844 kB / 391.7 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.1174, allocations: 24 kB / 391.7 MB, free: 5.406 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.1174, allocations: 12 kB / 391.7 MB, free: 5.395 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006727/0.1181, allocations: 256.9 kB / 392 MB, free: 5.145 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.12, allocations: 1.456 MB / 393.4 MB, free: 3.625 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.1205, allocations: 354.1 kB / 393.8 MB, free: 3.242 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1205, allocations: 4 kB / 393.8 MB, free: 3.238 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1206, allocations: 46.5 kB / 393.8 MB, free: 3.184 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.1206, allocations: 0 / 393.8 MB, free: 3.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005997/0.1212, allocations: 357.7 kB / 394.2 MB, free: 2.828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.1213, allocations: 132.5 kB / 394.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.1215, allocations: 263 kB / 394.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.1216, allocations: 29.7 kB / 394.6 MB, free: 2.363 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1217, allocations: 240 kB / 394.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.1218, allocations: 122.2 kB / 394.9 MB, free: 2 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.1218, allocations: 7.938 kB / 394.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.122, allocations: 346.8 kB / 395.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1221, allocations: 92.84 kB / 395.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1223, allocations: 186.6 kB / 395.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.1225, allocations: 127.9 kB / 395.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.1225, allocations: 7.953 kB / 395.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004593/0.123, allocations: 349 kB / 396 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.123, allocations: 6.656 kB / 396 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.123, allocations: 5.25 kB / 396 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.123, allocations: 4 kB / 396 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.1234, allocations: 92.08 kB / 396.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1234, allocations: 8 kB / 396.1 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1235, allocations: 35.67 kB / 396.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.1236, allocations: 12 kB / 396.2 MB, free: 0.6992 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 48 * 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.0001731/0.1237, allocations: 177.7 kB / 396.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.1238, allocations: 35.58 kB / 396.4 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.338e-05/0.1239, allocations: 38.11 kB / 396.4 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.1239, allocations: 8 kB / 396.4 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.124, allocations: 0 / 396.4 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.124, allocations: 4 kB / 396.4 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.1246, allocations: 465.1 kB / 396.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1246, allocations: 3.984 kB / 396.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.125, allocations: 67.86 kB / 397 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.125, allocations: 0 / 397 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.125, allocations: 8 kB / 397 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.716e-06/0.125, allocations: 4 kB / 397 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.125, allocations: 0 / 397 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.1257, allocations: 0.7489 MB / 397.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.1258, allocations: 108.7 kB / 397.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.1258, allocations: 8 kB / 397.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.1261, allocations: 8 kB / 397.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.1261, allocations: 27.91 kB / 397.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1261, allocations: 15.95 kB / 397.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.1263, allocations: 190 kB / 398.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1263, allocations: 0 / 398.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000425/0.1267, allocations: 75.69 kB / 398.1 MB, free: 14.61 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.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 (32): * Single equations (assignments): 32 * 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.0001194/0.1268, allocations: 115.2 kB / 398.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.1272, allocations: 263.9 kB / 398.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1272, allocations: 0 / 398.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1274, allocations: 119.8 kB / 398.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.1279, allocations: 64.77 kB / 398.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1291, allocations: 0.8844 MB / 399.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1295, allocations: 0.8232 MB / 400.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.1296, allocations: 30.72 kB / 400.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.1297, allocations: 27.44 kB / 400.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1297, allocations: 0 / 400.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Templates: time 0.005852/0.1355, allocations: 2.579 MB / 403 MB, free: 9.66 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.makefile Environment - environmentSimulation: (rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & ./ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1) Environment - environmentSimulation: