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.001053/0.001053, allocations: 92.31 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.001557/0.001556, 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.536/1.536, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03926/0.03926, allocations: 8.111 MB / 278.5 MB, free: 13.23 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.0004815/0.0004816, allocations: 14.97 kB / 338.3 MB, free: 27.03 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.09274, allocations: 49.27 MB / 387.5 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001227/0.09402, allocations: 0.8092 MB / 388.4 MB, free: 8.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007609/0.09481, allocations: 370.7 kB / 388.7 MB, free: 8.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.09502, allocations: 8 kB / 388.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.844e-05/0.09512, allocations: 31.69 kB / 388.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.09528, allocations: 23.73 kB / 388.8 MB, free: 8.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.09557, allocations: 83.91 kB / 388.9 MB, free: 8.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.09613, allocations: 347.2 kB / 389.2 MB, free: 8.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.0965, allocations: 182.4 kB / 389.4 MB, free: 7.863 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.09669, allocations: 127.3 kB / 389.5 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.09695, allocations: 147.1 kB / 389.6 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.127e-05/0.09703, allocations: 27.98 kB / 389.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.876e-05/0.09709, allocations: 28 kB / 389.7 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.09717, allocations: 71.64 kB / 389.8 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.09728, allocations: 97.45 kB / 389.9 MB, free: 7.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.09774, allocations: 466.8 kB / 390.3 MB, free: 6.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.09775, allocations: 0 / 390.3 MB, free: 6.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.09776, allocations: 0 / 390.3 MB, free: 6.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.09779, allocations: 0 / 390.3 MB, free: 6.91 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.001335/0.09913, allocations: 0.6279 MB / 391 MB, free: 6.234 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.0992, allocations: 8.031 kB / 391 MB, free: 6.227 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.09938, allocations: 55.34 kB / 391 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.09989, allocations: 326.2 kB / 391.3 MB, free: 5.812 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.09994, allocations: 33 kB / 391.4 MB, free: 5.781 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.1001, allocations: 44 kB / 391.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008052/0.1009, allocations: 417.9 kB / 391.8 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.1009, allocations: 11.91 kB / 391.8 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.101, allocations: 20 kB / 391.8 MB, free: 5.281 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.101, allocations: 15.98 kB / 391.9 MB, free: 5.266 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.1016, allocations: 256.9 kB / 392.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.1037, allocations: 1.456 MB / 393.6 MB, free: 3.496 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.1043, allocations: 362.1 kB / 393.9 MB, free: 3.105 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.1045, allocations: 163.4 kB / 394.1 MB, free: 2.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1045, allocations: 8 kB / 394.1 MB, free: 2.926 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.1046, allocations: 42.5 kB / 394.1 MB, free: 2.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.1046, allocations: 0 / 394.1 MB, free: 2.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0007226/0.1053, allocations: 358.9 kB / 394.5 MB, free: 2.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.1054, allocations: 136.5 kB / 394.6 MB, free: 2.355 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.1057, allocations: 263 kB / 394.9 MB, free: 2.086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.1058, allocations: 37.7 kB / 394.9 MB, free: 2.043 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.1059, allocations: 232 kB / 395.1 MB, free: 1.809 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.966e-05/0.1061, allocations: 122.2 kB / 395.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.1061, allocations: 8 kB / 395.3 MB, free: 1.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.1063, allocations: 342.8 kB / 395.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1065, allocations: 92.84 kB / 395.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.1068, allocations: 190.6 kB / 395.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.107, allocations: 131.8 kB / 396 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.107, allocations: 0 / 396 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005576/0.1076, allocations: 357.2 kB / 396.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1076, allocations: 8 kB / 396.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1077, allocations: 0 / 396.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.1077, allocations: 8 kB / 396.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.108, allocations: 88.08 kB / 396.5 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.108, allocations: 16.05 kB / 396.5 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1082, allocations: 31.69 kB / 396.5 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.1082, allocations: 12 kB / 396.5 MB, free: 388 kB / 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.0001758/0.1084, allocations: 177.6 kB / 396.7 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.1085, allocations: 31.62 kB / 396.7 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.788e-05/0.1086, allocations: 41.73 kB / 396.8 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1086, allocations: 4 kB / 396.8 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.1086, allocations: 8 kB / 396.8 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1086, allocations: 4 kB / 396.8 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.1093, allocations: 457.2 kB / 397.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1093, allocations: 3.953 kB / 397.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.1096, allocations: 63.91 kB / 397.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.1096, allocations: 4 kB / 397.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.1097, allocations: 8 kB / 397.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1097, allocations: 0 / 397.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1097, allocations: 0 / 397.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000874/0.1106, allocations: 0.7126 MB / 398 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/0.1107, allocations: 116.6 kB / 398.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.1107, allocations: 8 kB / 398.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1109, allocations: 12 kB / 398.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.111, allocations: 19.97 kB / 398.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.1111, allocations: 16 kB / 398.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.1112, allocations: 186 kB / 398.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1112, allocations: 4 kB / 398.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004825/0.1117, allocations: 79.69 kB / 398.4 MB, free: 14.35 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.0001323/0.1119, allocations: 111 kB / 398.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.1123, allocations: 260.9 kB / 398.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1124, allocations: 4.062 kB / 398.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.1126, allocations: 127.8 kB / 398.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.1133, allocations: 64.77 kB / 399 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1148, allocations: 0.8918 MB / 399.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.1154, allocations: 0.8078 MB / 400.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.1155, allocations: 30.97 kB / 400.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.1156, allocations: 31.38 kB / 400.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1156, allocations: 0 / 400.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Templates: time 0.00699/0.1226, allocations: 2.589 MB / 403.3 MB, free: 9.387 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: