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.001254/0.001254, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001357/0.001357, allocations: 188.5 kB / 22.22 MB, free: 5.102 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.309/1.309, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] 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.1798/0.1798, allocations: 29.23 MB / 335.5 MB, free: 11.34 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: translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.91 kB / 470.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.277, allocations: 59.62 MB / 0.5175 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002811/0.2798, allocations: 2.337 MB / 0.5198 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008958/0.2807, allocations: 0.6408 MB / 0.5204 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.2808, allocations: 3.531 kB / 0.5204 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.281, allocations: 43.25 kB / 0.5205 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.2811, allocations: 37.67 kB / 0.5205 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.2815, allocations: 132.2 kB / 0.5207 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.2817, allocations: 272.4 kB / 0.5209 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.2819, allocations: 149.5 kB / 0.5211 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.301e-05/0.282, allocations: 110.6 kB / 0.5212 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.2821, allocations: 124.9 kB / 0.5213 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.2822, allocations: 27.09 kB / 0.5213 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.2823, allocations: 57.23 kB / 0.5214 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.2824, allocations: 81.09 kB / 0.5214 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.589e-05/0.2825, allocations: 153.8 kB / 0.5216 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.2828, allocations: 327.8 kB / 0.5219 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2828, allocations: 5.781 kB / 0.5219 GB, free: 7.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2828, allocations: 0 / 0.5219 GB, free: 7.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2828, allocations: 0 / 0.5219 GB, free: 7.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.0007976/0.2836, allocations: 0.593 MB / 0.5225 GB, free: 6.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.2837, allocations: 10.19 kB / 0.5225 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.2837, allocations: 45.06 kB / 0.5225 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.284, allocations: 238.5 kB / 0.5228 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.284, allocations: 22.06 kB / 0.5228 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-05/0.2841, allocations: 33.69 kB / 0.5228 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.2846, allocations: 338.4 kB / 0.5231 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2846, allocations: 7.938 kB / 0.5231 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.2846, allocations: 11.83 kB / 0.5232 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2846, allocations: 11.58 kB / 0.5232 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.2851, allocations: 238.7 kB / 0.5234 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.2863, allocations: 1.107 MB / 0.5245 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.2867, allocations: 221.2 kB / 0.5247 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.2868, allocations: 95.31 kB / 0.5248 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.2869, allocations: 14.83 kB / 0.5248 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.2872, allocations: 152.8 kB / 0.5249 GB, free: 5.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.2872, allocations: 4 kB / 0.5249 GB, free: 5.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006305/0.2878, allocations: 324.9 kB / 0.5253 GB, free: 5.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2878, allocations: 56.3 kB / 0.5253 GB, free: 4.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.288, allocations: 266.7 kB / 0.5256 GB, free: 4.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2881, allocations: 30.86 kB / 0.5256 GB, free: 4.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.2881, allocations: 218.5 kB / 0.5258 GB, free: 4.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.2882, allocations: 60.17 kB / 0.5259 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.2882, allocations: 46.19 kB / 0.5259 GB, free: 4.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.2883, allocations: 338.4 kB / 0.5262 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.2885, allocations: 92.58 kB / 0.5263 GB, free: 4.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.2887, allocations: 126.2 kB / 0.5264 GB, free: 4.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.2891, allocations: 250.6 kB / 0.5267 GB, free: 3.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2891, allocations: 5.312 kB / 0.5267 GB, free: 3.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005118/0.2896, allocations: 324.8 kB / 0.527 GB, free: 3.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.2896, allocations: 35.58 kB / 0.527 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2896, allocations: 2.188 kB / 0.527 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2896, allocations: 2.375 kB / 0.527 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.2898, allocations: 44 kB / 0.5271 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2898, allocations: 3.141 kB / 0.5271 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.29, allocations: 25.75 kB / 0.5271 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.29, allocations: 10.84 kB / 0.5271 GB, free: 3.789 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.0001136/0.2901, allocations: 167.5 kB / 0.5273 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.2901, allocations: 27.69 kB / 0.5273 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.2907, allocations: 257.2 kB / 0.5275 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2907, allocations: 2.188 kB / 0.5275 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2907, allocations: 1.422 kB / 0.5275 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2907, allocations: 0.7969 kB / 0.5275 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007438/0.2914, allocations: 0.6367 MB / 0.5282 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2914, allocations: 0 / 0.5282 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.2916, allocations: 33.06 kB / 0.5282 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2916, allocations: 1.156 kB / 0.5282 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.2916, allocations: 2.297 kB / 0.5282 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2916, allocations: 5 kB / 0.5282 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2916, allocations: 5.188 kB / 0.5282 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.2923, allocations: 465.7 kB / 0.5286 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.2924, allocations: 35.94 kB / 0.5287 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.2924, allocations: 2.062 kB / 0.5287 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2925, allocations: 13.95 kB / 0.5287 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.2926, allocations: 26.86 kB / 0.5287 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2926, allocations: 4.516 kB / 0.5287 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.2928, allocations: 193.1 kB / 0.5289 GB, free: 2.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2928, allocations: 0 / 0.5289 GB, free: 2.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.2931, allocations: 67.81 kB / 0.529 GB, free: 2.715 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.0001131/0.2932, allocations: 105.7 kB / 0.5291 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.2937, allocations: 263.4 kB / 0.5293 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2937, allocations: 5.844 kB / 0.5293 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.2939, allocations: 103.5 kB / 0.5294 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.2942, allocations: 37.45 kB / 0.5295 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.2951, allocations: 0.5798 MB / 0.53 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.2952, allocations: 0.7879 MB / 0.5308 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.03e-05/0.2953, allocations: 18.19 kB / 0.5308 GB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.2954, allocations: 16.47 kB / 0.5308 GB, free: 1.395 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2954, allocations: 5.062 kB / 0.5308 GB, free: 1.391 MB / 382.1 MB Notification: Performance of Templates: time 0.005672/0.301, allocations: 2.095 MB / 0.5329 GB, free: 1.195 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.makefile [Timeout 660] (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 & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.312915850430727] Failed to read output from testmodel.py, exit status != 0: 0.3083378281444311 0.32189983999999994 0.03626726 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fed1a9c57b0>