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.0009631/0.000963, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001029/0.001029, allocations: 193 kB / 16.13 MB, free: 6.652 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.321/1.321, allocations: 205.1 MB / 222 MB, free: 4.953 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03664/0.03664, allocations: 8.103 MB / 277.4 MB, free: 13.6 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.001235/0.001235, allocations: 67.91 kB / 336.5 MB, free: 27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.09033, allocations: 48.29 MB / 384.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002485/0.09287, allocations: 1.248 MB / 386 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005596/0.09345, allocations: 378.6 kB / 386.4 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.92e-05/0.09356, allocations: 4 kB / 386.4 MB, free: 9.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.09367, allocations: 31.67 kB / 386.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.09383, allocations: 27.75 kB / 386.5 MB, free: 8.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.09409, allocations: 123.9 kB / 386.6 MB, free: 8.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.09443, allocations: 359.1 kB / 386.9 MB, free: 8.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.09475, allocations: 218.1 kB / 387.2 MB, free: 8.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.09486, allocations: 143.2 kB / 387.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.09504, allocations: 182.9 kB / 387.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.0951, allocations: 32 kB / 387.5 MB, free: 7.938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.09515, allocations: 32 kB / 387.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.09524, allocations: 95.56 kB / 387.6 MB, free: 7.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.09539, allocations: 194.9 kB / 387.8 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.09583, allocations: 0.5645 MB / 388.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.09584, allocations: 4 kB / 388.4 MB, free: 7.051 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09585, allocations: 0 / 388.4 MB, free: 7.051 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.09586, allocations: 0 / 388.4 MB, free: 7.051 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.0009931/0.09686, allocations: 0.7177 MB / 389.1 MB, free: 6.277 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.09691, allocations: 8.031 kB / 389.1 MB, free: 6.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.09702, allocations: 52.38 kB / 389.2 MB, free: 6.219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.0974, allocations: 335.3 kB / 389.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.09744, allocations: 37.38 kB / 389.5 MB, free: 5.816 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.09752, allocations: 40.38 kB / 389.6 MB, free: 5.777 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.09817, allocations: 430.4 kB / 390 MB, free: 5.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.0982, allocations: 192 / 390 MB, free: 5.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.09825, allocations: 23.94 kB / 390 MB, free: 5.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.09826, allocations: 8 kB / 390 MB, free: 5.309 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.09867, allocations: 264.9 kB / 390.3 MB, free: 5.051 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.1004, allocations: 1.456 MB / 391.7 MB, free: 3.531 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.1009, allocations: 358.6 kB / 392.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.1011, allocations: 179.5 kB / 392.3 MB, free: 2.957 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1012, allocations: 4 kB / 392.3 MB, free: 2.953 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1012, allocations: 34.56 kB / 392.3 MB, free: 2.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.1012, allocations: 4 kB / 392.3 MB, free: 2.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005906/0.1018, allocations: 345.9 kB / 392.6 MB, free: 2.562 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.1019, allocations: 140.5 kB / 392.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1021, allocations: 274.9 kB / 393 MB, free: 2.117 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1021, allocations: 33.7 kB / 393.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.1023, allocations: 236 kB / 393.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.1024, allocations: 118.2 kB / 393.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.1025, allocations: 70.05 kB / 393.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1026, allocations: 350.7 kB / 393.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1027, allocations: 96.84 kB / 393.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.1029, allocations: 190.6 kB / 394.1 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.1033, allocations: 310 kB / 394.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1033, allocations: 4 kB / 394.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000454/0.1038, allocations: 356.9 kB / 394.8 MB, free: 284 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1038, allocations: 8 kB / 394.8 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1038, allocations: 4 kB / 394.8 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1038, allocations: 7.984 kB / 394.8 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.1042, allocations: 84.09 kB / 394.9 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1042, allocations: 11.98 kB / 394.9 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1043, allocations: 35.62 kB / 394.9 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1043, allocations: 16 kB / 394.9 MB, free: 116 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.1045, allocations: 165.8 kB / 395.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.1046, allocations: 31.62 kB / 395.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.766e-05/0.1047, allocations: 41.69 kB / 395.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1047, allocations: 4 kB / 395.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1047, allocations: 7.984 kB / 395.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1047, allocations: 11.92 kB / 395.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.1053, allocations: 457.1 kB / 395.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1053, allocations: 384 / 395.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.1056, allocations: 59.97 kB / 395.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1056, allocations: 4 kB / 395.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1056, allocations: 8 kB / 395.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1056, allocations: 11.88 kB / 395.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1057, allocations: 4 kB / 395.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.1062, allocations: 0.7084 MB / 396.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.1063, allocations: 108.8 kB / 396.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.1064, allocations: 8 kB / 396.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1066, allocations: 11.94 kB / 396.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.1066, allocations: 27.84 kB / 396.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1066, allocations: 8 kB / 396.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.1068, allocations: 194 kB / 396.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1068, allocations: 4 kB / 396.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.1072, allocations: 83.59 kB / 396.9 MB, free: 14.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.936e-05/0.1073, allocations: 116.1 kB / 397 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003637/0.1077, allocations: 259.8 kB / 397.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1077, allocations: 0.5 kB / 397.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.1078, allocations: 127.8 kB / 397.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.1085, allocations: 70.11 kB / 397.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1095, allocations: 0.9082 MB / 398.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1099, allocations: 0.8076 MB / 399.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.11, allocations: 46.8 kB / 399.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.1101, allocations: 27.44 kB / 399.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1101, allocations: 0 / 399.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Templates: time 0.004971/0.115, allocations: 2.709 MB / 401.9 MB, free: 8.965 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.makefile (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)