Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.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.001711/0.001711, allocations: 116.1 kB / 17.17 MB, free: 6 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.001582/0.001582, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.392/1.392, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1823/0.1823, allocations: 29.22 MB / 338.8 MB, free: 11.79 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.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",fmuType="cs",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.00188/0.00188, allocations: 67.73 kB / 473.9 MB, free: 27.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1063, allocations: 60.75 MB / 0.5221 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003621/0.1099, allocations: 2.342 MB / 0.5244 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1111, allocations: 0.6582 MB / 0.525 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1113, allocations: 4 kB / 0.525 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.1115, allocations: 43.52 kB / 0.5251 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1116, allocations: 47.55 kB / 0.5251 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.112, allocations: 115.9 kB / 0.5252 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.1123, allocations: 268 kB / 0.5255 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.1125, allocations: 146.2 kB / 0.5256 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1127, allocations: 103.6 kB / 0.5257 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1128, allocations: 123.3 kB / 0.5258 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.1128, allocations: 28 kB / 0.5259 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.113, allocations: 59.97 kB / 0.5259 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1131, allocations: 87.67 kB / 0.526 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1132, allocations: 151 kB / 0.5262 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.1136, allocations: 330.4 kB / 0.5265 GB, free: 308 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1136, allocations: 0 / 0.5265 GB, free: 308 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1136, allocations: 0 / 0.5265 GB, free: 308 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1136, allocations: 0 / 0.5265 GB, free: 308 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001014/0.1146, allocations: 0.6639 MB / 0.5271 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1147, allocations: 12.03 kB / 0.5271 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.05e-05/0.1147, allocations: 12.84 kB / 0.5271 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.176e-05/0.1148, allocations: 75.33 kB / 0.5272 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.1149, allocations: 44.66 kB / 0.5273 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.1152, allocations: 295.5 kB / 0.5275 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.1153, allocations: 25.03 kB / 0.5276 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.1153, allocations: 40.36 kB / 0.5276 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.1159, allocations: 359.5 kB / 0.5279 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1159, allocations: 3.984 kB / 0.5279 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.116, allocations: 12 kB / 0.528 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.116, allocations: 8 kB / 0.528 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.1165, allocations: 246.4 kB / 0.5282 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1179, allocations: 1.16 MB / 0.5293 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.1184, allocations: 238.3 kB / 0.5296 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.1186, allocations: 108.8 kB / 0.5297 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.1186, allocations: 15.98 kB / 0.5297 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.119, allocations: 156.6 kB / 0.5298 GB, free: 12.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.119, allocations: 0 / 0.5298 GB, free: 12.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001559/0.1205, allocations: 0.8341 MB / 0.5306 GB, free: 11.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1206, allocations: 51.41 kB / 0.5307 GB, free: 11.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.1208, allocations: 266.7 kB / 0.5309 GB, free: 11.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1209, allocations: 29.7 kB / 0.531 GB, free: 11.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.121, allocations: 220.4 kB / 0.5312 GB, free: 11.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.1211, allocations: 79.3 kB / 0.5313 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/0.1212, allocations: 61.67 kB / 0.5313 GB, free: 11.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1213, allocations: 338.8 kB / 0.5316 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.1216, allocations: 100.2 kB / 0.5317 GB, free: 10.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.1218, allocations: 137 kB / 0.5319 GB, free: 10.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.1223, allocations: 270.3 kB / 0.5321 GB, free: 10.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1223, allocations: 0 / 0.5321 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006097/0.1229, allocations: 364.1 kB / 0.5325 GB, free: 9.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.1229, allocations: 33.7 kB / 0.5325 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1229, allocations: 0 / 0.5325 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.123, allocations: 4 kB / 0.5325 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.1232, allocations: 47.91 kB / 0.5326 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1232, allocations: 4 kB / 0.5326 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.1233, allocations: 15.98 kB / 0.5326 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.1234, allocations: 12 kB / 0.5326 GB, free: 9.664 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (Hunting.count,$PRE.Hunting.count,Hunting.T_start,$PRE.Hunting.T_start,$whenCondition1,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0001668/0.1235, allocations: 162.4 kB / 0.5327 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1236, allocations: 31.78 kB / 0.5328 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/0.1241, allocations: 299.6 kB / 0.5331 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1241, allocations: 0 / 0.5331 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1241, allocations: 7.922 kB / 0.5331 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1241, allocations: 4 kB / 0.5331 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.1252, allocations: 0.7461 MB / 0.5338 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1252, allocations: 0 / 0.5338 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.1254, allocations: 51.91 kB / 0.5338 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1254, allocations: 0 / 0.5338 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1254, allocations: 4 kB / 0.5338 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1254, allocations: 0 / 0.5338 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1254, allocations: 4 kB / 0.5339 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/0.1262, allocations: 0.5091 MB / 0.5343 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.1263, allocations: 101 kB / 0.5344 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.1263, allocations: 4 kB / 0.5344 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.1264, allocations: 16.05 kB / 0.5345 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.1265, allocations: 19.97 kB / 0.5345 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.1265, allocations: 15.94 kB / 0.5345 GB, free: 7.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.1267, allocations: 189.9 kB / 0.5347 GB, free: 7.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1267, allocations: 0 / 0.5347 GB, free: 7.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.127, allocations: 52 kB / 0.5347 GB, free: 7.344 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 ($outputAlias_hare,$outputAlias_lynx) * Number of discrete variables: 3 ($whenCondition1,Hunting.T_start,Hunting.count) * Number of discrete states: 1 (Hunting.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001133/0.1281, allocations: 1.042 MB / 0.5357 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005809/0.1287, allocations: 299.9 kB / 0.536 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1287, allocations: 0 / 0.536 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.129, allocations: 118.6 kB / 0.5361 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1293, allocations: 43.59 kB / 0.5362 GB, free: 5.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.1331, allocations: 3.036 MB / 0.5392 GB, free: 2.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.1336, allocations: 0.7947 MB / 0.5399 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.184e-05/0.1336, allocations: 17.55 kB / 0.5399 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.1338, allocations: 111.4 kB / 0.5401 GB, free: 1.711 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1338, allocations: 4 kB / 0.5401 GB, free: 1.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.1583, allocations: 5.207 MB / 0.5451 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/8.471, allocations: 7.938 kB / 0.5451 GB, free: 12.61 MB / 414.1 MB " [Timeout remaining time 651] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-10 SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.219952451996505] Failed to read output from testmodel.py, exit status != 0: 8.594942579977214 8.615863786 8.498499864 Calling exit ...