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.001305/0.001305, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001577/0.001577, allocations: 215.7 kB / 23.03 MB, free: 4.953 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.353/1.353, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1707/0.1707, allocations: 29.23 MB / 342.5 MB, free: 5.605 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.002077/0.002077, allocations: 63.91 kB / 479.1 MB, free: 472 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2936, allocations: 60.8 MB / 0.5272 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003064/0.2967, allocations: 2.185 MB / 0.5293 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2979, allocations: 0.6266 MB / 0.53 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2981, allocations: 7.719 kB / 0.53 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.2983, allocations: 46.59 kB / 0.53 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2984, allocations: 32.16 kB / 0.53 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.2988, allocations: 129.2 kB / 0.5302 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.2991, allocations: 263.2 kB / 0.5304 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.2994, allocations: 143.5 kB / 0.5305 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.2995, allocations: 118 kB / 0.5307 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.2996, allocations: 120.4 kB / 0.5308 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.2997, allocations: 26.94 kB / 0.5308 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.2998, allocations: 56.02 kB / 0.5309 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/0.2999, allocations: 77.55 kB / 0.5309 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.3, allocations: 117.8 kB / 0.531 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.3004, allocations: 340.6 kB / 0.5314 GB, free: 5.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3004, allocations: 0 / 0.5314 GB, free: 5.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3004, allocations: 0 / 0.5314 GB, free: 5.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3004, allocations: 1.469 kB / 0.5314 GB, free: 5.137 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.0008427/0.3012, allocations: 0.5949 MB / 0.5319 GB, free: 4.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3013, allocations: 9.25 kB / 0.532 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.61e-05/0.3013, allocations: 13.34 kB / 0.532 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.365e-05/0.3014, allocations: 75.98 kB / 0.532 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.3015, allocations: 45.47 kB / 0.5321 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.3018, allocations: 235.6 kB / 0.5323 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3018, allocations: 30.56 kB / 0.5323 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.3019, allocations: 30.56 kB / 0.5324 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.3024, allocations: 351.2 kB / 0.5327 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3024, allocations: 10.44 kB / 0.5327 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.3025, allocations: 11.44 kB / 0.5327 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.3025, allocations: 7.719 kB / 0.5327 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.3029, allocations: 245.1 kB / 0.533 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.3042, allocations: 1.062 MB / 0.534 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.3046, allocations: 227.4 kB / 0.5342 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.3048, allocations: 115.3 kB / 0.5343 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.3048, allocations: 13.73 kB / 0.5343 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.3052, allocations: 163.7 kB / 0.5345 GB, free: 3.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.854e-06/0.3052, allocations: 0 / 0.5345 GB, free: 3.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001376/0.3065, allocations: 0.7531 MB / 0.5352 GB, free: 2.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3066, allocations: 59.61 kB / 0.5353 GB, free: 2.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.3068, allocations: 264.4 kB / 0.5355 GB, free: 2.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3068, allocations: 30.98 kB / 0.5356 GB, free: 2.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.307, allocations: 220.1 kB / 0.5358 GB, free: 2.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.307, allocations: 79 kB / 0.5359 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.3071, allocations: 54.86 kB / 0.5359 GB, free: 2.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.3071, allocations: 347.5 kB / 0.5362 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.3074, allocations: 128.5 kB / 0.5364 GB, free: 1.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.3076, allocations: 171 kB / 0.5365 GB, free: 1.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.308, allocations: 268.7 kB / 0.5368 GB, free: 1.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.308, allocations: 1.375 kB / 0.5368 GB, free: 1.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005446/0.3085, allocations: 383.3 kB / 0.5371 GB, free: 1.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.3085, allocations: 32.28 kB / 0.5372 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3085, allocations: 2.078 kB / 0.5372 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3086, allocations: 2.75 kB / 0.5372 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.3088, allocations: 54.12 kB / 0.5372 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3088, allocations: 11.39 kB / 0.5372 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.3089, allocations: 16 kB / 0.5373 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3089, allocations: 7.484 kB / 0.5373 GB, free: 1.32 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 (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.0001343/0.3091, allocations: 167.6 kB / 0.5374 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.3091, allocations: 32.73 kB / 0.5375 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.3096, allocations: 292.8 kB / 0.5377 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3096, allocations: 1.938 kB / 0.5377 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3096, allocations: 0.9062 kB / 0.5377 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3096, allocations: 1.125 kB / 0.5377 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.3106, allocations: 0.7118 MB / 0.5384 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3106, allocations: 0 / 0.5384 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.3108, allocations: 46.8 kB / 0.5385 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3108, allocations: 1.688 kB / 0.5385 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.3108, allocations: 5.312 kB / 0.5385 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3108, allocations: 2.531 kB / 0.5385 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3108, allocations: 11.86 kB / 0.5385 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.3115, allocations: 0.5009 MB / 0.539 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.3115, allocations: 24.34 kB / 0.539 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.3115, allocations: 10.02 kB / 0.539 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3117, allocations: 15.45 kB / 0.539 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.3117, allocations: 19.72 kB / 0.5391 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3118, allocations: 9.469 kB / 0.5391 GB, free: 236 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.3119, allocations: 195.4 kB / 0.5393 GB, free: 104 kB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3119, allocations: 0 / 0.5393 GB, free: 104 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.3122, allocations: 44.75 kB / 0.5393 GB, free: 100 kB / 382.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.001113/0.3133, allocations: 1.051 MB / 0.5403 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.3139, allocations: 315.6 kB / 0.5406 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3139, allocations: 0 / 0.5406 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.3142, allocations: 122.3 kB / 0.5407 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3145, allocations: 43.48 kB / 0.5408 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.3185, allocations: 3.14 MB / 0.5438 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.3187, allocations: 187.8 kB / 0.544 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.3188, allocations: 19.98 kB / 0.544 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.319, allocations: 111.3 kB / 0.5442 GB, free: 12.46 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.319, allocations: 0 / 0.5442 GB, free: 12.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.3478, allocations: 5.465 MB / 0.5495 GB, free: 9.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.55, allocations: 8.875 kB / 0.5495 GB, free: 9.699 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.195846620947123] Failed to read output from testmodel.py, exit status != 0: 11.719797192024998 11.734675844 11.431273504 Calling exit ...