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.001577/0.001577, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001741/0.001741, allocations: 217.2 kB / 22.99 MB, free: 4.914 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.364/1.364, allocations: 207.7 MB / 233.8 MB, free: 9.961 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.05094/0.05094, allocations: 8.193 MB / 294.3 MB, free: 13.49 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.002365/0.002365, allocations: 73.11 kB / 411.7 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06558/0.06795, allocations: 50.93 MB / 462.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001713/0.06966, allocations: 0.539 MB / 463.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003166/0.06998, allocations: 124 kB / 463.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.07002, allocations: 0 / 463.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.07007, allocations: 11.88 kB / 463.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.07013, allocations: 7.875 kB / 463.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.07026, allocations: 23.97 kB / 463.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.07041, allocations: 71.84 kB / 463.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.07055, allocations: 27.95 kB / 463.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.07059, allocations: 39.86 kB / 463.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.07066, allocations: 27.78 kB / 463.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.07068, allocations: 8 kB / 463.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.0707, allocations: 12 kB / 463.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.07072, allocations: 23.86 kB / 463.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.07076, allocations: 27.86 kB / 463.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.07092, allocations: 103.5 kB / 463.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.07092, allocations: 0 / 463.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.07092, allocations: 0 / 463.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.07093, allocations: 0 / 463.6 MB, free: 11.78 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.0004671/0.0714, allocations: 314.2 kB / 463.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.07143, allocations: 15.98 kB / 464 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.07148, allocations: 16.83 kB / 464 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.07166, allocations: 130.4 kB / 464.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.07167, allocations: 4.562 kB / 464.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.07171, allocations: 12.38 kB / 464.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.07193, allocations: 149.4 kB / 464.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.07194, allocations: 0 / 464.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.07196, allocations: 4 kB / 464.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.07196, allocations: 4 kB / 464.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.07207, allocations: 51.97 kB / 464.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.0726, allocations: 324.3 kB / 464.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.07279, allocations: 82.5 kB / 464.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.07285, allocations: 36.84 kB / 464.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.07287, allocations: 0 / 464.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.07289, allocations: 30.56 kB / 464.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.07289, allocations: 0 / 464.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002414/0.07313, allocations: 105.8 kB / 464.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.07317, allocations: 55.41 kB / 464.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.07326, allocations: 110.2 kB / 465 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.07329, allocations: 29.7 kB / 465.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.07335, allocations: 104 kB / 465.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.07338, allocations: 27.75 kB / 465.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.07342, allocations: 25.7 kB / 465.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.07357, allocations: 318.8 kB / 465.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.07361, allocations: 23.98 kB / 465.6 MB, free: 9.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.07365, allocations: 20 kB / 465.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.07374, allocations: 60.91 kB / 465.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.07374, allocations: 0 / 465.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001375/0.07388, allocations: 93.58 kB / 465.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.07389, allocations: 8 kB / 465.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.0739, allocations: 3.938 kB / 465.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.07392, allocations: 4 kB / 465.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.07403, allocations: 12 kB / 465.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.07403, allocations: 4.297 kB / 465.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.07406, allocations: 11.95 kB / 465.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.07407, allocations: 3.938 kB / 465.8 MB, free: 9.441 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 8.618e-05/0.07416, allocations: 113.8 kB / 465.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.07419, allocations: 4 kB / 465.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.07422, allocations: 12.38 kB / 465.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.07422, allocations: 4 kB / 465.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.07423, allocations: 0 / 465.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.07423, allocations: 0 / 465.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.07442, allocations: 145.2 kB / 466.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.07443, allocations: 4 kB / 466.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.07454, allocations: 23.92 kB / 466.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.07454, allocations: 3.984 kB / 466.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.07455, allocations: 0 / 466.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.07456, allocations: 3.984 kB / 466.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.07456, allocations: 0 / 466.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.0748, allocations: 215.5 kB / 466.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.07482, allocations: 11.92 kB / 466.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.07483, allocations: 0 / 466.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.07489, allocations: 0 / 466.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.07492, allocations: 7.984 kB / 466.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.07492, allocations: 8 kB / 466.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.366e-05/0.07498, allocations: 79.28 kB / 466.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.07498, allocations: 0 / 466.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.07521, allocations: 23.89 kB / 466.4 MB, free: 8.738 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.748e-05/0.0753, allocations: 107.2 kB / 466.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.07544, allocations: 52.08 kB / 466.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.07544, allocations: 192 / 466.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.07549, allocations: 27.94 kB / 466.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.07579, allocations: 22.2 kB / 466.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.07622, allocations: 228.3 kB / 466.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.891e-05/0.0763, allocations: 85.31 kB / 466.9 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.07633, allocations: 15.44 kB / 467 MB, free: 8.145 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.07633, allocations: 0 / 467 MB, free: 8.145 MB / 334.1 MB Notification: Performance of Templates: time 0.002575/0.07891, allocations: 1.094 MB / 468.1 MB, free: 7.051 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.246374651324004] Failed to read output from testmodel.py, exit status != 0: 0.08634472219273448 0.101145311 0.027258176000000002 Calling exit ...