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.001262/0.001262, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001442/0.001442, allocations: 208 kB / 22.24 MB, free: 5.262 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.1767/0.1767, allocations: 29.22 MB / 341.7 MB, free: 5.566 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: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Gilpin,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin",fmuType="me",version="2.0",platforms={"static"}) [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.002144/0.002144, allocations: 67.91 kB / 478.3 MB, free: 404 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2963, allocations: 60.79 MB / 0.5265 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002687/0.299, allocations: 1.825 MB / 0.5282 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006381/0.2996, allocations: 306.4 kB / 0.5285 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.2998, allocations: 10.38 kB / 0.5285 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.3, allocations: 65.44 kB / 0.5286 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.3001, allocations: 30.38 kB / 0.5286 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.3004, allocations: 162.2 kB / 0.5288 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.3008, allocations: 403.3 kB / 0.5292 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.3012, allocations: 257.5 kB / 0.5294 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3013, allocations: 153.7 kB / 0.5296 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3015, allocations: 158 kB / 0.5297 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.3015, allocations: 45.06 kB / 0.5298 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.758e-05/0.3016, allocations: 43.53 kB / 0.5298 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.3016, allocations: 106.8 kB / 0.5299 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3017, allocations: 165.6 kB / 0.5301 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.3021, allocations: 443.8 kB / 0.5305 GB, free: 5.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3021, allocations: 1.75 kB / 0.5305 GB, free: 5.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3021, allocations: 4 kB / 0.5305 GB, free: 5.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3022, allocations: 0 / 0.5305 GB, free: 5.277 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.0007624/0.3029, allocations: 0.6475 MB / 0.5311 GB, free: 4.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.303, allocations: 9.25 kB / 0.5311 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.3031, allocations: 96.17 kB / 0.5312 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.3031, allocations: 59.19 kB / 0.5313 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.3035, allocations: 279.8 kB / 0.5315 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.3035, allocations: 38.88 kB / 0.5316 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.3036, allocations: 52.44 kB / 0.5316 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.3042, allocations: 0.494 MB / 0.5321 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3042, allocations: 3.938 kB / 0.5321 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.3043, allocations: 21.59 kB / 0.5321 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.3043, allocations: 14.25 kB / 0.5321 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.3047, allocations: 281.7 kB / 0.5324 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.3062, allocations: 1.496 MB / 0.5339 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.3065, allocations: 191.3 kB / 0.5341 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3066, allocations: 76.64 kB / 0.5341 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.3067, allocations: 2.984 kB / 0.5341 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.3067, allocations: 40.98 kB / 0.5342 GB, free: 2.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.3067, allocations: 3.938 kB / 0.5342 GB, free: 2.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003771/0.307, allocations: 251.5 kB / 0.5344 GB, free: 2.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.3071, allocations: 62.78 kB / 0.5345 GB, free: 2.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.3073, allocations: 259.6 kB / 0.5347 GB, free: 2.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3073, allocations: 30.27 kB / 0.5348 GB, free: 2.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3074, allocations: 270.2 kB / 0.535 GB, free: 2.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.3074, allocations: 73.44 kB / 0.5351 GB, free: 2.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.3075, allocations: 49.75 kB / 0.5351 GB, free: 2.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.3076, allocations: 337.1 kB / 0.5355 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.497e-05/0.3077, allocations: 61.83 kB / 0.5355 GB, free: 1.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3078, allocations: 111.8 kB / 0.5356 GB, free: 1.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.308, allocations: 198.4 kB / 0.5358 GB, free: 1.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.308, allocations: 0 / 0.5358 GB, free: 1.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002875/0.3083, allocations: 245.3 kB / 0.536 GB, free: 1.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3083, allocations: 7.625 kB / 0.536 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3083, allocations: 5.375 kB / 0.5361 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3083, allocations: 2.75 kB / 0.5361 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.3085, allocations: 50.8 kB / 0.5361 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3085, allocations: 3.594 kB / 0.5361 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.3086, allocations: 22.66 kB / 0.5361 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.3086, allocations: 10.88 kB / 0.5361 GB, free: 1.312 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.0001326/0.3087, allocations: 147.1 kB / 0.5363 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.3088, allocations: 24.23 kB / 0.5363 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.3088, allocations: 35.05 kB / 0.5363 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3088, allocations: 7.672 kB / 0.5363 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3088, allocations: 4 kB / 0.5363 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3088, allocations: 0.8906 kB / 0.5363 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.3095, allocations: 0.6168 MB / 0.5369 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3095, allocations: 1.438 kB / 0.537 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3096, allocations: 32.12 kB / 0.537 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3096, allocations: 5.094 kB / 0.537 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3096, allocations: 5.953 kB / 0.537 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3096, allocations: 1.25 kB / 0.537 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3096, allocations: 0 / 0.537 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.31, allocations: 366.3 kB / 0.5373 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.31, allocations: 23.66 kB / 0.5374 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.3101, allocations: 23.14 kB / 0.5374 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.3102, allocations: 4 kB / 0.5374 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.3102, allocations: 15.53 kB / 0.5374 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.3102, allocations: 3.641 kB / 0.5374 GB, free: 428 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.3103, allocations: 185.8 kB / 0.5376 GB, free: 316 kB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3103, allocations: 0 / 0.5376 GB, free: 316 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.3106, allocations: 87.5 kB / 0.5377 GB, free: 276 kB / 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.000666/0.3113, allocations: 0.8973 MB / 0.5385 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.3116, allocations: 171.3 kB / 0.5387 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3116, allocations: 0 / 0.5387 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3117, allocations: 77.75 kB / 0.5388 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.312, allocations: 35.17 kB / 0.5388 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.3152, allocations: 2.82 MB / 0.5416 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.3154, allocations: 210.4 kB / 0.5418 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.779e-05/0.3155, allocations: 21.22 kB / 0.5418 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.3157, allocations: 131.3 kB / 0.5419 GB, free: 13.05 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3157, allocations: 0 / 0.5419 GB, free: 13.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.3488, allocations: 5.333 MB / 0.5471 GB, free: 10.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.13, allocations: 12.36 kB / 0.5471 GB, free: 10.15 MB / 398.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin_fmu --startTime=0 --stopTime=5000 --stepSize=2 --timeout=50 --tolerance=1e-11 SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.86338240886107] Failed to read output from testmodel.py, exit status != 0: 11.236869994085282 11.259465941 10.952919112 Calling exit ...