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.001261/0.001261, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001416/0.001416, allocations: 211.8 kB / 22.24 MB, free: 5.258 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.781 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.1802/0.1802, allocations: 29.24 MB / 341.7 MB, free: 5.574 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",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.001956/0.001956, allocations: 71.89 kB / 478.3 MB, free: 432 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2947, allocations: 60.79 MB / 0.5264 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003103/0.2978, allocations: 2.187 MB / 0.5286 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.299, allocations: 0.6307 MB / 0.5292 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.2992, allocations: 4.375 kB / 0.5292 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.2994, allocations: 46.22 kB / 0.5292 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.417e-05/0.2995, allocations: 28.41 kB / 0.5293 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.2999, allocations: 126 kB / 0.5294 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.3002, allocations: 266.6 kB / 0.5296 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.3004, allocations: 144.1 kB / 0.5298 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3005, allocations: 102.3 kB / 0.5299 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3006, allocations: 111.9 kB / 0.53 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.3007, allocations: 25.84 kB / 0.53 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3008, allocations: 56.84 kB / 0.5301 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.938e-05/0.3009, allocations: 85.92 kB / 0.5301 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.301, allocations: 117.1 kB / 0.5303 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.3014, allocations: 332.7 kB / 0.5306 GB, free: 5.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3014, allocations: 0 / 0.5306 GB, free: 5.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3014, allocations: 0 / 0.5306 GB, free: 5.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.3014, allocations: 1.344 kB / 0.5306 GB, free: 5.168 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0007982/0.3022, allocations: 0.5993 MB / 0.5312 GB, free: 4.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3022, allocations: 12.81 kB / 0.5312 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.845e-05/0.3023, allocations: 74.36 kB / 0.5312 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.3024, allocations: 41.27 kB / 0.5313 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.3027, allocations: 234.8 kB / 0.5315 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.3027, allocations: 30.86 kB / 0.5315 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.3027, allocations: 29.59 kB / 0.5316 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.3033, allocations: 352 kB / 0.5319 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3033, allocations: 5.156 kB / 0.5319 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3033, allocations: 10.94 kB / 0.5319 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3033, allocations: 7.656 kB / 0.5319 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.3038, allocations: 240 kB / 0.5322 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.305, allocations: 1.056 MB / 0.5332 GB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.3054, allocations: 217 kB / 0.5334 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.3056, allocations: 95.17 kB / 0.5335 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.3056, allocations: 22.11 kB / 0.5335 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.3059, allocations: 157.4 kB / 0.5337 GB, free: 3.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.3059, allocations: 0 / 0.5337 GB, free: 3.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.000645/0.3066, allocations: 318.3 kB / 0.534 GB, free: 3.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.3066, allocations: 54.56 kB / 0.534 GB, free: 2.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3068, allocations: 276.2 kB / 0.5343 GB, free: 2.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3068, allocations: 35.59 kB / 0.5343 GB, free: 2.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3069, allocations: 211.7 kB / 0.5345 GB, free: 2.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.307, allocations: 64.27 kB / 0.5346 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.307, allocations: 46.52 kB / 0.5346 GB, free: 2.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.3071, allocations: 338.2 kB / 0.5349 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.3073, allocations: 118.9 kB / 0.535 GB, free: 2.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.3075, allocations: 162.8 kB / 0.5352 GB, free: 2.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.3079, allocations: 263.4 kB / 0.5355 GB, free: 1.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3079, allocations: 1.781 kB / 0.5355 GB, free: 1.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004862/0.3083, allocations: 351 kB / 0.5358 GB, free: 1.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.3084, allocations: 37.97 kB / 0.5358 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3084, allocations: 1.375 kB / 0.5358 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3084, allocations: 3.359 kB / 0.5358 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.3086, allocations: 44.28 kB / 0.5359 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3086, allocations: 2.031 kB / 0.5359 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.3087, allocations: 30.62 kB / 0.5359 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.3087, allocations: 7.391 kB / 0.5359 GB, free: 1.652 MB / 382.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 (26): * Single equations (assignments): 25 * 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.0001152/0.3088, allocations: 151.7 kB / 0.5361 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3089, allocations: 30.75 kB / 0.5361 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.3093, allocations: 266.5 kB / 0.5363 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3093, allocations: 2.594 kB / 0.5363 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3093, allocations: 0.7969 kB / 0.5363 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3094, allocations: 5.906 kB / 0.5364 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007239/0.3101, allocations: 0.6185 MB / 0.537 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3101, allocations: 1.062 kB / 0.537 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3102, allocations: 32.66 kB / 0.537 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3102, allocations: 5.188 kB / 0.537 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.3103, allocations: 9.672 kB / 0.537 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3103, allocations: 1.031 kB / 0.537 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3103, allocations: 0.7969 kB / 0.537 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/0.3109, allocations: 461 kB / 0.5374 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.3109, allocations: 23.22 kB / 0.5375 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.311, allocations: 7.25 kB / 0.5375 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3111, allocations: 18.66 kB / 0.5375 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.3112, allocations: 17.47 kB / 0.5375 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3112, allocations: 5.672 kB / 0.5375 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3113, allocations: 190.9 kB / 0.5377 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3113, allocations: 1.375 kB / 0.5377 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.3116, allocations: 70.34 kB / 0.5378 GB, free: 0.5703 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hare.Integrator1.y,Lynx.Integrator1.y) * 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 (18): * Single equations (assignments): 16 * 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.0008813/0.3125, allocations: 0.9921 MB / 0.5387 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005208/0.313, allocations: 300.2 kB / 0.539 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.313, allocations: 3.938 kB / 0.539 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.3132, allocations: 102.7 kB / 0.5391 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3136, allocations: 36.05 kB / 0.5392 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.3172, allocations: 3.007 MB / 0.5421 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.3174, allocations: 182.5 kB / 0.5423 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.3175, allocations: 18.89 kB / 0.5423 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.3176, allocations: 104 kB / 0.5424 GB, free: 13.06 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3176, allocations: 0 / 0.5424 GB, free: 13.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.3502, allocations: 5.451 MB / 0.5477 GB, free: 10.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.95, allocations: 1.25 kB / 0.5477 GB, free: 10.11 MB / 398.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.024 SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.604738363064826] Failed to read output from testmodel.py, exit status != 0: 11.052766817156225 11.079672055 10.773596039 Calling exit ...