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.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.001241/0.001241, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001437/0.001437, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2393/0.2393, allocations: 29.24 MB / 335.5 MB, free: 11.3 MB / 270.1 MB " [Timeout remaining time 179] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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 0.001985/0.001985, allocations: 63.89 kB / 470.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4688, allocations: 59.6 MB / 0.5175 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003656/0.4725, allocations: 2.112 MB / 0.5196 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007541/0.4732, allocations: 314.5 kB / 0.5199 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.4734, allocations: 14.53 kB / 0.5199 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.4737, allocations: 65.25 kB / 0.52 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.4738, allocations: 39.14 kB / 0.52 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.4742, allocations: 157.9 kB / 0.5202 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.4747, allocations: 400.6 kB / 0.5205 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.4752, allocations: 275.5 kB / 0.5208 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.4753, allocations: 168 kB / 0.521 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.4755, allocations: 187.6 kB / 0.5211 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.813e-05/0.4756, allocations: 43.5 kB / 0.5212 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.846e-05/0.4757, allocations: 45.31 kB / 0.5212 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.4758, allocations: 109.9 kB / 0.5213 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.476, allocations: 211.2 kB / 0.5215 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.4766, allocations: 444.5 kB / 0.522 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4766, allocations: 0 / 0.522 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4766, allocations: 0 / 0.522 GB, free: 7.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.4766, allocations: 1.156 kB / 0.522 GB, free: 7.07 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.0009663/0.4776, allocations: 0.6466 MB / 0.5226 GB, free: 6.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4776, allocations: 10 kB / 0.5226 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.4777, allocations: 58.94 kB / 0.5227 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.4782, allocations: 270.8 kB / 0.5229 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.4783, allocations: 43.61 kB / 0.523 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/0.4784, allocations: 52.03 kB / 0.523 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008921/0.4793, allocations: 0.4899 MB / 0.5235 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.4793, allocations: 192 / 0.5235 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.4793, allocations: 29.98 kB / 0.5235 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.4793, allocations: 12.41 kB / 0.5235 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.4798, allocations: 276.6 kB / 0.5238 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.4818, allocations: 1.575 MB / 0.5253 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.4822, allocations: 187.4 kB / 0.5255 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.4823, allocations: 80.81 kB / 0.5256 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.4823, allocations: 3.25 kB / 0.5256 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.4823, allocations: 31.91 kB / 0.5256 GB, free: 4.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.4823, allocations: 4 kB / 0.5256 GB, free: 4.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004679/0.4828, allocations: 256.6 kB / 0.5259 GB, free: 4.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.4828, allocations: 54.06 kB / 0.5259 GB, free: 4.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.4831, allocations: 255.2 kB / 0.5262 GB, free: 4.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.4831, allocations: 30.7 kB / 0.5262 GB, free: 4.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.4832, allocations: 267.1 kB / 0.5264 GB, free: 4.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.4833, allocations: 71.44 kB / 0.5265 GB, free: 3.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4834, allocations: 46.08 kB / 0.5266 GB, free: 3.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.4835, allocations: 344.9 kB / 0.5269 GB, free: 3.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4836, allocations: 61.61 kB / 0.5269 GB, free: 3.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.4838, allocations: 118.6 kB / 0.5271 GB, free: 3.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.484, allocations: 195.8 kB / 0.5272 GB, free: 3.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.484, allocations: 0.7188 kB / 0.5272 GB, free: 3.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003634/0.4844, allocations: 250.5 kB / 0.5275 GB, free: 3.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4844, allocations: 10.78 kB / 0.5275 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4844, allocations: 1.156 kB / 0.5275 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.4844, allocations: 4.594 kB / 0.5275 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.4846, allocations: 40.56 kB / 0.5275 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.4846, allocations: 3.969 kB / 0.5275 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.4847, allocations: 29.88 kB / 0.5276 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.4848, allocations: 7.062 kB / 0.5276 GB, free: 3.18 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.0001348/0.4849, allocations: 155.5 kB / 0.5277 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.4849, allocations: 28.12 kB / 0.5278 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-05/0.485, allocations: 36.14 kB / 0.5278 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.485, allocations: 2.625 kB / 0.5278 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.485, allocations: 0 / 0.5278 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.485, allocations: 6.906 kB / 0.5278 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008726/0.4859, allocations: 0.6344 MB / 0.5284 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4859, allocations: 0.6562 kB / 0.5284 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.4861, allocations: 32.5 kB / 0.5284 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4861, allocations: 5.484 kB / 0.5285 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4861, allocations: 5.047 kB / 0.5285 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.4861, allocations: 13.8 kB / 0.5285 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4861, allocations: 4 kB / 0.5285 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.4866, allocations: 364.6 kB / 0.5288 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.4866, allocations: 33.03 kB / 0.5289 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.4866, allocations: 6.188 kB / 0.5289 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.4867, allocations: 5.062 kB / 0.5289 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.4868, allocations: 14.17 kB / 0.5289 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.4868, allocations: 4.047 kB / 0.5289 GB, free: 2.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.487, allocations: 185.6 kB / 0.5291 GB, free: 2.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.487, allocations: 0 / 0.5291 GB, free: 2.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.4873, allocations: 83.25 kB / 0.5291 GB, free: 2.125 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.0001078/0.4874, allocations: 100.7 kB / 0.5292 GB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.4877, allocations: 155.9 kB / 0.5294 GB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4877, allocations: 3.938 kB / 0.5294 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.4879, allocations: 84.08 kB / 0.5295 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.4883, allocations: 43.38 kB / 0.5295 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.4896, allocations: 0.6479 MB / 0.5301 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.4899, allocations: 0.8135 MB / 0.5309 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.4901, allocations: 23.81 kB / 0.531 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.4901, allocations: 20.34 kB / 0.531 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4901, allocations: 0 / 0.531 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of Templates: time 0.007328/0.4974, allocations: 1.881 MB / 0.5328 GB, free: 0.5938 MB / 382.1 MB " [Timeout remaining time 659] 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: 5.435102169401944] Failed to read output from testmodel.py, exit status != 0: 0.5072623277083039 0.528782113 0.048073089000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7de5ae97b0>