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.000834/0.000834, 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.0008304/0.0008304, allocations: 169.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.936/0.936, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.1454/0.1454, allocations: 21.78 MB / 281 MB, free: 7.395 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 2.585e-06/2.585e-06, allocations: 0 / 417.7 MB, free: 9.449 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.483e-05, allocations: 5.656 kB / 417.7 MB, free: 9.445 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.002966/0.002991, allocations: 2.194 MB / 419.9 MB, free: 7.238 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.004005, allocations: 0.6309 MB / 420.5 MB, free: 6.602 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.004162, allocations: 4 kB / 420.5 MB, free: 6.598 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.004315, allocations: 43.52 kB / 420.6 MB, free: 6.555 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.895e-05/0.004404, allocations: 39.56 kB / 420.6 MB, free: 6.516 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.004782, allocations: 131.7 kB / 420.7 MB, free: 6.387 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.005068, allocations: 276 kB / 421 MB, free: 6.113 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.005273, allocations: 134.5 kB / 421.1 MB, free: 5.984 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.005426, allocations: 151.7 kB / 421.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.005516, allocations: 83.67 kB / 421.4 MB, free: 5.754 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.005548, allocations: 28 kB / 421.4 MB, free: 5.727 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.005657, allocations: 55.97 kB / 421.4 MB, free: 5.672 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.00575, allocations: 83.67 kB / 421.5 MB, free: 5.59 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.214e-05/0.005822, allocations: 91.67 kB / 421.6 MB, free: 5.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.006179, allocations: 338.7 kB / 421.9 MB, free: 5.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.006182, allocations: 0 / 421.9 MB, free: 5.168 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.006183, allocations: 0 / 421.9 MB, free: 5.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.00619, allocations: 0 / 421.9 MB, free: 5.168 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.0006912/0.006881, allocations: 0.5886 MB / 422.5 MB, free: 4.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.006921, allocations: 15.97 kB / 422.5 MB, free: 4.523 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.565e-05/0.006996, allocations: 71.33 kB / 422.6 MB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.007054, allocations: 48.64 kB / 422.7 MB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.007352, allocations: 232.6 kB / 422.9 MB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.007372, allocations: 25.03 kB / 422.9 MB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.007405, allocations: 28.38 kB / 422.9 MB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.007781, allocations: 344.2 kB / 423.3 MB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.007791, allocations: 4.188 kB / 423.3 MB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.007811, allocations: 20.11 kB / 423.3 MB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.007819, allocations: 8 kB / 423.3 MB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.00811, allocations: 234.4 kB / 423.5 MB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/0.009077, allocations: 1.063 MB / 424.6 MB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.009352, allocations: 214.4 kB / 424.8 MB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.009462, allocations: 96.81 kB / 424.9 MB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.0095, allocations: 11.98 kB / 424.9 MB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.00972, allocations: 158.8 kB / 425.1 MB, free: 1.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/0.009722, allocations: 0 / 425.1 MB, free: 1.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004213/0.01014, allocations: 329.2 kB / 425.4 MB, free: 1.531 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.01018, allocations: 51.41 kB / 425.4 MB, free: 1.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.01036, allocations: 273.8 kB / 425.7 MB, free: 1.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.01038, allocations: 29.7 kB / 425.7 MB, free: 1.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01048, allocations: 212.4 kB / 425.9 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.01052, allocations: 67.44 kB / 426 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.01057, allocations: 53.62 kB / 426.1 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.01067, allocations: 338.8 kB / 426.4 MB, free: 496 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.0108, allocations: 113.9 kB / 426.5 MB, free: 372 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.01094, allocations: 162.4 kB / 426.7 MB, free: 188 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.01121, allocations: 251.8 kB / 426.9 MB, free: 15.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01122, allocations: 4 kB / 426.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003461/0.01156, allocations: 352.4 kB / 427.3 MB, free: 15.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.01159, allocations: 41.69 kB / 427.3 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.0116, allocations: 0 / 427.3 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.01161, allocations: 4 kB / 427.3 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01171, allocations: 36.05 kB / 427.3 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01172, allocations: 11.98 kB / 427.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.01179, allocations: 27.83 kB / 427.4 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.0118, allocations: 8 kB / 427.4 MB, free: 15.42 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.0001366/0.01194, allocations: 157.7 kB / 427.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.01196, allocations: 23.86 kB / 427.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.01226, allocations: 259.7 kB / 427.8 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01227, allocations: 0 / 427.8 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.01227, allocations: 4 kB / 427.8 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01228, allocations: 3.984 kB / 427.8 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.01283, allocations: 0.621 MB / 428.4 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01283, allocations: 0 / 428.4 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.845e-05/0.01293, allocations: 39.91 kB / 428.5 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01293, allocations: 0 / 428.5 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01294, allocations: 4 kB / 428.5 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01295, allocations: 0 / 428.5 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01295, allocations: 3.938 kB / 428.5 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.01337, allocations: 467.1 kB / 428.9 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.01339, allocations: 23.8 kB / 429 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.01341, allocations: 4 kB / 429 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.01347, allocations: 11.98 kB / 429 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.01353, allocations: 23.91 kB / 429 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.01354, allocations: 7.984 kB / 429 MB, free: 13.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.01365, allocations: 185.2 kB / 429.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01365, allocations: 8.062 kB / 429.2 MB, free: 13.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.01387, allocations: 67.73 kB / 429.3 MB, free: 13.45 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.000741/0.01461, allocations: 0.9968 MB / 430.3 MB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.01494, allocations: 292.2 kB / 430.6 MB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01494, allocations: 320 / 430.6 MB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.01506, allocations: 115.8 kB / 430.7 MB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.01531, allocations: 46.31 kB / 430.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.01768, allocations: 3.001 MB / 433.7 MB, free: 8.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.01796, allocations: 186.9 kB / 433.9 MB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.01803, allocations: 21.48 kB / 433.9 MB, free: 8.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.01812, allocations: 100.5 kB / 434 MB, free: 8.504 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01812, allocations: 3.938 kB / 434 MB, free: 8.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.03914, allocations: 5.556 MB / 439.6 MB, free: 3.066 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.558/6.598, allocations: 18.19 kB / 439.6 MB, free: 3.055 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 & /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: 8.828498956747353] Failed to read output from testmodel.py, exit status != 0: 6.678391735069454 6.844754696 6.83676261 Calling exit ...