Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009035/0.0009035, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8577/0.8577, allocations: 158.6 MB / 185.2 MB, free: 2.73 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03334/0.03334, allocations: 6.422 MB / 244 MB, free: 8.613 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 262.1 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.585e-05, allocations: 2.312 kB / 262.1 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001751/0.001777, allocations: 0.5515 MB / 262.6 MB, free: 5.922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003623/0.002139, allocations: 111.6 kB / 262.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.002189, allocations: 7.938 kB / 262.8 MB, free: 5.805 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.458e-05/0.002234, allocations: 7.875 kB / 262.8 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.79e-05/0.002322, allocations: 11.88 kB / 262.8 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.002476, allocations: 35.89 kB / 262.8 MB, free: 5.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.002624, allocations: 67.83 kB / 262.9 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.002746, allocations: 27.97 kB / 262.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.002823, allocations: 51.91 kB / 263 MB, free: 5.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.0029, allocations: 23.89 kB / 263 MB, free: 5.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.002927, allocations: 8 kB / 263 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.002942, allocations: 12 kB / 263 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.002969, allocations: 15.92 kB / 263 MB, free: 5.547 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.003002, allocations: 27.91 kB / 263 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.003132, allocations: 59.75 kB / 263.1 MB, free: 5.461 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003134, allocations: 0 / 263.1 MB, free: 5.461 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003135, allocations: 0 / 263.1 MB, free: 5.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.00314, allocations: 0 / 263.1 MB, free: 5.461 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003807/0.00352, allocations: 292.8 kB / 263.4 MB, free: 5.148 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.003557, allocations: 11.98 kB / 263.4 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.003601, allocations: 12.92 kB / 263.4 MB, free: 5.125 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.003747, allocations: 125.7 kB / 263.5 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.003762, allocations: 8.562 kB / 263.5 MB, free: 4.969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.003794, allocations: 12.38 kB / 263.6 MB, free: 4.957 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.003945, allocations: 134 kB / 263.7 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.003957, allocations: 0 / 263.7 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.003968, allocations: 4 kB / 263.7 MB, free: 4.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.003976, allocations: 7.984 kB / 263.7 MB, free: 4.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.795e-05/0.004034, allocations: 23.98 kB / 263.7 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.004467, allocations: 248 kB / 264 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.004597, allocations: 58.67 kB / 264 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.483e-05/0.004631, allocations: 20.8 kB / 264 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.004639, allocations: 0 / 264 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.004669, allocations: 38.56 kB / 264.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.004671, allocations: 0 / 264.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001566/0.004827, allocations: 61.67 kB / 264.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.004857, allocations: 51.41 kB / 264.2 MB, free: 4.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.004931, allocations: 123.1 kB / 264.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.004948, allocations: 29.7 kB / 264.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.004993, allocations: 103.9 kB / 264.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.005028, allocations: 35.72 kB / 264.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.005067, allocations: 21.72 kB / 264.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.005163, allocations: 318.8 kB / 264.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.005184, allocations: 11.94 kB / 264.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.005201, allocations: 8 kB / 264.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.00525, allocations: 24.84 kB / 264.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005252, allocations: 0 / 264.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001045/0.005356, allocations: 65.55 kB / 264.9 MB, free: 3.477 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.00537, allocations: 12 kB / 264.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005375, allocations: 0 / 264.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.005387, allocations: 0 / 264.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.005485, allocations: 23.98 kB / 265 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.005488, allocations: 320 / 265 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.005511, allocations: 11.89 kB / 265 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.005516, allocations: 0 / 265 MB, free: 3.43 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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 7.216e-05/0.005588, allocations: 121.8 kB / 265.1 MB, free: 3.301 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.005619, allocations: 11.92 kB / 265.1 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.00565, allocations: 12.44 kB / 265.1 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.005652, allocations: 4 kB / 265.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.005654, allocations: 0 / 265.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.005657, allocations: 0 / 265.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.00581, allocations: 89.88 kB / 265.2 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005812, allocations: 0 / 265.2 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.005916, allocations: 15.98 kB / 265.2 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.00592, allocations: 3.938 kB / 265.2 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.005932, allocations: 0 / 265.2 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.005936, allocations: 3.984 kB / 265.2 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.005937, allocations: 0 / 265.2 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.006154, allocations: 179.4 kB / 265.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.006166, allocations: 7.953 kB / 265.4 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.006181, allocations: 7.938 kB / 265.4 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.006239, allocations: 0 / 265.4 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.006259, allocations: 7.984 kB / 265.4 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.006265, allocations: 0 / 265.4 MB, free: 2.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.018e-05/0.006285, allocations: 12.8 kB / 265.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.006285, allocations: 0 / 265.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.006507, allocations: 23.89 kB / 265.5 MB, free: 2.891 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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.797e-05/0.006605, allocations: 84.44 kB / 265.5 MB, free: 2.801 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.006695, allocations: 44.77 kB / 265.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.006699, allocations: 4 kB / 265.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.633e-05/0.006725, allocations: 20.84 kB / 265.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.006921, allocations: 12 kB / 265.6 MB, free: 2.715 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.007248, allocations: 204.3 kB / 265.8 MB, free: 2.488 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.007289, allocations: 63.34 kB / 265.9 MB, free: 2.406 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.744e-05/0.007326, allocations: 7.859 kB / 265.9 MB, free: 2.398 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.007394, allocations: 63.36 kB / 265.9 MB, free: 2.336 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.007395, allocations: 4 kB / 266 MB, free: 2.332 MB / 250.7 MB Notification: Performance of Templates: time 0.002892/0.01029, allocations: 0.7759 MB / 266.7 MB, free: 1.559 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4509055111557245]