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.0007517/0.0007517, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007652/0.0007652, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8362/0.8362, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.1197/0.1197, allocations: 21.79 MB / 281.7 MB, free: 7.406 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 1.062 kB / 418.9 MB, free: 5.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.376e-05, allocations: 7.484 kB / 419 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.001911/0.001934, allocations: 1.825 MB / 420.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005337/0.002468, allocations: 314.7 kB / 421.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.002622, allocations: 9.719 kB / 421.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.002779, allocations: 69.41 kB / 421.2 MB, free: 4.254 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.311e-05/0.002852, allocations: 30.89 kB / 421.2 MB, free: 4.227 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.003089, allocations: 158.4 kB / 421.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.003403, allocations: 401.5 kB / 421.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.00369, allocations: 255.8 kB / 422 MB, free: 3.797 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.003842, allocations: 239.3 kB / 422.2 MB, free: 3.676 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.003953, allocations: 123.8 kB / 422.3 MB, free: 3.621 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.004005, allocations: 44.31 kB / 422.4 MB, free: 3.621 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.387e-05/0.004039, allocations: 43.25 kB / 422.4 MB, free: 3.621 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.004088, allocations: 106.3 kB / 422.5 MB, free: 3.547 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.004174, allocations: 134.6 kB / 422.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.004496, allocations: 442.9 kB / 423.1 MB, free: 3.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004498, allocations: 0 / 423.1 MB, free: 3.246 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.0045, allocations: 4.547 kB / 423.1 MB, free: 3.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.004507, allocations: 1.781 kB / 423.1 MB, free: 3.242 MB / 330.7 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.0006076/0.005115, allocations: 0.6406 MB / 423.7 MB, free: 2.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.005148, allocations: 10.19 kB / 423.8 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.005208, allocations: 58.41 kB / 423.8 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.005468, allocations: 269.9 kB / 424.1 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.005492, allocations: 38.69 kB / 424.1 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.005537, allocations: 52.8 kB / 424.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.005988, allocations: 497.7 kB / 424.6 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.006003, allocations: 192 / 424.6 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.006026, allocations: 21.69 kB / 424.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.006038, allocations: 13.59 kB / 424.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.00634, allocations: 281.7 kB / 425 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.007453, allocations: 1.389 MB / 426.3 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.00772, allocations: 175.6 kB / 426.5 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.863e-05/0.007808, allocations: 84 kB / 426.6 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.007825, allocations: 2.531 kB / 426.6 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.007839, allocations: 41.38 kB / 426.6 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.00784, allocations: 0 / 426.6 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003638/0.008204, allocations: 239.8 kB / 426.9 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.008227, allocations: 52.75 kB / 426.9 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.00837, allocations: 212.6 kB / 427.1 MB, free: 0.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.008382, allocations: 31.67 kB / 427.2 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.008478, allocations: 269.3 kB / 427.4 MB, free: 300 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.008509, allocations: 77.77 kB / 427.5 MB, free: 236 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.008559, allocations: 45.3 kB / 427.6 MB, free: 204 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.008639, allocations: 331.3 kB / 427.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.008719, allocations: 65.67 kB / 427.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.008829, allocations: 120 kB / 428.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.009022, allocations: 194.8 kB / 428.2 MB, free: 15.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.009025, allocations: 1.125 kB / 428.2 MB, free: 15.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002636/0.009288, allocations: 245 kB / 428.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.009301, allocations: 5.469 kB / 428.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.009307, allocations: 2.156 kB / 428.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.009322, allocations: 2.828 kB / 428.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.009431, allocations: 38.47 kB / 428.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.009437, allocations: 7.594 kB / 428.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.009486, allocations: 33.33 kB / 428.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.009498, allocations: 7.75 kB / 428.6 MB, free: 15.47 MB / 346.7 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.0001103/0.009608, allocations: 154.8 kB / 428.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.009634, allocations: 21.08 kB / 428.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.009671, allocations: 29.7 kB / 428.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.009674, allocations: 3.203 kB / 428.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.009679, allocations: 0 / 428.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.009684, allocations: 4.781 kB / 428.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.01018, allocations: 0.5486 MB / 429.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01018, allocations: 0 / 429.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.01028, allocations: 40.55 kB / 429.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01029, allocations: 2.016 kB / 429.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.0103, allocations: 1.156 kB / 429.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.0103, allocations: 1.125 kB / 429.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.0103, allocations: 5.766 kB / 429.4 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.01062, allocations: 367.8 kB / 429.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.01064, allocations: 18.52 kB / 429.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.01066, allocations: 6.062 kB / 429.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.0107, allocations: 1.406 kB / 429.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.01073, allocations: 15.2 kB / 429.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.01074, allocations: 7.141 kB / 429.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.787e-05/0.01083, allocations: 152.2 kB / 429.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01083, allocations: 0 / 429.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.01105, allocations: 87.19 kB / 430 MB, free: 14.5 MB / 346.7 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 7.887e-05/0.01113, allocations: 91 kB / 430.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.01135, allocations: 173.2 kB / 430.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01135, allocations: 0 / 430.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.01143, allocations: 80.38 kB / 430.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01168, allocations: 34.67 kB / 430.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007421/0.01242, allocations: 0.6579 MB / 431.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.01259, allocations: 204 kB / 431.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.01264, allocations: 20.19 kB / 431.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01264, allocations: 0 / 431.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of Templates: time 0.004654/0.0173, allocations: 3.406 MB / 434.7 MB, free: 12.73 MB / 346.7 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 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.156770899891853] Failed to read output from testmodel.py, exit status != 0: 0.02240257617086172 0.030857842000000003 0.024752905000000002 Calling exit ...