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.001254/0.001254, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.001351/0.001351, allocations: 214.8 kB / 22.25 MB, free: 4.867 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.331/1.331, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 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.1761/0.1761, allocations: 29.24 MB / 341.7 MB, free: 5.59 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.001886/0.001886, allocations: 68.09 kB / 478.3 MB, free: 420 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2931, allocations: 60.79 MB / 0.5265 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002813/0.2959, allocations: 1.825 MB / 0.5282 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005771/0.2965, allocations: 306.9 kB / 0.5285 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.2966, allocations: 10.06 kB / 0.5285 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.2968, allocations: 65.36 kB / 0.5286 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/0.2969, allocations: 30.44 kB / 0.5286 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.2972, allocations: 162 kB / 0.5288 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.2977, allocations: 398.1 kB / 0.5292 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.298, allocations: 257.6 kB / 0.5294 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.2981, allocations: 158.5 kB / 0.5296 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.2983, allocations: 162.9 kB / 0.5297 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.2983, allocations: 45.16 kB / 0.5298 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-05/0.2984, allocations: 42.94 kB / 0.5298 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.2985, allocations: 103.4 kB / 0.5299 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.2986, allocations: 166 kB / 0.5301 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.2989, allocations: 443.9 kB / 0.5305 GB, free: 5.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.299, allocations: 0 / 0.5305 GB, free: 5.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.299, allocations: 0 / 0.5305 GB, free: 5.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.299, allocations: 5.625 kB / 0.5305 GB, free: 5.148 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.0007343/0.2997, allocations: 0.6455 MB / 0.5311 GB, free: 4.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2997, allocations: 11.11 kB / 0.5311 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.2998, allocations: 98.88 kB / 0.5312 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.2999, allocations: 60.06 kB / 0.5313 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.3002, allocations: 275.3 kB / 0.5315 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3003, allocations: 39.09 kB / 0.5316 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.3003, allocations: 57.28 kB / 0.5316 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.301, allocations: 497.1 kB / 0.5321 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.301, allocations: 3.938 kB / 0.5321 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.301, allocations: 32.97 kB / 0.5321 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.301, allocations: 13.47 kB / 0.5322 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.3014, allocations: 279.5 kB / 0.5324 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.3029, allocations: 1.495 MB / 0.5339 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.3032, allocations: 187.8 kB / 0.5341 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3033, allocations: 80.47 kB / 0.5341 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3034, allocations: 2.094 kB / 0.5341 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.3034, allocations: 37.55 kB / 0.5342 GB, free: 2.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.3034, allocations: 0 / 0.5342 GB, free: 2.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003688/0.3037, allocations: 251.5 kB / 0.5344 GB, free: 2.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.3038, allocations: 62 kB / 0.5345 GB, free: 2.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.304, allocations: 259.4 kB / 0.5347 GB, free: 2.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.304, allocations: 30.86 kB / 0.5347 GB, free: 2.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3041, allocations: 269.1 kB / 0.535 GB, free: 2.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.3042, allocations: 70.66 kB / 0.5351 GB, free: 1.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.3042, allocations: 49.36 kB / 0.5351 GB, free: 1.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.3043, allocations: 338.2 kB / 0.5354 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.579e-05/0.3044, allocations: 61.33 kB / 0.5355 GB, free: 1.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3045, allocations: 115.6 kB / 0.5356 GB, free: 1.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.3047, allocations: 198 kB / 0.5358 GB, free: 1.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3047, allocations: 0 / 0.5358 GB, free: 1.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002903/0.305, allocations: 243.2 kB / 0.536 GB, free: 1.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.305, allocations: 5.5 kB / 0.536 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.305, allocations: 1.562 kB / 0.536 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.305, allocations: 8.125 kB / 0.536 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3052, allocations: 50.3 kB / 0.5361 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3052, allocations: 2.781 kB / 0.5361 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.3053, allocations: 27.36 kB / 0.5361 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3053, allocations: 6.312 kB / 0.5361 GB, free: 1.191 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.0001108/0.3054, allocations: 154.2 kB / 0.5363 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.3054, allocations: 23.98 kB / 0.5363 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.3055, allocations: 32.11 kB / 0.5363 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3055, allocations: 6.406 kB / 0.5363 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3055, allocations: 0 / 0.5363 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3055, allocations: 5.266 kB / 0.5363 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.3061, allocations: 0.6213 MB / 0.5369 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3061, allocations: 0.6562 kB / 0.5369 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.3063, allocations: 36.12 kB / 0.537 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3063, allocations: 5.656 kB / 0.537 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3063, allocations: 1.219 kB / 0.537 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3063, allocations: 5.859 kB / 0.537 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3063, allocations: 0 / 0.537 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.3067, allocations: 367.9 kB / 0.5373 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.3067, allocations: 28.72 kB / 0.5374 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3067, allocations: 9.375 kB / 0.5374 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.3068, allocations: 6.203 kB / 0.5374 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.3069, allocations: 13.91 kB / 0.5374 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3069, allocations: 7.516 kB / 0.5374 GB, free: 300 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.307, allocations: 182.9 kB / 0.5376 GB, free: 192 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.307, allocations: 0 / 0.5376 GB, free: 192 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3073, allocations: 86.16 kB / 0.5377 GB, free: 152 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.0007002/0.308, allocations: 0.8983 MB / 0.5385 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.3083, allocations: 169.6 kB / 0.5387 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3083, allocations: 0 / 0.5387 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.3084, allocations: 77.14 kB / 0.5388 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.3087, allocations: 40.86 kB / 0.5388 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.3118, allocations: 2.818 MB / 0.5416 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.312, allocations: 211.3 kB / 0.5418 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.48e-05/0.3121, allocations: 20.81 kB / 0.5418 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.3122, allocations: 134.5 kB / 0.5419 GB, free: 12.93 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3122, allocations: 0 / 0.5419 GB, free: 12.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.3451, allocations: 5.336 MB / 0.5471 GB, free: 10.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.86, allocations: 5.25 kB / 0.5471 GB, free: 10.04 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 & python3 -m fmpy simulate --output-file SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin_res.csv --start-time 0 --stop-time 5000 --timeout 50 --relative-tolerance 1e-11 --interface-type ModelExchange --solver CVode --output-interval 2 SystemDynamics_SystemDynamics_IntroductoryExamples_Gilpin.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Gilpin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.916302870027721] Failed to read output from testmodel.py, exit status != 0: 10.965082372073084 10.990653854 10.686737849 Calling exit ...