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: 118.8 kB / 16.37 MB, free: 6.004 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.001418/0.001418, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.738/1.738, 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.04079/0.04079, allocations: 8.115 MB / 278.6 MB, free: 3.969 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.001471/0.001471, allocations: 67.91 kB / 338.6 MB, free: 7.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3074, 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.002749/0.3102, allocations: 1.211 MB / 388.1 MB, free: 50.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006415/0.3109, allocations: 384.3 kB / 388.5 MB, free: 50.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.311, allocations: 7.312 kB / 388.5 MB, free: 50.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.3112, allocations: 53.11 kB / 388.6 MB, free: 50.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.3113, allocations: 51.23 kB / 388.6 MB, free: 50.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.3117, allocations: 135.4 kB / 388.8 MB, free: 50.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.3122, allocations: 390 kB / 389.1 MB, free: 50.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004434/0.3126, allocations: 256.4 kB / 389.4 MB, free: 50.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.3128, allocations: 171.2 kB / 389.5 MB, free: 49.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.3131, allocations: 188.5 kB / 389.7 MB, free: 49.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.805e-05/0.3132, allocations: 59.91 kB / 389.8 MB, free: 49.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.062e-05/0.3133, allocations: 59.41 kB / 389.9 MB, free: 49.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.3134, allocations: 120.8 kB / 390 MB, free: 49.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.3137, allocations: 228 kB / 390.2 MB, free: 49.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.3144, allocations: 0.5794 MB / 390.8 MB, free: 49.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3145, allocations: 1.312 kB / 390.8 MB, free: 49.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3145, allocations: 1.125 kB / 390.8 MB, free: 49.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3145, allocations: 1.188 kB / 390.8 MB, free: 49.3 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.00106/0.3156, allocations: 0.7151 MB / 391.5 MB, free: 48.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3156, allocations: 12.39 kB / 391.5 MB, free: 48.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3157, allocations: 55.16 kB / 391.6 MB, free: 48.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.3161, allocations: 345.9 kB / 391.9 MB, free: 48.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.3162, allocations: 31.84 kB / 391.9 MB, free: 48.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.22e-05/0.3163, allocations: 49.89 kB / 392 MB, free: 48.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006833/0.317, allocations: 430.2 kB / 392.4 MB, free: 48.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.317, allocations: 5.031 kB / 392.4 MB, free: 48.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.3171, allocations: 23.31 kB / 392.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.3171, allocations: 10 kB / 392.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.3175, allocations: 262 kB / 392.7 MB, free: 48.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.3195, allocations: 1.429 MB / 394.1 MB, free: 47.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.3202, allocations: 372.1 kB / 394.5 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.3204, allocations: 167.9 kB / 394.6 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3205, allocations: 5.219 kB / 394.6 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3205, allocations: 47.73 kB / 394.7 MB, free: 46.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.3205, allocations: 1.375 kB / 394.7 MB, free: 46.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.000651/0.3211, allocations: 354.9 kB / 395 MB, free: 46.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3212, allocations: 135.4 kB / 395.2 MB, free: 46.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.3215, allocations: 267.2 kB / 395.4 MB, free: 46.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3215, allocations: 36.36 kB / 395.5 MB, free: 46.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3217, allocations: 231 kB / 395.7 MB, free: 46.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.3217, allocations: 118.4 kB / 395.8 MB, free: 45.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3219, allocations: 71.64 kB / 395.9 MB, free: 45.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.322, allocations: 344.6 kB / 396.2 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.3221, allocations: 98.62 kB / 396.3 MB, free: 45.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.3223, allocations: 189.8 kB / 396.5 MB, free: 45.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.3227, allocations: 307.5 kB / 396.8 MB, free: 45.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3227, allocations: 0.8125 kB / 396.8 MB, free: 45.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007238/0.3234, allocations: 365 kB / 397.2 MB, free: 45.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3235, allocations: 6.844 kB / 397.2 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3235, allocations: 2.406 kB / 397.2 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.3235, allocations: 6.062 kB / 397.2 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.3239, allocations: 87.14 kB / 397.3 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3239, allocations: 9.938 kB / 397.3 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3241, allocations: 39.78 kB / 397.3 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.3241, allocations: 11 kB / 397.3 MB, free: 44.97 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.0001443/0.3242, allocations: 174.5 kB / 397.5 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3243, allocations: 31.78 kB / 397.5 MB, free: 44.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.889e-05/0.3244, allocations: 36.67 kB / 397.6 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3244, allocations: 5.125 kB / 397.6 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.3245, allocations: 1.062 kB / 397.6 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3245, allocations: 7.156 kB / 397.6 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.3251, allocations: 466 kB / 398 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3251, allocations: 1.469 kB / 398 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.3255, allocations: 69.33 kB / 398.1 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3255, allocations: 2.812 kB / 398.1 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3255, allocations: 11.38 kB / 398.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3255, allocations: 2.922 kB / 398.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3255, allocations: 1.188 kB / 398.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.3261, allocations: 0.7126 MB / 398.8 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.3262, allocations: 107.8 kB / 398.9 MB, free: 43.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.3263, allocations: 12.61 kB / 398.9 MB, free: 43.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3265, allocations: 6.594 kB / 398.9 MB, free: 43.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.3265, allocations: 20.31 kB / 399 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3266, allocations: 14.73 kB / 399 MB, free: 43.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.3267, allocations: 194.6 kB / 399.2 MB, free: 43.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3267, allocations: 0 / 399.2 MB, free: 43.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004682/0.3272, allocations: 84.75 kB / 399.3 MB, free: 43.62 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 0.0001099/0.3273, allocations: 109.7 kB / 399.4 MB, free: 43.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.3278, allocations: 260.5 kB / 399.6 MB, free: 43.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3278, allocations: 0.5 kB / 399.6 MB, free: 43.44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.3279, allocations: 139.2 kB / 399.8 MB, free: 43.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007591/0.3287, allocations: 72.02 kB / 399.8 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3298, allocations: 0.7205 MB / 400.5 MB, free: 42.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3302, allocations: 0.8186 MB / 401.4 MB, free: 42.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.3304, allocations: 33.97 kB / 401.4 MB, free: 42.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.3304, allocations: 25.75 kB / 401.4 MB, free: 42.16 MB / 318.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3304, allocations: 4 kB / 401.4 MB, free: 42.16 MB / 318.1 MB Notification: Performance of Templates: time 0.006813/0.3373, allocations: 2.816 MB / 404.2 MB, free: 41.07 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 cvode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)