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.001748/0.001748, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001875/0.001875, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 8.023 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.2053/0.2053, allocations: 29.22 MB / 341.7 MB, free: 5.809 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.002226/0.002226, allocations: 71.88 kB / 478.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3996, allocations: 60.79 MB / 0.5265 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003757/0.4033, allocations: 2.097 MB / 0.5286 GB, free: 6.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.4044, allocations: 317.4 kB / 0.5289 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.4048, allocations: 10.41 kB / 0.5289 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.4051, allocations: 65.22 kB / 0.529 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.4053, allocations: 30.59 kB / 0.529 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.4059, allocations: 157.8 kB / 0.5291 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007901/0.4066, allocations: 398.3 kB / 0.5295 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.4072, allocations: 282.4 kB / 0.5298 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.4074, allocations: 153.5 kB / 0.5299 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.4076, allocations: 195.3 kB / 0.5301 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.4077, allocations: 43.53 kB / 0.5302 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.432e-05/0.4077, allocations: 44.88 kB / 0.5302 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.641e-05/0.4078, allocations: 102.5 kB / 0.5303 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.408, allocations: 209.2 kB / 0.5305 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.4086, allocations: 438.2 kB / 0.5309 GB, free: 5.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.4086, allocations: 1.562 kB / 0.5309 GB, free: 5.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4086, allocations: 0 / 0.5309 GB, free: 5.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.4086, allocations: 3.938 kB / 0.5309 GB, free: 5.066 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.001125/0.4098, allocations: 0.6505 MB / 0.5316 GB, free: 4.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.4098, allocations: 10.42 kB / 0.5316 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.41, allocations: 100.2 kB / 0.5317 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.4101, allocations: 59.98 kB / 0.5317 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.4106, allocations: 269.7 kB / 0.532 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.4106, allocations: 40.28 kB / 0.532 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/0.4107, allocations: 60.42 kB / 0.5321 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008389/0.4116, allocations: 498.8 kB / 0.5325 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.4116, allocations: 8.906 kB / 0.5326 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.4116, allocations: 25.16 kB / 0.5326 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.4117, allocations: 14.31 kB / 0.5326 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.4121, allocations: 278.6 kB / 0.5329 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.4144, allocations: 1.584 MB / 0.5344 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.4148, allocations: 183.7 kB / 0.5346 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.415, allocations: 84.8 kB / 0.5347 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.415, allocations: 2.5 kB / 0.5347 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.415, allocations: 35.64 kB / 0.5347 GB, free: 2.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.455e-06/0.415, allocations: 0 / 0.5347 GB, free: 2.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005068/0.4155, allocations: 249.3 kB / 0.5349 GB, free: 2.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.4156, allocations: 63.3 kB / 0.535 GB, free: 2.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.4159, allocations: 252.7 kB / 0.5352 GB, free: 2.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.4159, allocations: 34.86 kB / 0.5353 GB, free: 2.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.416, allocations: 268.5 kB / 0.5355 GB, free: 1.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.4161, allocations: 74.53 kB / 0.5356 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.4162, allocations: 45.72 kB / 0.5356 GB, free: 1.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.696e-05/0.4162, allocations: 341.2 kB / 0.536 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.974e-05/0.4163, allocations: 61.3 kB / 0.536 GB, free: 1.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.4165, allocations: 119.2 kB / 0.5361 GB, free: 1.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.4167, allocations: 200.3 kB / 0.5363 GB, free: 1.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4167, allocations: 4 kB / 0.5363 GB, free: 1.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003866/0.4171, allocations: 239.8 kB / 0.5366 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.4172, allocations: 6.781 kB / 0.5366 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4172, allocations: 0 / 0.5366 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.4172, allocations: 2.219 kB / 0.5366 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.4174, allocations: 50.34 kB / 0.5366 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4174, allocations: 3.406 kB / 0.5366 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.4175, allocations: 30.86 kB / 0.5366 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.4176, allocations: 11.52 kB / 0.5367 GB, free: 1.074 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.0001965/0.4178, allocations: 156.1 kB / 0.5368 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.4178, allocations: 22.86 kB / 0.5368 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.215e-05/0.4179, allocations: 31.38 kB / 0.5369 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4179, allocations: 6.688 kB / 0.5369 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.4179, allocations: 0 / 0.5369 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4179, allocations: 2.594 kB / 0.5369 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009021/0.4188, allocations: 0.6431 MB / 0.5375 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4188, allocations: 5.578 kB / 0.5375 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.4191, allocations: 27.92 kB / 0.5375 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.4191, allocations: 5.094 kB / 0.5375 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4191, allocations: 6.672 kB / 0.5375 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.4191, allocations: 1.125 kB / 0.5375 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4191, allocations: 0.6094 kB / 0.5375 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.4195, allocations: 369 kB / 0.5379 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.4196, allocations: 31.38 kB / 0.5379 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.4196, allocations: 11.16 kB / 0.5379 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4197, allocations: 0.6562 kB / 0.5379 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.4197, allocations: 13.75 kB / 0.5379 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4198, allocations: 3.906 kB / 0.538 GB, free: 180 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.42, allocations: 186.4 kB / 0.5381 GB, free: 68 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.42, allocations: 0 / 0.5381 GB, free: 68 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.4203, allocations: 78.34 kB / 0.5382 GB, free: 36 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.0009397/0.4213, allocations: 0.9126 MB / 0.5391 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003794/0.4217, allocations: 164.6 kB / 0.5393 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4217, allocations: 0 / 0.5393 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.4218, allocations: 81.42 kB / 0.5393 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.4223, allocations: 40.89 kB / 0.5394 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.4266, allocations: 2.811 MB / 0.5421 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.4271, allocations: 0.8086 MB / 0.5429 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.4273, allocations: 21.48 kB / 0.5429 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.4275, allocations: 134.2 kB / 0.5431 GB, free: 12.15 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4275, allocations: 1.312 kB / 0.5431 GB, free: 12.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.4668, allocations: 5.031 MB / 0.548 GB, free: 9.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.01, allocations: 1.406 kB / 0.548 GB, free: 9.645 MB / 398.1 MB " [Timeout remaining time 646] (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: 17.58228805699764] Failed to read output from testmodel.py, exit status != 0: 14.14042223800061 14.166891359 13.753013489 Calling exit ...