Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.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.001651/0.001651, allocations: 78.09 kB / 19.76 MB, free: 2.051 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.001848/0.001848, allocations: 162.4 kB / 23.01 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 9.262 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.183/0.183, allocations: 21.8 MB / 281.6 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") translateModel(SystemDynamics.IntroductoryExamples.Gilpin,tolerance=1e-11,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 63.91 kB / 418.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3204, allocations: 60.76 MB / 479.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003605/0.324, allocations: 1.825 MB / 481.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.3248, allocations: 313.1 kB / 481.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.325, allocations: 14.66 kB / 481.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3252, allocations: 64.47 kB / 481.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.3254, allocations: 33.2 kB / 481.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.3257, allocations: 151.4 kB / 481.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.3262, allocations: 407.2 kB / 482.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004472/0.3266, allocations: 262.3 kB / 482.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.3269, allocations: 247.2 kB / 482.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3271, allocations: 157.3 kB / 482.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.3271, allocations: 48.41 kB / 482.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.599e-05/0.3272, allocations: 44.75 kB / 483 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.3273, allocations: 105.7 kB / 483.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.3274, allocations: 161.7 kB / 483.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.3279, allocations: 445.3 kB / 483.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3279, allocations: 1.25 kB / 483.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3279, allocations: 0 / 483.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.3279, allocations: 0 / 483.7 MB, free: 9.852 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001064/0.329, allocations: 0.65 MB / 484.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.329, allocations: 9.875 kB / 484.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.891e-05/0.3291, allocations: 55.14 kB / 484.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.3296, allocations: 267.4 kB / 484.7 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/0.3296, allocations: 38.78 kB / 484.7 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-05/0.3297, allocations: 55.12 kB / 484.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/0.3305, allocations: 495.5 kB / 485.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3305, allocations: 1.281 kB / 485.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.3305, allocations: 24.56 kB / 485.3 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.3306, allocations: 13.75 kB / 485.3 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.331, allocations: 278.9 kB / 485.5 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.333, allocations: 1.401 MB / 486.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.3334, allocations: 178.7 kB / 487.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.3336, allocations: 84.77 kB / 487.2 MB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3336, allocations: 7.938 kB / 487.2 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3336, allocations: 38.5 kB / 487.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.3336, allocations: 0 / 487.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004702/0.3341, allocations: 240.7 kB / 487.5 MB, free: 6.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.3341, allocations: 59.41 kB / 487.5 MB, free: 6.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3344, allocations: 208.1 kB / 487.7 MB, free: 6.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3344, allocations: 29.7 kB / 487.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.3346, allocations: 272.1 kB / 488 MB, free: 6.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.3346, allocations: 75.31 kB / 488.1 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.3347, allocations: 53.7 kB / 488.2 MB, free: 5.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3349, allocations: 334.8 kB / 488.5 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.335, allocations: 63.98 kB / 488.6 MB, free: 5.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3351, allocations: 121.9 kB / 488.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.3354, allocations: 182.8 kB / 488.8 MB, free: 5.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3354, allocations: 4 kB / 488.9 MB, free: 5.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003638/0.3358, allocations: 246.8 kB / 489.1 MB, free: 4.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3358, allocations: 8 kB / 489.1 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3358, allocations: 0 / 489.1 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3358, allocations: 4 kB / 489.1 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.336, allocations: 39.97 kB / 489.1 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.336, allocations: 7.938 kB / 489.2 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.3361, allocations: 19.84 kB / 489.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.3361, allocations: 12 kB / 489.2 MB, free: 4.809 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (Predator.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Prey_1.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001795/0.3363, allocations: 160.5 kB / 489.3 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.3364, allocations: 19.86 kB / 489.4 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.3364, allocations: 29.8 kB / 489.4 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3364, allocations: 4 kB / 489.4 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3365, allocations: 0 / 489.4 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3365, allocations: 0 / 489.4 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007237/0.3372, allocations: 0.5409 MB / 489.9 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3372, allocations: 0 / 489.9 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.3374, allocations: 35.92 kB / 490 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3374, allocations: 0 / 490 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3374, allocations: 8 kB / 490 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3374, allocations: 0 / 490 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3374, allocations: 0 / 490 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.3379, allocations: 371.1 kB / 490.3 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.3379, allocations: 31.83 kB / 490.4 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.338, allocations: 0 / 490.4 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3381, allocations: 8 kB / 490.4 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3381, allocations: 11.92 kB / 490.4 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3381, allocations: 11.94 kB / 490.4 MB, free: 3.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.3383, allocations: 153.6 kB / 490.5 MB, free: 3.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3383, allocations: 0 / 490.5 MB, free: 3.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.3386, allocations: 83.62 kB / 490.6 MB, free: 3.297 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Prey_1.Integrator1.y,Prey_2.Integrator1.y,Predator.Integrator1.y) * 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 (20): * Single equations (assignments): 20 * 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.0001104/0.3387, allocations: 91.25 kB / 490.7 MB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.339, allocations: 167 kB / 490.9 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.339, allocations: 0 / 490.9 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.3391, allocations: 79.92 kB / 491 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3395, allocations: 31.44 kB / 491 MB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.3406, allocations: 0.6523 MB / 491.6 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.3408, allocations: 202.8 kB / 491.8 MB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.736e-05/0.3409, allocations: 17.62 kB / 491.9 MB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.3409, allocations: 20.5 kB / 491.9 MB, free: 1.996 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3409, allocations: 0 / 491.9 MB, free: 1.996 MB / 382.1 MB Notification: Performance of Templates: time 0.005078/0.346, allocations: 1.36 MB / 493.2 MB, free: 0.6484 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.893705629045144] Failed to read output from testmodel.py, exit status != 0: 0.3549154989887029 0.36890073700000003 0.037927212 Calling exit ...