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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 189 kB / 22.22 MB, free: 5.105 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.603/1.603, allocations: 207.6 MB / 233 MB, free: 10.01 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.05065/0.05065, allocations: 8.18 MB / 293.4 MB, free: 13.68 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.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.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.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.002285/0.002285, allocations: 76.14 kB / 410.9 MB, free: 46.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.0976, allocations: 50.92 MB / 461.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001998/0.0996, allocations: 0.5623 MB / 462.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003597/0.09996, allocations: 128 kB / 462.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.1, allocations: 0 / 462.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.844e-05/0.1001, allocations: 7.875 kB / 462.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.1002, allocations: 15.88 kB / 462.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1003, allocations: 31.95 kB / 462.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1005, allocations: 67.83 kB / 462.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.1006, allocations: 31.97 kB / 462.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.1007, allocations: 35.86 kB / 462.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.1008, allocations: 31.84 kB / 462.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.1008, allocations: 8 kB / 462.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.1008, allocations: 11.94 kB / 462.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.1008, allocations: 23.91 kB / 462.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.1009, allocations: 35.81 kB / 462.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1011, allocations: 99.53 kB / 462.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1011, allocations: 7.984 kB / 462.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1011, allocations: 0 / 462.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.1011, allocations: 3.938 kB / 462.9 MB, free: 11.96 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.0005202/0.1016, allocations: 306.3 kB / 463.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1016, allocations: 11.98 kB / 463.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.1017, allocations: 12.84 kB / 463.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1019, allocations: 130.4 kB / 463.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1019, allocations: 8.562 kB / 463.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.1019, allocations: 16.38 kB / 463.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.1021, allocations: 93.98 kB / 463.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1022, allocations: 0 / 463.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1022, allocations: 0 / 463.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1022, allocations: 4 kB / 463.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1023, allocations: 51.97 kB / 463.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.103, allocations: 383.6 kB / 463.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1032, allocations: 86.55 kB / 464 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.1032, allocations: 32.86 kB / 464 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.1032, allocations: 4 kB / 464 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.1033, allocations: 38.48 kB / 464 MB, free: 10.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1033, allocations: 0 / 464 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002519/0.1035, allocations: 97.62 kB / 464.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1036, allocations: 51.41 kB / 464.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1037, allocations: 122.1 kB / 464.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1037, allocations: 25.7 kB / 464.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.1038, allocations: 108 kB / 464.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.1038, allocations: 31.73 kB / 464.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.1038, allocations: 17.72 kB / 464.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.104, allocations: 322.8 kB / 464.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.104, allocations: 16 kB / 464.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.1041, allocations: 19.98 kB / 464.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1042, allocations: 60.98 kB / 464.9 MB, free: 9.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1042, allocations: 3.938 kB / 464.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.1043, allocations: 89.64 kB / 465 MB, free: 9.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1044, allocations: 7.938 kB / 465 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1044, allocations: 4 kB / 465 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1044, allocations: 0 / 465 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1045, allocations: 15.98 kB / 465 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1045, allocations: 0 / 465 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.1045, allocations: 11.89 kB / 465 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1045, allocations: 4 kB / 465 MB, free: 9.625 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 0.0001076/0.1047, allocations: 117.8 kB / 465.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1047, allocations: 4 kB / 465.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.1047, allocations: 8.375 kB / 465.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1047, allocations: 4 kB / 465.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1047, allocations: 0 / 465.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1047, allocations: 7.922 kB / 465.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.105, allocations: 180.8 kB / 465.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.105, allocations: 0 / 465.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1051, allocations: 23.92 kB / 465.4 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1051, allocations: 0 / 465.4 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1051, allocations: 0 / 465.4 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1051, allocations: 4 kB / 465.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1051, allocations: 0 / 465.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1054, allocations: 203.5 kB / 465.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.1054, allocations: 15.86 kB / 465.6 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1054, allocations: 0 / 465.6 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.1055, allocations: 8.062 kB / 465.6 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.1055, allocations: 15.92 kB / 465.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1055, allocations: 0 / 465.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.258e-05/0.1056, allocations: 87.27 kB / 465.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1056, allocations: 3.938 kB / 465.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1058, allocations: 19.95 kB / 465.7 MB, free: 8.867 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 0.0001182/0.1059, allocations: 95.25 kB / 465.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.1061, allocations: 56 kB / 465.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1061, allocations: 4 kB / 465.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.78e-05/0.1061, allocations: 31.92 kB / 465.9 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1065, allocations: 15.94 kB / 465.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.1069, allocations: 202.6 kB / 466.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1073, allocations: 0.6962 MB / 466.8 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.1073, allocations: 11.98 kB / 466.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1074, allocations: 11.44 kB / 466.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1074, allocations: 0 / 466.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of Templates: time 0.003664/0.111, allocations: 0.7358 MB / 467.6 MB, free: 6.965 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: 4.759189078584313] Failed to read output from testmodel.py, exit status != 0: 0.1199321337044239 0.13566434300000002 0.031159101 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2ade63d7b0>