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.0009084/0.0009084, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001017/0.001017, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.953/0.953, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.1201/0.1201, allocations: 21.8 MB / 281 MB, free: 7.41 MB / 266.7 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: Performance of FrontEnd - loaded program: time 3.647e-06/3.647e-06, allocations: 0 / 417.7 MB, free: 9.473 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.85e-05, allocations: 13.88 kB / 417.7 MB, free: 9.461 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002614/0.002643, allocations: 2.186 MB / 419.9 MB, free: 7.262 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.003596, allocations: 0.6309 MB / 420.5 MB, free: 6.625 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.003723, allocations: 4 kB / 420.5 MB, free: 6.621 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.003887, allocations: 51.45 kB / 420.6 MB, free: 6.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.334e-05/0.00397, allocations: 35.61 kB / 420.6 MB, free: 6.535 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.004369, allocations: 135.6 kB / 420.7 MB, free: 6.402 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.004633, allocations: 272.1 kB / 421 MB, free: 6.133 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.004841, allocations: 142.5 kB / 421.1 MB, free: 5.996 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.004986, allocations: 143.7 kB / 421.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.005076, allocations: 83.67 kB / 421.4 MB, free: 5.773 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.005112, allocations: 28 kB / 421.4 MB, free: 5.746 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.005225, allocations: 55.97 kB / 421.4 MB, free: 5.691 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.005314, allocations: 87.66 kB / 421.5 MB, free: 5.605 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.005387, allocations: 91.67 kB / 421.6 MB, free: 5.516 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.005724, allocations: 334.8 kB / 421.9 MB, free: 5.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.005727, allocations: 0 / 421.9 MB, free: 5.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005729, allocations: 0 / 421.9 MB, free: 5.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.005734, allocations: 4 kB / 421.9 MB, free: 5.184 MB / 394.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.0006964/0.006431, allocations: 0.5885 MB / 422.5 MB, free: 4.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.006466, allocations: 8.031 kB / 422.5 MB, free: 4.547 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.669e-05/0.006543, allocations: 75.33 kB / 422.6 MB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.006598, allocations: 44.66 kB / 422.7 MB, free: 4.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.006886, allocations: 232.6 kB / 422.9 MB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.006906, allocations: 25.03 kB / 422.9 MB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.006942, allocations: 36.38 kB / 422.9 MB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.007335, allocations: 344.1 kB / 423.3 MB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.007345, allocations: 192 / 423.3 MB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.007366, allocations: 20.12 kB / 423.3 MB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.007375, allocations: 8 kB / 423.3 MB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.00767, allocations: 238.4 kB / 423.5 MB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.008634, allocations: 1.059 MB / 424.6 MB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.008914, allocations: 210.4 kB / 424.8 MB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.009027, allocations: 96.8 kB / 424.9 MB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.009064, allocations: 19.98 kB / 424.9 MB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.009274, allocations: 150.9 kB / 425.1 MB, free: 1.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.009275, allocations: 3.938 kB / 425.1 MB, free: 1.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004283/0.009704, allocations: 317.3 kB / 425.4 MB, free: 1.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.009737, allocations: 63.34 kB / 425.4 MB, free: 1.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.009924, allocations: 269.8 kB / 425.7 MB, free: 1.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.009942, allocations: 33.7 kB / 425.7 MB, free: 1.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.01004, allocations: 216.4 kB / 425.9 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.01008, allocations: 63.44 kB / 426 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.01013, allocations: 49.64 kB / 426.1 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.01022, allocations: 338.8 kB / 426.4 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.01035, allocations: 117.9 kB / 426.5 MB, free: 392 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.01049, allocations: 158.4 kB / 426.7 MB, free: 212 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.01075, allocations: 259.8 kB / 426.9 MB, free: 15.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01075, allocations: 0 / 426.9 MB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004331/0.01118, allocations: 360.4 kB / 427.3 MB, free: 15.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.01121, allocations: 33.7 kB / 427.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01122, allocations: 0 / 427.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.01123, allocations: 7.984 kB / 427.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.01135, allocations: 39.91 kB / 427.3 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01136, allocations: 4 kB / 427.3 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/0.01144, allocations: 31.83 kB / 427.4 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.01145, allocations: 8 kB / 427.4 MB, free: 15.43 MB / 410.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 (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.0001098/0.01156, allocations: 157.7 kB / 427.5 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.01158, allocations: 27.92 kB / 427.6 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.0119, allocations: 263.7 kB / 427.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01191, allocations: 0 / 427.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01191, allocations: 0 / 427.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01191, allocations: 4 kB / 427.8 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.01242, allocations: 0.621 MB / 428.4 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01243, allocations: 0 / 428.4 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.01252, allocations: 31.98 kB / 428.5 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01252, allocations: 0 / 428.5 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01254, allocations: 8 kB / 428.5 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01254, allocations: 0 / 428.5 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.01254, allocations: 0 / 428.5 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.01299, allocations: 467 kB / 428.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.01302, allocations: 27.77 kB / 429 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.01304, allocations: 7.984 kB / 429 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.01311, allocations: 16.05 kB / 429 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.01317, allocations: 19.91 kB / 429 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.01318, allocations: 4 kB / 429 MB, free: 13.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.0133, allocations: 193.2 kB / 429.2 MB, free: 13.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0133, allocations: 0 / 429.2 MB, free: 13.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002306/0.01353, allocations: 67.72 kB / 429.3 MB, free: 13.46 MB / 410.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.0007216/0.01425, allocations: 1.005 MB / 430.3 MB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.01458, allocations: 293 kB / 430.6 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01458, allocations: 0 / 430.6 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.01471, allocations: 99.8 kB / 430.7 MB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.01496, allocations: 34.39 kB / 430.7 MB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.01746, allocations: 3.009 MB / 433.7 MB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.0176, allocations: 186.9 kB / 433.9 MB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.532e-05/0.01766, allocations: 17.48 kB / 433.9 MB, free: 8.633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.01777, allocations: 112.5 kB / 434 MB, free: 8.52 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01777, allocations: 0 / 434 MB, free: 8.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.0414, allocations: 5.572 MB / 439.6 MB, free: 3.074 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.842, allocations: 7.438 kB / 439.6 MB, free: 3.07 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 9.08977925311774] Failed to read output from testmodel.py, exit status != 0: 6.924577333964407 7.11817045 7.111092162 Calling exit ...