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.001556/0.001556, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001825/0.001825, allocations: 215.2 kB / 22.25 MB, free: 5.117 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.347/1.347, allocations: 230.6 MB / 256 MB, free: 7.785 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.1694/0.1694, allocations: 29.23 MB / 341.7 MB, free: 5.582 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.001895/0.001895, allocations: 67.89 kB / 478.3 MB, free: 440 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2948, allocations: 60.8 MB / 0.5264 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002936/0.2977, allocations: 2.184 MB / 0.5286 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2988, allocations: 0.6265 MB / 0.5292 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.2989, allocations: 4.969 kB / 0.5292 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.2991, allocations: 45.73 kB / 0.5292 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.2992, allocations: 41.16 kB / 0.5293 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.2996, allocations: 124.4 kB / 0.5294 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.2999, allocations: 263.5 kB / 0.5297 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.3001, allocations: 135 kB / 0.5298 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.3002, allocations: 111.9 kB / 0.5299 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3003, allocations: 103.1 kB / 0.53 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.3003, allocations: 26.91 kB / 0.53 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.3004, allocations: 64.84 kB / 0.5301 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.3005, allocations: 80.94 kB / 0.5301 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.468e-05/0.3006, allocations: 114.4 kB / 0.5303 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.301, allocations: 343.1 kB / 0.5306 GB, free: 5.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.301, allocations: 0 / 0.5306 GB, free: 5.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.301, allocations: 1.25 kB / 0.5306 GB, free: 5.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.301, allocations: 0 / 0.5306 GB, free: 5.16 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.0007918/0.3018, allocations: 0.592 MB / 0.5312 GB, free: 4.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3018, allocations: 9.188 kB / 0.5312 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.621e-05/0.3019, allocations: 74.58 kB / 0.5312 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.3019, allocations: 44.73 kB / 0.5313 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.3022, allocations: 238.3 kB / 0.5315 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3023, allocations: 22.44 kB / 0.5315 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.3023, allocations: 36.08 kB / 0.5316 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.3028, allocations: 346.6 kB / 0.5319 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3028, allocations: 0 / 0.5319 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.3029, allocations: 15.62 kB / 0.5319 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3029, allocations: 7.812 kB / 0.5319 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.3033, allocations: 241.1 kB / 0.5322 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3044, allocations: 1.063 MB / 0.5332 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.3048, allocations: 213.5 kB / 0.5334 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.305, allocations: 94.88 kB / 0.5335 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.3051, allocations: 13.64 kB / 0.5335 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.3054, allocations: 163.3 kB / 0.5337 GB, free: 3.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.3054, allocations: 0 / 0.5337 GB, free: 3.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006304/0.306, allocations: 320.2 kB / 0.534 GB, free: 3.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.306, allocations: 54.81 kB / 0.534 GB, free: 2.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.3062, allocations: 272.5 kB / 0.5343 GB, free: 2.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3062, allocations: 31.05 kB / 0.5343 GB, free: 2.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.3063, allocations: 215.9 kB / 0.5345 GB, free: 2.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.3064, allocations: 64.11 kB / 0.5346 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.3064, allocations: 54.83 kB / 0.5346 GB, free: 2.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.3065, allocations: 335 kB / 0.5349 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3067, allocations: 122.7 kB / 0.5351 GB, free: 2.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.3069, allocations: 166.6 kB / 0.5352 GB, free: 2.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.3072, allocations: 255.5 kB / 0.5355 GB, free: 1.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3072, 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.0004941/0.3077, allocations: 360 kB / 0.5358 GB, free: 1.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.3078, allocations: 32.42 kB / 0.5358 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3078, allocations: 2.031 kB / 0.5358 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3078, allocations: 2.75 kB / 0.5358 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.308, allocations: 36.62 kB / 0.5359 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.308, allocations: 7.203 kB / 0.5359 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3081, allocations: 28.91 kB / 0.5359 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.3081, allocations: 15.58 kB / 0.5359 GB, free: 1.645 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.0001108/0.3082, allocations: 148 kB / 0.5361 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.3083, allocations: 26.81 kB / 0.5361 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.3087, allocations: 259.6 kB / 0.5363 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3087, allocations: 2.75 kB / 0.5363 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3087, allocations: 0 / 0.5363 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3087, allocations: 5.156 kB / 0.5363 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006976/0.3094, allocations: 0.6236 MB / 0.537 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3094, allocations: 0 / 0.537 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.3096, allocations: 29.31 kB / 0.537 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3096, allocations: 1.406 kB / 0.537 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3096, allocations: 10.64 kB / 0.537 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3096, allocations: 1.469 kB / 0.537 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3096, allocations: 0 / 0.537 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.3102, allocations: 471.9 kB / 0.5374 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.3103, allocations: 19.48 kB / 0.5375 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.3103, allocations: 11.34 kB / 0.5375 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3104, allocations: 9.391 kB / 0.5375 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.3105, allocations: 19.31 kB / 0.5375 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3105, allocations: 4.688 kB / 0.5375 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.3106, allocations: 194.2 kB / 0.5377 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3106, allocations: 0 / 0.5377 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.3109, allocations: 66.34 kB / 0.5378 GB, free: 0.5898 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.0008755/0.3118, allocations: 0.9977 MB / 0.5387 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005167/0.3123, allocations: 303.1 kB / 0.539 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3123, allocations: 0 / 0.539 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.3125, allocations: 109.2 kB / 0.5391 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3129, allocations: 35.98 kB / 0.5392 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.3164, allocations: 3.003 MB / 0.5421 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.3166, allocations: 179.2 kB / 0.5423 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.819e-05/0.3167, allocations: 22.38 kB / 0.5423 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3168, allocations: 108.5 kB / 0.5424 GB, free: 13.07 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3168, allocations: 0 / 0.5424 GB, free: 13.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.3521, allocations: 5.444 MB / 0.5477 GB, free: 10.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.28, allocations: 5.109 kB / 0.5477 GB, free: 10.12 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 & /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 sys.exit(0), Time elapsed: 13.830166081897914] Failed to read output from testmodel.py, exit status != 0: 11.400690879207104 11.426760048 11.121278185 Calling exit ...