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.00142/0.00142, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001664/0.001664, allocations: 181 kB / 23.35 MB, free: 1.137 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.9166/0.9166, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.1168/0.1168, allocations: 21.8 MB / 282.1 MB, free: 7.082 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.664e-06/1.664e-06, allocations: 0 / 305.9 MB, free: 9.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.223e-05, allocations: 7.297 kB / 306 MB, free: 9.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002139/0.002151, allocations: 1.853 MB / 307.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006332/0.002784, allocations: 338.9 kB / 308.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.002922, allocations: 4 kB / 308.1 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.003078, allocations: 68.33 kB / 308.2 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.623e-05/0.003154, allocations: 32.06 kB / 308.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.003392, allocations: 154.7 kB / 308.4 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.003675, allocations: 403 kB / 308.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.003934, allocations: 266.8 kB / 309 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.004081, allocations: 239.4 kB / 309.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.004181, allocations: 127.5 kB / 309.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.004223, allocations: 48 kB / 309.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.395e-05/0.004257, allocations: 44 kB / 309.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.004313, allocations: 103.6 kB / 309.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.004386, allocations: 127.6 kB / 309.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.004624, allocations: 302.5 kB / 310 MB, free: 6.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004626, allocations: 0 / 310 MB, free: 6.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004627, allocations: 0 / 310 MB, free: 6.074 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.00463, allocations: 0 / 310 MB, free: 6.074 MB / 282.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.000483/0.005113, allocations: 0.6294 MB / 310.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.614e-05/0.005139, allocations: 8.031 kB / 310.7 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.005205, allocations: 80.88 kB / 310.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.005412, allocations: 229.9 kB / 311 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.005435, allocations: 37.69 kB / 311 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.005478, allocations: 60.33 kB / 311.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.005799, allocations: 383.5 kB / 311.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.005809, allocations: 192 / 311.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.00583, allocations: 20.38 kB / 311.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.00584, allocations: 12.38 kB / 311.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.005954, allocations: 133 kB / 311.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.006865, allocations: 1.204 MB / 312.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.007035, allocations: 126.3 kB / 312.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.007077, allocations: 45.11 kB / 313 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.007089, allocations: 4 kB / 313 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.007107, allocations: 38.52 kB / 313 MB, free: 2.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.022e-06/0.007108, allocations: 0 / 313 MB, free: 2.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001635/0.007271, allocations: 117.6 kB / 313.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.007304, allocations: 59.41 kB / 313.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.007407, allocations: 203.3 kB / 313.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.007419, allocations: 29.7 kB / 313.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.007508, allocations: 256.1 kB / 313.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.007541, allocations: 75.38 kB / 313.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.007586, allocations: 53.56 kB / 313.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.007659, allocations: 338.8 kB / 314.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.007685, allocations: 16 kB / 314.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/0.007737, allocations: 82.7 kB / 314.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.324e-05/0.00783, allocations: 113.8 kB / 314.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007832, allocations: 0 / 314.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001283/0.00796, allocations: 152.1 kB / 314.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.00797, allocations: 4 kB / 314.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.007974, allocations: 4 kB / 314.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.007982, allocations: 0 / 314.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.008076, allocations: 43.92 kB / 314.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008081, allocations: 7.984 kB / 314.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.008124, allocations: 20.08 kB / 314.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.008132, allocations: 4 kB / 314.5 MB, free: 1.297 MB / 282.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 (Prey_1.Integrator1.local_reset,Prey_2.Integrator1.local_reset,Predator.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 7.493e-05/0.008207, allocations: 125.8 kB / 314.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.008233, allocations: 23.92 kB / 314.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.008263, allocations: 29.81 kB / 314.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008267, allocations: 4 kB / 314.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.008269, allocations: 0 / 314.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.008273, allocations: 3.984 kB / 314.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.008568, allocations: 374.3 kB / 315.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008569, allocations: 0 / 315.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-05/0.008658, allocations: 31.98 kB / 315.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.00866, allocations: 4 kB / 315.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.008673, allocations: 4 kB / 315.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.008674, allocations: 0 / 315.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.008675, allocations: 3.938 kB / 315.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.008846, allocations: 246.4 kB / 315.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.008862, allocations: 27.8 kB / 315.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.008876, allocations: 4 kB / 315.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.008918, allocations: 4 kB / 315.4 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.008935, allocations: 11.97 kB / 315.4 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.00894, allocations: 4 kB / 315.4 MB, free: 372 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.927e-05/0.00898, allocations: 67.16 kB / 315.5 MB, free: 304 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00898, allocations: 0 / 315.5 MB, free: 304 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.009156, allocations: 87.56 kB / 315.6 MB, free: 216 kB / 282.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 5.849e-05/0.009215, allocations: 80.36 kB / 315.7 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.009328, allocations: 89.34 kB / 315.7 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.009331, allocations: 0 / 315.7 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.381e-05/0.009385, allocations: 60.75 kB / 315.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.009545, allocations: 32.92 kB / 315.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.01015, allocations: 0.6068 MB / 316.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.944e-05/0.01021, allocations: 107.8 kB / 316.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.418e-05/0.01026, allocations: 13.64 kB / 316.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.01034, allocations: 75.38 kB / 316.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01034, allocations: 0 / 316.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Templates: time 0.003696/0.01403, allocations: 1.504 MB / 318.1 MB, free: 13.61 MB / 298.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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7045047460123897]