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.00102/0.00102, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009297/0.001949, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007055/0.0007055, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009047/0.00161, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8943/0.8943, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08891/0.9832, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 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.1077/0.1077, allocations: 21.79 MB / 265.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01117/0.1188, allocations: 7.862 MB / 273.8 MB, free: 1.023 MB / 266.7 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.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: 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 1.904e-06/1.904e-06, allocations: 0 / 275.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.927e-06/1.083e-05, allocations: 4.312 kB / 275.1 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002212/0.002223, allocations: 2.298 MB / 277.4 MB, free: 420 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009102/0.003134, allocations: 0.6708 MB / 278 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.003251, allocations: 3.969 kB / 278 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.003367, allocations: 49.5 kB / 278.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.528e-05/0.003442, allocations: 34.62 kB / 278.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.00373, allocations: 127.6 kB / 278.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.003992, allocations: 256.4 kB / 278.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.004182, allocations: 143.7 kB / 278.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.004346, allocations: 171.8 kB / 278.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.158e-05/0.004438, allocations: 85.81 kB / 278.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.004474, allocations: 30.81 kB / 278.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.004592, allocations: 59.56 kB / 279 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.00466, allocations: 64.58 kB / 279 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.004717, allocations: 69 kB / 279.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.004981, allocations: 219.7 kB / 279.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.004991, allocations: 1.344 kB / 279.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004991, allocations: 0 / 279.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.005003, allocations: 1.406 kB / 279.3 MB, free: 15.38 MB / 282.7 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.0007822/0.005785, allocations: 0.6279 MB / 279.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.005824, allocations: 10.17 kB / 280 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.005907, allocations: 53.52 kB / 280 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.006111, allocations: 213.8 kB / 280.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.00613, allocations: 22.34 kB / 280.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.006167, allocations: 31.03 kB / 280.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.006446, allocations: 270.2 kB / 280.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.006456, allocations: 4.875 kB / 280.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.006473, allocations: 11.16 kB / 280.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.006482, allocations: 11.97 kB / 280.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.521e-05/0.006577, allocations: 73.05 kB / 280.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.007315, allocations: 0.8142 MB / 281.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.007458, allocations: 140.8 kB / 281.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.007497, allocations: 26.84 kB / 281.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.817e-05/0.007545, allocations: 19.05 kB / 281.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.007683, allocations: 88.97 kB / 281.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.007684, allocations: 0 / 281.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001853/0.00787, allocations: 120.6 kB / 281.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.007898, allocations: 59.78 kB / 281.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.008046, allocations: 236 kB / 282.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.008064, allocations: 32.56 kB / 282.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9e-05/0.008154, allocations: 194.1 kB / 282.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.008188, allocations: 56.42 kB / 282.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.008242, allocations: 50.61 kB / 282.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.008327, allocations: 337 kB / 282.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.008378, allocations: 50.94 kB / 282.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.008435, allocations: 87.28 kB / 282.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.00855, allocations: 135 kB / 283 MB, free: 12.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008552, allocations: 0.6562 kB / 283 MB, free: 12.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001573/0.00871, allocations: 184.8 kB / 283.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.008748, allocations: 40.48 kB / 283.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.008754, allocations: 2.25 kB / 283.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.008765, allocations: 2.719 kB / 283.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.008887, allocations: 45.64 kB / 283.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008892, allocations: 6.953 kB / 283.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.008965, allocations: 27.55 kB / 283.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.008976, allocations: 13.69 kB / 283.4 MB, free: 12.51 MB / 282.7 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 (Hare.Integrator1.local_reset,Lynx.Integrator1.local_reset,Hunting.count,$PRE.Hunting.count,Hunting.T_start,$PRE.Hunting.T_start,$whenCondition1) * 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 7.964e-05/0.009056, allocations: 134.2 kB / 283.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.009077, allocations: 17.64 kB / 283.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.00922, allocations: 120 kB / 283.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.009224, allocations: 3.422 kB / 283.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.009226, allocations: 0 / 283.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.009231, allocations: 1.172 kB / 283.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.009521, allocations: 365.4 kB / 284 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009523, allocations: 1.406 kB / 284 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.009623, allocations: 37.39 kB / 284 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.009646, allocations: 31.92 kB / 284.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.00965, allocations: 2.375 kB / 284.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.009665, allocations: 1.844 kB / 284.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.009668, allocations: 2.266 kB / 284.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009669, allocations: 0 / 284.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.009883, allocations: 267.6 kB / 284.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.009903, allocations: 11.19 kB / 284.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.00997, allocations: 12.8 kB / 284.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.01002, allocations: 21.09 kB / 284.4 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01003, allocations: 3.672 kB / 284.4 MB, free: 11.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.948e-05/0.01011, allocations: 83.55 kB / 284.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01011, allocations: 0 / 284.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001821/0.01029, allocations: 70.31 kB / 284.5 MB, free: 11.76 MB / 282.7 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.0001044/0.0104, allocations: 85.61 kB / 284.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.01056, allocations: 169 kB / 284.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.01057, allocations: 9.594 kB / 284.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/0.01064, allocations: 56.95 kB / 284.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.01087, allocations: 167.5 kB / 285 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.01159, allocations: 0.5613 MB / 285.6 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.418e-05/0.01167, allocations: 100.4 kB / 285.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.01172, allocations: 21.61 kB / 285.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.0118, allocations: 77.02 kB / 285.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0118, allocations: 0 / 285.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of Templates: time 0.00475/0.01655, allocations: 2.039 MB / 287.8 MB, free: 10.41 MB / 282.7 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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4599913777783513]