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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1788/0.1788, allocations: 29.23 MB / 331.9 MB, free: 12.49 MB / 270.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.89 kB / 464.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2821, allocations: 59.56 MB / 0.5119 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003192/0.2853, allocations: 2.328 MB / 0.5142 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2866, allocations: 0.6544 MB / 0.5148 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.2869, allocations: 4.406 kB / 0.5148 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.2871, allocations: 42.08 kB / 0.5149 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.2873, allocations: 32.36 kB / 0.5149 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.2878, allocations: 129.7 kB / 0.515 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.2882, allocations: 265.5 kB / 0.5153 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.2884, allocations: 147.2 kB / 0.5154 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2886, allocations: 108.9 kB / 0.5155 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.2887, allocations: 124.2 kB / 0.5156 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.2888, allocations: 26.28 kB / 0.5157 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.289, allocations: 52.8 kB / 0.5157 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2891, allocations: 85.2 kB / 0.5158 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.2892, allocations: 151.3 kB / 0.5159 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.2896, allocations: 330.5 kB / 0.5163 GB, free: 6.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2896, allocations: 0 / 0.5163 GB, free: 6.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2896, allocations: 4 kB / 0.5163 GB, free: 6.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.2896, allocations: 0 / 0.5163 GB, free: 6.191 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.001/0.2906, allocations: 0.6687 MB / 0.5169 GB, free: 5.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2907, allocations: 9.469 kB / 0.5169 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.286e-05/0.2908, allocations: 74.88 kB / 0.517 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.2908, allocations: 45.38 kB / 0.517 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.2912, allocations: 298.5 kB / 0.5173 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2912, allocations: 26.27 kB / 0.5174 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.2913, allocations: 35.14 kB / 0.5174 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.2918, allocations: 340.2 kB / 0.5177 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2918, allocations: 5 kB / 0.5177 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.2918, allocations: 15.92 kB / 0.5177 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2918, allocations: 8.688 kB / 0.5177 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.2923, allocations: 240.6 kB / 0.518 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.2937, allocations: 1.154 MB / 0.5191 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.2941, allocations: 221.6 kB / 0.5193 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.2943, allocations: 95.02 kB / 0.5194 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.2944, allocations: 13.36 kB / 0.5194 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.2947, allocations: 150.6 kB / 0.5196 GB, free: 3.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.2947, allocations: 0 / 0.5196 GB, free: 3.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006546/0.2953, allocations: 332.3 kB / 0.5199 GB, free: 3.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.2954, allocations: 53.78 kB / 0.5199 GB, free: 3.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.2956, allocations: 273.4 kB / 0.5202 GB, free: 3.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.2956, allocations: 31.2 kB / 0.5202 GB, free: 3.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2957, allocations: 214.3 kB / 0.5204 GB, free: 3.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.2958, allocations: 68.52 kB / 0.5205 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.2958, allocations: 46.78 kB / 0.5205 GB, free: 3.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.2959, allocations: 338.4 kB / 0.5208 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.2961, allocations: 91.94 kB / 0.5209 GB, free: 2.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2963, allocations: 134.5 kB / 0.5211 GB, free: 2.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.2967, allocations: 255.8 kB / 0.5213 GB, free: 2.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2967, allocations: 0 / 0.5213 GB, free: 2.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00051/0.2972, allocations: 325.3 kB / 0.5216 GB, free: 2.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.2972, allocations: 32.39 kB / 0.5216 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2972, allocations: 2.406 kB / 0.5217 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2973, allocations: 2.078 kB / 0.5217 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.2974, allocations: 44.17 kB / 0.5217 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.2975, allocations: 3.109 kB / 0.5217 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.2976, allocations: 29.33 kB / 0.5217 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.2976, allocations: 10.88 kB / 0.5217 GB, free: 2.57 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.0001346/0.2978, allocations: 160.4 kB / 0.5219 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.2978, allocations: 27.27 kB / 0.5219 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.2983, allocations: 254.3 kB / 0.5222 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2983, allocations: 2.281 kB / 0.5222 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2983, allocations: 4 kB / 0.5222 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2983, allocations: 5.109 kB / 0.5222 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007998/0.2991, allocations: 0.6689 MB / 0.5228 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2991, allocations: 1.312 kB / 0.5228 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.2993, allocations: 27.94 kB / 0.5229 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2993, allocations: 9.047 kB / 0.5229 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.2993, allocations: 11.39 kB / 0.5229 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2993, allocations: 1.156 kB / 0.5229 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2993, allocations: 0 / 0.5229 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.3, allocations: 463.7 kB / 0.5233 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.3001, allocations: 100.5 kB / 0.5234 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.3001, allocations: 6.016 kB / 0.5234 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3002, allocations: 13.34 kB / 0.5234 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.3003, allocations: 17.72 kB / 0.5234 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3003, allocations: 9.875 kB / 0.5235 GB, free: 1.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.3005, allocations: 193.3 kB / 0.5236 GB, free: 1.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3005, allocations: 1.875 kB / 0.5236 GB, free: 1.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.3009, allocations: 66 kB / 0.5237 GB, free: 1.375 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.0009198/0.3018, allocations: 1.001 MB / 0.5247 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005324/0.3023, allocations: 279.9 kB / 0.5249 GB, free: 496 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3023, allocations: 0 / 0.5249 GB, free: 496 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.3025, allocations: 104 kB / 0.525 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3029, allocations: 30.39 kB / 0.5251 GB, free: 448 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.3071, allocations: 2.909 MB / 0.5279 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.3076, allocations: 0.7932 MB / 0.5287 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.058e-05/0.3077, allocations: 18.84 kB / 0.5287 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.3078, allocations: 102.9 kB / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3078, allocations: 4 kB / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.3372, allocations: 4.921 MB / 0.5336 GB, free: 13.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.524, allocations: 15.69 kB / 0.5336 GB, free: 13.02 MB / 398.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 sys.exit(0), Time elapsed: 11.133107563015074] Failed to read output from testmodel.py, exit status != 0: 8.595643084030598 8.622173737 8.327646316 Calling exit ...