Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.001357/0.001357, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.001432/0.001432, allocations: 160.4 kB / 23.01 MB, free: 4.945 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.347/1.347, allocations: 158.6 MB / 184.8 MB, free: 6.164 MB / 174.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.04904/0.04904, allocations: 6.424 MB / 243.4 MB, free: 12.71 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.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") [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.002633/0.002633, allocations: 75.88 kB / 360.8 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09749, allocations: 50.9 MB / 411.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002056/0.09954, allocations: 0.6723 MB / 412.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004737/0.1, allocations: 171.4 kB / 412.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.1001, allocations: 0 / 412.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.289e-05/0.1002, allocations: 23.75 kB / 412.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.1002, allocations: 15.75 kB / 412.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.1004, allocations: 59.86 kB / 412.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1007, allocations: 135.7 kB / 412.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1009, allocations: 57.77 kB / 412.8 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.1009, allocations: 67.72 kB / 412.9 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1011, allocations: 59.61 kB / 413 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.1011, allocations: 20 kB / 413 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.044e-05/0.1011, allocations: 20 kB / 413 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.1012, allocations: 43.83 kB / 413 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.1013, allocations: 67.67 kB / 413.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.1015, allocations: 183.2 kB / 413.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1015, allocations: 0 / 413.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1015, allocations: 0 / 413.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1015, allocations: 0 / 413.3 MB, free: 6.574 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006356/0.1022, allocations: 394 kB / 413.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1022, allocations: 15.98 kB / 413.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.1022, allocations: 24.8 kB / 413.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1025, allocations: 154.3 kB / 413.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1025, allocations: 16.73 kB / 413.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.1026, allocations: 20.38 kB / 413.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.1029, allocations: 238.3 kB / 414.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1029, allocations: 4.141 kB / 414.1 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.103, allocations: 11.94 kB / 414.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.103, allocations: 4 kB / 414.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.1032, allocations: 111.7 kB / 414.3 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.1041, allocations: 483.8 kB / 414.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.1044, allocations: 114.5 kB / 414.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1045, allocations: 64.84 kB / 414.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1045, allocations: 0 / 414.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.1045, allocations: 38.56 kB / 414.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 9.72e-07/0.1045, allocations: 0 / 414.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003721/0.1049, allocations: 189.5 kB / 415.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.1049, allocations: 51.41 kB / 415.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1051, allocations: 125.8 kB / 415.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1051, allocations: 37.64 kB / 415.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.484e-05/0.1052, allocations: 124.5 kB / 415.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.1052, allocations: 59.52 kB / 415.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.1053, allocations: 25.72 kB / 415.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1055, allocations: 330.8 kB / 415.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.1055, allocations: 43.92 kB / 415.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.1056, allocations: 39.98 kB / 415.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.1058, allocations: 107.5 kB / 416 MB, free: 3.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1058, allocations: 3.984 kB / 416.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002377/0.1061, allocations: 145.5 kB / 416.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1061, allocations: 8 kB / 416.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1061, allocations: 4 kB / 416.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1061, allocations: 0 / 416.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.1063, allocations: 35.91 kB / 416.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1063, allocations: 0 / 416.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.1064, allocations: 15.94 kB / 416.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1064, allocations: 4 kB / 416.3 MB, free: 3.402 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 (18): * Single equations (assignments): 18 * 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.000118/0.1065, allocations: 129.8 kB / 416.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.1065, allocations: 11.91 kB / 416.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.1066, allocations: 16.44 kB / 416.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1066, allocations: 4 kB / 416.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1066, allocations: 0 / 416.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1066, allocations: 3.984 kB / 416.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.1069, allocations: 185.2 kB / 416.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1069, allocations: 0 / 416.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.107, allocations: 35.92 kB / 416.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.107, allocations: 0 / 416.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1071, allocations: 0 / 416.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1071, allocations: 3.984 kB / 416.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1071, allocations: 0 / 416.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.1075, allocations: 303.3 kB / 416.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.1075, allocations: 11.98 kB / 417 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1075, allocations: 3.984 kB / 417 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.1076, allocations: 8 kB / 417 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1076, allocations: 4.031 kB / 417 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1076, allocations: 4 kB / 417 MB, free: 2.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.418e-05/0.1077, allocations: 103.1 kB / 417.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1077, allocations: 0 / 417.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000271/0.108, allocations: 43.78 kB / 417.1 MB, free: 2.492 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.0001387/0.1081, allocations: 107.2 kB / 417.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1084, allocations: 105.1 kB / 417.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1084, allocations: 3.938 kB / 417.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1085, allocations: 59.86 kB / 417.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1088, allocations: 23.98 kB / 417.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.1095, allocations: 324.1 kB / 417.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.1096, allocations: 111.6 kB / 417.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.1096, allocations: 12.72 kB / 417.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.1097, allocations: 16.5 kB / 417.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1097, allocations: 0 / 417.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Templates: time 0.00426/0.114, allocations: 1.067 MB / 418.9 MB, free: 0.6328 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.203204752062447] Failed to read output from testmodel.py, exit status != 0: 0.12256986903958023 0.140351202 0.035376329000000005 Calling exit ...