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.001598/0.001598, allocations: 113 kB / 18.94 MB, free: 2.934 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.001726/0.001726, allocations: 208 kB / 22.25 MB, free: 5.082 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 8.008 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.1947/0.1947, allocations: 29.23 MB / 341.7 MB, free: 5.887 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.00204/0.00204, allocations: 63.91 kB / 478.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2886, allocations: 60.8 MB / 0.5265 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003384/0.2919, allocations: 2.348 MB / 0.5288 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2931, allocations: 0.6738 MB / 0.5295 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.2933, allocations: 4.406 kB / 0.5295 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.2934, allocations: 46.61 kB / 0.5295 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.889e-05/0.2935, allocations: 32.94 kB / 0.5295 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.2939, allocations: 128.1 kB / 0.5297 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.2943, allocations: 263.1 kB / 0.5299 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.2945, allocations: 147.8 kB / 0.5301 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.345e-05/0.2946, allocations: 107.3 kB / 0.5302 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.2947, allocations: 127.7 kB / 0.5303 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.2947, allocations: 25.91 kB / 0.5303 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.2949, allocations: 60.41 kB / 0.5304 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.2949, allocations: 82.03 kB / 0.5304 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.427e-05/0.295, allocations: 153.8 kB / 0.5306 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.2956, allocations: 325 kB / 0.5309 GB, free: 5.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2956, allocations: 4 kB / 0.5309 GB, free: 5.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2956, allocations: 0 / 0.5309 GB, free: 5.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.2956, allocations: 0 / 0.5309 GB, free: 5.051 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.0008009/0.2964, allocations: 0.5904 MB / 0.5315 GB, free: 4.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.651e-05/0.2965, allocations: 14.69 kB / 0.5315 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.2966, allocations: 73.91 kB / 0.5316 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.2966, allocations: 45.05 kB / 0.5316 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.2969, allocations: 238.2 kB / 0.5318 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.2969, allocations: 27.5 kB / 0.5319 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.2969, allocations: 33.14 kB / 0.5319 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.2974, allocations: 353.7 kB / 0.5322 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2974, allocations: 1.344 kB / 0.5322 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.2975, allocations: 11.47 kB / 0.5322 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.2975, allocations: 8.156 kB / 0.5322 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.2979, allocations: 241 kB / 0.5325 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.2992, allocations: 1.117 MB / 0.5336 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.2996, allocations: 217.5 kB / 0.5338 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.2998, allocations: 95.11 kB / 0.5339 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.2998, allocations: 18.08 kB / 0.5339 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.3001, allocations: 158.5 kB / 0.534 GB, free: 3.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.3001, allocations: 0 / 0.534 GB, free: 3.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007503/0.3008, allocations: 316.8 kB / 0.5343 GB, free: 2.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.3009, allocations: 58.48 kB / 0.5344 GB, free: 2.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3011, allocations: 263.2 kB / 0.5346 GB, free: 2.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3011, allocations: 31.05 kB / 0.5347 GB, free: 2.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.3012, allocations: 227.6 kB / 0.5349 GB, free: 2.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.3012, allocations: 64.05 kB / 0.535 GB, free: 2.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.3013, allocations: 46.56 kB / 0.535 GB, free: 2.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.3013, allocations: 342.2 kB / 0.5353 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3015, allocations: 88.61 kB / 0.5354 GB, free: 2.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.3017, allocations: 138.7 kB / 0.5355 GB, free: 1.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/0.3022, allocations: 253.7 kB / 0.5358 GB, free: 1.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3022, allocations: 1.094 kB / 0.5358 GB, free: 1.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004609/0.3026, allocations: 329 kB / 0.5361 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3026, allocations: 32.39 kB / 0.5361 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3027, allocations: 1.281 kB / 0.5361 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3027, allocations: 2.828 kB / 0.5361 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.3028, allocations: 41.56 kB / 0.5362 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3028, allocations: 7.375 kB / 0.5362 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.303, allocations: 32.5 kB / 0.5362 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.303, allocations: 11.09 kB / 0.5362 GB, free: 1.605 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.0001211/0.3031, allocations: 152.2 kB / 0.5364 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.3031, allocations: 27.77 kB / 0.5364 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005401/0.3037, allocations: 253.7 kB / 0.5366 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3037, allocations: 3.125 kB / 0.5366 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3037, allocations: 4.656 kB / 0.5366 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3037, allocations: 4.594 kB / 0.5366 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006535/0.3043, allocations: 0.6398 MB / 0.5373 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3043, allocations: 0.75 kB / 0.5373 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.3045, allocations: 28.58 kB / 0.5373 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3045, allocations: 1.375 kB / 0.5373 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3045, allocations: 10.58 kB / 0.5373 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3045, allocations: 1.375 kB / 0.5373 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3045, allocations: 4 kB / 0.5373 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.3052, allocations: 462.8 kB / 0.5378 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.3052, allocations: 26.62 kB / 0.5378 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.3053, allocations: 10.69 kB / 0.5378 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3054, allocations: 14.67 kB / 0.5378 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.3055, allocations: 21.56 kB / 0.5378 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3055, allocations: 7.688 kB / 0.5378 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.3056, allocations: 191.9 kB / 0.538 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3056, allocations: 0 / 0.538 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.3059, allocations: 62.44 kB / 0.5381 GB, free: 500 kB / 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.0009705/0.3069, allocations: 1.001 MB / 0.5391 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006497/0.3075, allocations: 269.7 kB / 0.5393 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3075, allocations: 1.281 kB / 0.5393 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.3077, allocations: 98.52 kB / 0.5394 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3081, allocations: 30.19 kB / 0.5394 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.312, allocations: 2.896 MB / 0.5423 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.3125, allocations: 0.7888 MB / 0.543 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.154e-05/0.3126, allocations: 18.83 kB / 0.5431 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.3127, allocations: 108 kB / 0.5432 GB, free: 12.53 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3127, allocations: 0 / 0.5432 GB, free: 12.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/0.3493, allocations: 5.088 MB / 0.5481 GB, free: 9.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.65, allocations: 10.58 kB / 0.5481 GB, free: 9.969 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 sys.exit(0), Time elapsed: 14.305295994970948] Failed to read output from testmodel.py, exit status != 0: 11.773094556061551 11.802554708 11.502779126 Calling exit ...