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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") translateModel(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005895/0.005895, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001621/0.001621, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.565/1.565, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05078/0.05078, allocations: 8.117 MB / 278 MB, free: 13.06 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.002249/0.00225, allocations: 76.5 kB / 386.7 MB, free: 9.059 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3107, allocations: 48.3 MB / 435 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002405/0.3131, allocations: 1.205 MB / 436.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005987/0.3138, allocations: 386 kB / 436.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.3139, allocations: 6.719 kB / 436.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.314, allocations: 52.33 kB / 436.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.3142, allocations: 50.62 kB / 436.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.3145, allocations: 142.7 kB / 436.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.3149, allocations: 391.1 kB / 437.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.3153, allocations: 261.5 kB / 437.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.3154, allocations: 165.5 kB / 437.6 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.3157, allocations: 192.8 kB / 437.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.689e-05/0.3158, allocations: 58.41 kB / 437.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.3158, allocations: 58.47 kB / 437.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.802e-05/0.3159, allocations: 125.6 kB / 438 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.3161, allocations: 219.2 kB / 438.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006912/0.3168, allocations: 0.5859 MB / 438.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3168, allocations: 1.25 kB / 438.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3168, allocations: 0 / 438.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.3168, allocations: 4 kB / 438.8 MB, free: 5.453 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.001025/0.3179, allocations: 0.7315 MB / 439.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.3179, allocations: 12.86 kB / 439.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.318, allocations: 56.48 kB / 439.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.3184, allocations: 347.9 kB / 440 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.3185, allocations: 35.66 kB / 440 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/0.3185, allocations: 45.25 kB / 440 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.3192, allocations: 429.6 kB / 440.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.3193, allocations: 5.75 kB / 440.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.3193, allocations: 21.06 kB / 440.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.3193, allocations: 10.47 kB / 440.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.3198, allocations: 261.9 kB / 440.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.322, allocations: 1.434 MB / 442.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.3226, allocations: 359.4 kB / 442.5 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.3228, allocations: 165.7 kB / 442.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.3228, allocations: 5.359 kB / 442.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3228, allocations: 47.42 kB / 442.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.3229, allocations: 0 / 442.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006041/0.3235, allocations: 352.2 kB / 443.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3235, allocations: 136.6 kB / 443.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.3238, allocations: 270.7 kB / 443.5 MB, free: 2.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3238, allocations: 36.45 kB / 443.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3239, allocations: 230.5 kB / 443.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.324, allocations: 130.9 kB / 443.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.3241, allocations: 74.98 kB / 444 MB, free: 1.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.3242, allocations: 347.8 kB / 444.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3244, allocations: 98.33 kB / 444.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.3246, allocations: 189.8 kB / 444.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.3249, allocations: 307.9 kB / 444.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3249, allocations: 0 / 444.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005/0.3254, allocations: 357.3 kB / 445.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3255, allocations: 6.438 kB / 445.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3255, allocations: 7.625 kB / 445.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.3255, allocations: 9.375 kB / 445.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.3259, allocations: 85.92 kB / 445.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.3259, allocations: 8.344 kB / 445.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.326, allocations: 34.59 kB / 445.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.326, allocations: 12.12 kB / 445.4 MB, free: 1.043 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.0001474/0.3262, allocations: 172.5 kB / 445.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3263, allocations: 40.67 kB / 445.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.569e-05/0.3264, allocations: 37.41 kB / 445.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3264, allocations: 4.156 kB / 445.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.3264, allocations: 1.469 kB / 445.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3264, allocations: 6.312 kB / 445.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.3271, allocations: 463.5 kB / 446.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3271, allocations: 0.75 kB / 446.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.3274, allocations: 65.97 kB / 446.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3274, allocations: 3 kB / 446.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.3274, allocations: 11.88 kB / 446.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3275, allocations: 2.531 kB / 446.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3275, allocations: 1.25 kB / 446.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.3281, allocations: 0.7126 MB / 446.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.3282, allocations: 107.8 kB / 447 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.3282, allocations: 15.11 kB / 447 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.3285, allocations: 8.344 kB / 447 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.3285, allocations: 19.77 kB / 447 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.3286, allocations: 16.84 kB / 447.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.3288, allocations: 190.3 kB / 447.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3288, allocations: 0 / 447.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006911/0.3295, allocations: 85.08 kB / 447.3 MB, free: 15.68 MB / 334.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.0001759/0.3297, allocations: 113.2 kB / 447.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.3302, allocations: 272.3 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3303, allocations: 0 / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.3305, allocations: 131.3 kB / 447.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008446/0.3313, allocations: 67.58 kB / 447.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3327, allocations: 0.7417 MB / 448.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.3332, allocations: 0.8114 MB / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.3334, allocations: 37.69 kB / 449.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.3335, allocations: 26.06 kB / 449.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3335, allocations: 0 / 449.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Templates: time 0.0073/0.3408, allocations: 2.893 MB / 452.4 MB, free: 12.9 MB / 334.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.makefile [Timeout 660] (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) [Timeout 480]