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.001022/0.001022, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.0009665/0.0009665, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.175/1.175, 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.04262/0.04262, allocations: 8.103 MB / 278.7 MB, free: 3.953 MB / 222.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.00144/0.00144, allocations: 65.14 kB / 387.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06291/0.06436, allocations: 48.32 MB / 435.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001881/0.06627, allocations: 1.205 MB / 436.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000585/0.06688, allocations: 390.6 kB / 437.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.06703, allocations: 4 kB / 437.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.613e-05/0.06714, allocations: 59.3 kB / 437.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.0673, allocations: 55.42 kB / 437.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.06754, allocations: 131.9 kB / 437.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.06782, allocations: 395.1 kB / 437.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.06813, allocations: 252.9 kB / 438.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.06824, allocations: 167.4 kB / 438.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.06838, allocations: 198.9 kB / 438.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.75e-05/0.06844, allocations: 60 kB / 438.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.332e-05/0.06849, allocations: 56 kB / 438.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.06856, allocations: 115.6 kB / 438.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.06867, allocations: 226.8 kB / 438.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.06901, allocations: 0.5802 MB / 439.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.06902, allocations: 3.938 kB / 439.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.06902, allocations: 0 / 439.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.06904, allocations: 0 / 439.5 MB, free: 4.719 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.000813/0.06985, allocations: 0.7213 MB / 440.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.0699, allocations: 15.88 kB / 440.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.06999, allocations: 56.31 kB / 440.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.07028, allocations: 335.2 kB / 440.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.07031, allocations: 37.38 kB / 440.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.07037, allocations: 44.38 kB / 440.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.07089, allocations: 422.4 kB / 441.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.07092, allocations: 12.09 kB / 441.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.07096, allocations: 23.94 kB / 441.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.07098, allocations: 8 kB / 441.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.07134, allocations: 267.8 kB / 441.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.07281, allocations: 1.432 MB / 442.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.07323, allocations: 362.1 kB / 443.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.0734, allocations: 167.4 kB / 443.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.07342, allocations: 4.625 kB / 443.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.07345, allocations: 46.5 kB / 443.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.07346, allocations: 3.984 kB / 443.4 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005192/0.07398, allocations: 357.1 kB / 443.8 MB, free: 216 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.07401, allocations: 132.5 kB / 443.9 MB, free: 52 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.07427, allocations: 263 kB / 444.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.07432, allocations: 33.7 kB / 444.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.07446, allocations: 236 kB / 444.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/0.07455, allocations: 122.2 kB / 444.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.07465, allocations: 74.14 kB / 444.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.07479, allocations: 342.7 kB / 444.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.07495, allocations: 92.84 kB / 445 MB, free: 14.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.07517, allocations: 190.6 kB / 445.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.07555, allocations: 310 kB / 445.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.07557, allocations: 0 / 445.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005034/0.07608, allocations: 365 kB / 445.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.0761, allocations: 8 kB / 445.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.07612, allocations: 4.25 kB / 445.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.07614, allocations: 8 kB / 445.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.07649, allocations: 91.83 kB / 446 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.07651, allocations: 4 kB / 446 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.07663, allocations: 31.69 kB / 446 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.07666, allocations: 19.94 kB / 446 MB, free: 13.79 MB / 334.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.0001591/0.07682, allocations: 165.7 kB / 446.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.07694, allocations: 35.62 kB / 446.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.07702, allocations: 41.73 kB / 446.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.07704, allocations: 7.984 kB / 446.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.07704, allocations: 0 / 446.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.07711, allocations: 104.7 kB / 446.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.07716, allocations: 15.94 kB / 446.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.0774, allocations: 8 kB / 446.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.07745, allocations: 19.95 kB / 446.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007741/0.07823, allocations: 0.6131 MB / 447 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007205/0.07896, allocations: 0.7858 MB / 447.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001582/0.07913, allocations: 119.9 kB / 447.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.0793, allocations: 190 kB / 448.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of Backend: time 6.71e-07/0.07931, allocations: 4 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007774/0.08009, allocations: 254.2 kB / 448.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of SimCode: time 0.001228/0.08133, allocations: 1.146 MB / 449.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Templates: time 0.007212/0.08856, allocations: 3.669 MB / 453.2 MB, free: 6.531 MB / 334.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)