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.001263/0.001263, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001459/0.001459, allocations: 215.5 kB / 22.25 MB, free: 5.105 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.84 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.1984/0.1984, allocations: 29.24 MB / 341.7 MB, free: 5.738 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.00207/0.00207, allocations: 71.89 kB / 478.3 MB, free: 492 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3292, allocations: 60.79 MB / 0.5265 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.002909/0.3321, allocations: 1.821 MB / 0.5282 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006239/0.3327, allocations: 301.7 kB / 0.5285 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.3329, allocations: 10.09 kB / 0.5285 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.3331, allocations: 61.89 kB / 0.5286 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3332, allocations: 41.78 kB / 0.5286 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.3335, allocations: 157.9 kB / 0.5288 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.3339, allocations: 399.3 kB / 0.5292 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.3343, allocations: 277.3 kB / 0.5294 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3344, allocations: 157.6 kB / 0.5296 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.3346, allocations: 187.2 kB / 0.5298 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.3346, allocations: 43.81 kB / 0.5298 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.033e-05/0.3347, allocations: 44.16 kB / 0.5298 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.3348, allocations: 108.2 kB / 0.5299 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3349, allocations: 164.9 kB / 0.5301 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.3353, allocations: 444.1 kB / 0.5305 GB, free: 5.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3353, allocations: 3.938 kB / 0.5305 GB, free: 5.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3353, allocations: 0.875 kB / 0.5305 GB, free: 5.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.3353, allocations: 0 / 0.5305 GB, free: 5.137 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.0008048/0.3361, allocations: 0.648 MB / 0.5312 GB, free: 4.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3361, allocations: 8.625 kB / 0.5312 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.3362, allocations: 103.9 kB / 0.5313 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.3363, allocations: 60.56 kB / 0.5313 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.3367, allocations: 266.2 kB / 0.5316 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.3367, allocations: 44.84 kB / 0.5316 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.3368, allocations: 51.59 kB / 0.5317 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.3375, allocations: 0.4972 MB / 0.5322 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.3375, allocations: 5.312 kB / 0.5322 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.3376, allocations: 24.81 kB / 0.5322 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.3376, allocations: 12.94 kB / 0.5322 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.338, allocations: 287.2 kB / 0.5325 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.3399, allocations: 1.483 MB / 0.5339 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.3404, allocations: 184.6 kB / 0.5341 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.3405, allocations: 82.05 kB / 0.5342 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3405, allocations: 2.5 kB / 0.5342 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3405, allocations: 45.59 kB / 0.5342 GB, free: 2.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.983e-06/0.3405, allocations: 3.938 kB / 0.5342 GB, free: 2.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005038/0.3411, allocations: 241.8 kB / 0.5345 GB, free: 2.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.3411, allocations: 58.22 kB / 0.5345 GB, free: 2.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.3414, allocations: 258.1 kB / 0.5348 GB, free: 2.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3414, allocations: 27.5 kB / 0.5348 GB, free: 2.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3416, allocations: 272 kB / 0.535 GB, free: 2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.3416, allocations: 73.83 kB / 0.5351 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.3417, allocations: 50.81 kB / 0.5352 GB, free: 1.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.3418, allocations: 335.8 kB / 0.5355 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.342, allocations: 64.44 kB / 0.5355 GB, free: 1.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3421, allocations: 119.4 kB / 0.5357 GB, free: 1.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3424, allocations: 193.2 kB / 0.5358 GB, free: 1.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3424, allocations: 0 / 0.5358 GB, free: 1.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003627/0.3428, allocations: 246 kB / 0.5361 GB, free: 1.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3428, allocations: 8.859 kB / 0.5361 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3428, allocations: 3.938 kB / 0.5361 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.3428, allocations: 2.75 kB / 0.5361 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.343, allocations: 42.91 kB / 0.5361 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.343, allocations: 7.391 kB / 0.5361 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.3431, allocations: 26.67 kB / 0.5362 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3432, allocations: 14.81 kB / 0.5362 GB, free: 1.176 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.0001573/0.3433, allocations: 150.9 kB / 0.5363 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.3434, allocations: 24.84 kB / 0.5363 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.3434, allocations: 34.67 kB / 0.5364 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3434, allocations: 7.25 kB / 0.5364 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3434, allocations: 0 / 0.5364 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3435, allocations: 2.547 kB / 0.5364 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007461/0.3442, allocations: 0.6127 MB / 0.537 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3442, allocations: 0 / 0.537 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.3444, allocations: 32.91 kB / 0.537 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3444, allocations: 5.594 kB / 0.537 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3444, allocations: 9.094 kB / 0.537 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3444, allocations: 5.688 kB / 0.537 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3444, allocations: 0 / 0.537 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.3448, allocations: 376.4 kB / 0.5374 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.3448, allocations: 28.42 kB / 0.5374 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.3449, allocations: 9.766 kB / 0.5374 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.345, allocations: 1.625 kB / 0.5374 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.345, allocations: 14.48 kB / 0.5374 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.345, allocations: 4.25 kB / 0.5374 GB, free: 288 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.3452, allocations: 185.7 kB / 0.5376 GB, free: 176 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3452, allocations: 0 / 0.5376 GB, free: 176 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003492/0.3455, allocations: 78.5 kB / 0.5377 GB, free: 144 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.0008356/0.3464, allocations: 0.9098 MB / 0.5386 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003896/0.3468, allocations: 161 kB / 0.5387 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3468, allocations: 0 / 0.5387 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3469, allocations: 85.36 kB / 0.5388 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.3474, allocations: 32.77 kB / 0.5389 GB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.3511, allocations: 2.811 MB / 0.5416 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3513, allocations: 210.7 kB / 0.5418 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.3514, allocations: 20.75 kB / 0.5418 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.3516, allocations: 134.9 kB / 0.5419 GB, free: 12.96 MB / 398.1 MB Notification: Performance of SimCode: time 1.623e-06/0.3516, allocations: 1.25 kB / 0.5419 GB, free: 12.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.3866, allocations: 5.411 MB / 0.5472 GB, free: 10.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.38, allocations: 4.125 kB / 0.5472 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: 14.681295704911463] Failed to read output from testmodel.py, exit status != 0: 11.48588169598952 11.512267313 11.172460616 Calling exit ...