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.001239/0.001239, allocations: 104.8 kB / 18.84 MB, free: 3.023 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.001289/0.001289, allocations: 186.8 kB / 22.1 MB, free: 4.223 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.413/1.413, allocations: 225.6 MB / 250.8 MB, free: 2.93 MB / 190.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.1786/0.1786, allocations: 29.24 MB / 335.3 MB, free: 15.95 MB / 270.1 MB " [Timeout remaining time 180] 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 68.67 kB / 469.5 MB, free: 35.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09764, allocations: 59.6 MB / 0.5167 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Gilpin): time 0.003309/0.101, allocations: 2.109 MB / 0.5188 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.1017, allocations: 319 kB / 0.5191 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.1019, allocations: 8 kB / 0.5191 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1021, allocations: 67.19 kB / 0.5191 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.1022, allocations: 31.56 kB / 0.5192 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.1025, allocations: 171.8 kB / 0.5193 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.103, allocations: 404.5 kB / 0.5197 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.1034, allocations: 283.1 kB / 0.52 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1036, allocations: 163.3 kB / 0.5201 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1038, allocations: 186.9 kB / 0.5203 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.1038, allocations: 44 kB / 0.5204 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.113e-05/0.1039, allocations: 47.94 kB / 0.5204 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.615e-05/0.104, allocations: 107.6 kB / 0.5205 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.1041, allocations: 202.8 kB / 0.5207 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.1046, allocations: 445.8 kB / 0.5211 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1046, allocations: 4 kB / 0.5211 GB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1046, allocations: 0 / 0.5211 GB, free: 8.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1047, allocations: 0 / 0.5211 GB, free: 8.605 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.0009238/0.1056, allocations: 0.7211 MB / 0.5218 GB, free: 7.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1056, allocations: 15.97 kB / 0.5218 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.1057, allocations: 107.9 kB / 0.522 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.565e-05/0.1058, allocations: 56.61 kB / 0.522 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.1063, allocations: 320.5 kB / 0.5223 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.1063, allocations: 45.69 kB / 0.5224 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.1064, allocations: 56.36 kB / 0.5224 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.1071, allocations: 499.6 kB / 0.5229 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1071, allocations: 3.938 kB / 0.5229 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.1071, allocations: 20 kB / 0.5229 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.1071, allocations: 16 kB / 0.5229 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.1076, allocations: 281 kB / 0.5232 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.1095, allocations: 1.639 MB / 0.5248 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.1099, allocations: 178.7 kB / 0.525 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.11, allocations: 76.83 kB / 0.525 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1101, allocations: 4 kB / 0.525 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1101, allocations: 34.56 kB / 0.5251 GB, free: 4.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.1101, allocations: 3.938 kB / 0.5251 GB, free: 4.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004563/0.1105, allocations: 249.8 kB / 0.5253 GB, free: 4.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.1106, allocations: 59.34 kB / 0.5254 GB, free: 4.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.1109, allocations: 261.8 kB / 0.5256 GB, free: 3.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.1109, allocations: 29.7 kB / 0.5256 GB, free: 3.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1111, allocations: 268.2 kB / 0.5259 GB, free: 3.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.1111, allocations: 75.38 kB / 0.526 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.1112, allocations: 45.7 kB / 0.526 GB, free: 3.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1114, allocations: 338.8 kB / 0.5263 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1115, allocations: 63.98 kB / 0.5264 GB, free: 2.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1116, allocations: 117.9 kB / 0.5265 GB, free: 2.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.1119, allocations: 186 kB / 0.5267 GB, free: 2.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1119, allocations: 0 / 0.5267 GB, free: 2.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003719/0.1123, allocations: 249.1 kB / 0.5269 GB, free: 2.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1123, allocations: 8 kB / 0.5269 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1123, allocations: 12.11 kB / 0.5269 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1123, allocations: 4 kB / 0.527 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.1125, allocations: 47.91 kB / 0.527 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1125, allocations: 7.938 kB / 0.527 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.1126, allocations: 31.72 kB / 0.527 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1126, allocations: 4 kB / 0.527 GB, free: 2.215 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.0001696/0.1128, allocations: 153.7 kB / 0.5272 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.1128, allocations: 31.81 kB / 0.5272 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.876e-05/0.1129, allocations: 30.11 kB / 0.5272 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1129, allocations: 15.94 kB / 0.5273 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1129, allocations: 0 / 0.5273 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1129, allocations: 0 / 0.5273 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008178/0.1137, allocations: 0.6726 MB / 0.5279 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1137, allocations: 0 / 0.5279 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.1139, allocations: 39.92 kB / 0.528 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1139, allocations: 3.938 kB / 0.528 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1139, allocations: 0 / 0.528 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1139, allocations: 4 kB / 0.528 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1139, allocations: 0 / 0.528 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.1144, allocations: 367.3 kB / 0.5283 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/0.1145, allocations: 112.9 kB / 0.5284 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1145, allocations: 3.938 kB / 0.5284 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.1146, allocations: 4 kB / 0.5284 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.1146, allocations: 7.984 kB / 0.5284 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1146, allocations: 8 kB / 0.5284 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.1148, allocations: 185.2 kB / 0.5286 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1148, allocations: 4 kB / 0.5286 GB, free: 500 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000341/0.1152, allocations: 83.62 kB / 0.5287 GB, free: 416 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.0007851/0.1159, allocations: 0.906 MB / 0.5296 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.1163, allocations: 156.2 kB / 0.5297 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1163, allocations: 4.062 kB / 0.5297 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.1164, allocations: 83.84 kB / 0.5298 GB, free: 15.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1168, allocations: 40.22 kB / 0.5299 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.1201, allocations: 2.831 MB / 0.5326 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.1206, allocations: 0.8143 MB / 0.5334 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.276e-05/0.1207, allocations: 17.94 kB / 0.5334 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.1209, allocations: 135.4 kB / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1209, allocations: 4 kB / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.1525, allocations: 5.016 MB / 0.5385 GB, free: 6.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.433, allocations: 3.562 kB / 0.5385 GB, free: 6.312 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.680487394100055] Failed to read output from testmodel.py, exit status != 0: 8.506542531074956 8.539613598 8.429347422 Calling exit ...