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.001244/0.001244, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001217/0.001218, allocations: 191 kB / 17.29 MB, free: 5.516 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04341/0.04341, allocations: 8.108 MB / 278.6 MB, free: 3.941 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.001717/0.001718, allocations: 67.91 kB / 338.6 MB, free: 7.812 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2262, allocations: 48.28 MB / 386.9 MB, free: 51.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002365/0.2286, allocations: 1.222 MB / 388.1 MB, free: 50.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005502/0.2292, allocations: 375 kB / 388.5 MB, free: 50.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.2293, allocations: 8.531 kB / 388.5 MB, free: 50.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.643e-05/0.2294, allocations: 52.69 kB / 388.6 MB, free: 50.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.2295, allocations: 47.67 kB / 388.6 MB, free: 50.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.2298, allocations: 142.6 kB / 388.7 MB, free: 50.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.2302, allocations: 391.8 kB / 389.1 MB, free: 50.1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.2306, allocations: 248.8 kB / 389.4 MB, free: 50 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.2307, allocations: 178.2 kB / 389.5 MB, free: 49.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.2309, allocations: 192.8 kB / 389.7 MB, free: 49.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.453e-05/0.231, allocations: 58.91 kB / 389.8 MB, free: 49.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.1e-05/0.2311, allocations: 59.34 kB / 389.8 MB, free: 49.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.2312, allocations: 113.2 kB / 390 MB, free: 49.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.2313, allocations: 220 kB / 390.2 MB, free: 49.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.2319, allocations: 0.5913 MB / 390.8 MB, free: 49.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2319, allocations: 0.875 kB / 390.8 MB, free: 49.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2319, allocations: 0.5625 kB / 390.8 MB, free: 49.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2319, allocations: 0.5938 kB / 390.8 MB, free: 49.27 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.0008885/0.2328, allocations: 0.7138 MB / 391.5 MB, free: 48.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2329, allocations: 14.5 kB / 391.5 MB, free: 48.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.2329, allocations: 55.5 kB / 391.5 MB, free: 48.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2333, allocations: 340.3 kB / 391.9 MB, free: 48.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2333, allocations: 35.06 kB / 391.9 MB, free: 48.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.2334, allocations: 49.94 kB / 392 MB, free: 48.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.234, allocations: 429.5 kB / 392.4 MB, free: 48.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.234, allocations: 2.25 kB / 392.4 MB, free: 48.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.2341, allocations: 26.06 kB / 392.4 MB, free: 48.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.2341, allocations: 12.3 kB / 392.4 MB, free: 48.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.2345, allocations: 258 kB / 392.7 MB, free: 48.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.2363, allocations: 1.428 MB / 394.1 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.2368, allocations: 368.4 kB / 394.5 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.237, allocations: 173.4 kB / 394.6 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.237, allocations: 4.781 kB / 394.6 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.237, allocations: 41.14 kB / 394.7 MB, free: 46.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.237, allocations: 0 / 394.7 MB, free: 46.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005812/0.2376, allocations: 356.3 kB / 395 MB, free: 46.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.2377, allocations: 139 kB / 395.2 MB, free: 46.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.2379, allocations: 266.8 kB / 395.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2379, allocations: 34.42 kB / 395.5 MB, free: 46.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.238, allocations: 237.3 kB / 395.7 MB, free: 46.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.2381, allocations: 118.4 kB / 395.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.2382, allocations: 65.95 kB / 395.9 MB, free: 45.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.2383, allocations: 351.2 kB / 396.2 MB, free: 45.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2384, allocations: 97.75 kB / 396.3 MB, free: 45.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.2386, allocations: 193 kB / 396.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.2389, allocations: 304.1 kB / 396.8 MB, free: 45.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2389, allocations: 1.188 kB / 396.8 MB, free: 45.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004666/0.2394, allocations: 364 kB / 397.1 MB, free: 44.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2394, allocations: 6.312 kB / 397.2 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2395, allocations: 3.203 kB / 397.2 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2395, allocations: 5.625 kB / 397.2 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.2398, allocations: 87.17 kB / 397.2 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.2398, allocations: 9.859 kB / 397.3 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.24, allocations: 34.72 kB / 397.3 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.24, allocations: 22.5 kB / 397.3 MB, free: 44.95 MB / 318.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.0001262/0.2401, allocations: 165.9 kB / 397.5 MB, free: 44.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.2402, allocations: 31.91 kB / 397.5 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.2403, allocations: 40.78 kB / 397.5 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.2403, allocations: 4.781 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2403, allocations: 1.938 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2403, allocations: 7.391 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.2409, allocations: 456.8 kB / 398 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2409, allocations: 6.031 kB / 398 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.2413, allocations: 68.95 kB / 398.1 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2413, allocations: 6.703 kB / 398.1 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2413, allocations: 8.016 kB / 398.1 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2413, allocations: 2.188 kB / 398.1 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2413, allocations: 5.812 kB / 398.1 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.2419, allocations: 0.7033 MB / 398.8 MB, free: 43.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.2419, allocations: 113.7 kB / 398.9 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.242, allocations: 7.656 kB / 398.9 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.2422, allocations: 6.438 kB / 398.9 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.2422, allocations: 25.02 kB / 399 MB, free: 43.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.2423, allocations: 11.81 kB / 399 MB, free: 43.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.2424, allocations: 195.7 kB / 399.2 MB, free: 43.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2424, allocations: 7.938 kB / 399.2 MB, free: 43.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000432/0.2429, allocations: 79.62 kB / 399.2 MB, free: 43.61 MB / 318.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 8.873e-05/0.2429, allocations: 109.8 kB / 399.3 MB, free: 43.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.2433, allocations: 265.9 kB / 399.6 MB, free: 43.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2434, allocations: 1.281 kB / 399.6 MB, free: 43.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.2435, allocations: 126.2 kB / 399.7 MB, free: 43.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006989/0.2442, allocations: 77.97 kB / 399.8 MB, free: 43.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.2452, allocations: 0.7222 MB / 400.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.2454, allocations: 0.8188 MB / 401.4 MB, free: 42.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.2456, allocations: 39.72 kB / 401.4 MB, free: 42.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.2456, allocations: 26.28 kB / 401.4 MB, free: 42.14 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.2456, allocations: 0 / 401.4 MB, free: 42.14 MB / 318.1 MB Notification: Performance of Templates: time 0.006083/0.2517, allocations: 2.814 MB / 404.2 MB, free: 41.06 MB / 318.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 -s gbode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)