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.001324/0.001324, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001538/0.001538, allocations: 221 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.389/1.389, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] 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.05448/0.05448, allocations: 8.197 MB / 294.2 MB, free: 13.64 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.002385/0.002385, allocations: 72.95 kB / 411.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06698/0.06937, allocations: 50.92 MB / 462.6 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001798/0.07117, allocations: 0.5778 MB / 463.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003512/0.07152, allocations: 128 kB / 463.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.07157, allocations: 0 / 463.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.07161, allocations: 15.88 kB / 463.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.07171, allocations: 7.875 kB / 463.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.07184, allocations: 23.97 kB / 463.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.07199, allocations: 71.84 kB / 463.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.07215, allocations: 31.95 kB / 463.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.404e-05/0.07219, allocations: 35.8 kB / 463.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.07226, allocations: 31.84 kB / 463.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.07228, allocations: 8 kB / 463.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.0723, allocations: 12 kB / 463.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.07233, allocations: 19.92 kB / 463.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.07238, allocations: 43.8 kB / 463.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.07256, allocations: 95.53 kB / 463.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.07256, allocations: 0 / 463.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.07257, allocations: 4 kB / 463.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.07257, allocations: 0 / 463.7 MB, free: 11.9 MB / 334.1 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.0004976/0.07307, allocations: 306.3 kB / 464 MB, free: 11.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.0731, allocations: 11.98 kB / 464 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.07315, allocations: 16.84 kB / 464 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.07332, allocations: 130.4 kB / 464.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.07333, allocations: 12.56 kB / 464.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.07336, allocations: 8.375 kB / 464.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.07359, allocations: 93.97 kB / 464.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.0736, allocations: 0 / 464.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.07362, allocations: 8 kB / 464.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.07362, allocations: 0 / 464.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.07375, allocations: 55.91 kB / 464.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.07438, allocations: 383.7 kB / 464.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.07456, allocations: 78.5 kB / 464.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.339e-05/0.07466, allocations: 36.84 kB / 464.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.07467, allocations: 3.938 kB / 464.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.0747, allocations: 30.56 kB / 464.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.0747, allocations: 0 / 464.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002358/0.07494, allocations: 105.8 kB / 465 MB, free: 10.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.07498, allocations: 55.39 kB / 465 MB, free: 10.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.0751, allocations: 122.1 kB / 465.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.07512, allocations: 25.7 kB / 465.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.07518, allocations: 99.98 kB / 465.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.07521, allocations: 31.73 kB / 465.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.07526, allocations: 25.72 kB / 465.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.07541, allocations: 314.8 kB / 465.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.07546, allocations: 27.98 kB / 465.6 MB, free: 9.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.0755, allocations: 19.94 kB / 465.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.54e-05/0.07559, allocations: 52.86 kB / 465.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.0756, allocations: 0 / 465.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001414/0.07574, allocations: 89.58 kB / 465.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.07575, allocations: 8 kB / 465.8 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.07575, allocations: 0 / 465.8 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.07577, allocations: 0 / 465.8 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.0759, allocations: 24.27 kB / 465.8 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.0759, allocations: 0 / 465.8 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.07593, allocations: 11.89 kB / 465.8 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.07594, allocations: 7.938 kB / 465.9 MB, free: 9.559 MB / 334.1 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 9.157e-05/0.07603, allocations: 113.8 kB / 466 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.07606, allocations: 7.984 kB / 466 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.0761, allocations: 12.38 kB / 466 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.0761, allocations: 3.938 kB / 466 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.07611, allocations: 0 / 466 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.07611, allocations: 3.938 kB / 466 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.07636, allocations: 180.6 kB / 466.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.07636, allocations: 4 kB / 466.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.07646, allocations: 16 kB / 466.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.07647, allocations: 4 kB / 466.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.07648, allocations: 7.984 kB / 466.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.07648, allocations: 0 / 466.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.07648, allocations: 0 / 466.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.07675, allocations: 203.5 kB / 466.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.07676, allocations: 15.81 kB / 466.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.07678, allocations: 8.062 kB / 466.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.07685, allocations: 4 kB / 466.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.07686, allocations: 3.938 kB / 466.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.07687, allocations: 7.984 kB / 466.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.08e-05/0.07692, allocations: 83.28 kB / 466.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07692, allocations: 0 / 466.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.07716, allocations: 19.95 kB / 466.5 MB, free: 8.805 MB / 334.1 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.523e-05/0.07726, allocations: 95.25 kB / 466.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.0774, allocations: 59.92 kB / 466.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.0774, allocations: 0 / 466.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.07745, allocations: 27.98 kB / 466.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.07778, allocations: 14.33 kB / 466.7 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.07822, allocations: 232.3 kB / 467 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.07858, allocations: 0.704 MB / 467.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.07861, allocations: 11.44 kB / 467.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.07862, allocations: 0 / 467.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of Templates: time 0.002824/0.08144, allocations: 1.071 MB / 468.7 MB, free: 6.531 MB / 334.1 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.931796598946676] Failed to read output from testmodel.py, exit status != 0: 0.08898443402722478 0.105822025 0.029929758 Calling exit ...