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.001292/0.001292, allocations: 101.1 kB / 18.99 MB, free: 2.617 MB / 14.72 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.001644/0.001644, allocations: 223.2 kB / 22.3 MB, free: 5.281 MB / 14.72 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 1.523/1.523, allocations: 230.6 MB / 256.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.196/0.196, allocations: 29.23 MB / 341.7 MB, free: 5.551 MB / 270.1 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: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.89 kB / 478.4 MB, free: 368 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 60.79 MB / 0.5265 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003289/0.3307, allocations: 2.191 MB / 0.5287 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.332, allocations: 0.6276 MB / 0.5293 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.3322, allocations: 11.88 kB / 0.5293 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.3324, allocations: 42.8 kB / 0.5293 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.3325, allocations: 35.92 kB / 0.5294 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.333, allocations: 121.3 kB / 0.5295 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.3333, allocations: 262.7 kB / 0.5297 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.3335, allocations: 138.7 kB / 0.5299 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3336, allocations: 107.4 kB / 0.53 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3337, allocations: 103.2 kB / 0.5301 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.56e-05/0.3338, allocations: 31.59 kB / 0.5301 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.3339, allocations: 56.75 kB / 0.5301 GB, free: 5.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.334, allocations: 84.56 kB / 0.5302 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3341, allocations: 118 kB / 0.5303 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.3346, allocations: 335.6 kB / 0.5307 GB, free: 5.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3346, allocations: 2.141 kB / 0.5307 GB, free: 5.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3346, allocations: 0 / 0.5307 GB, free: 5.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3346, allocations: 0 / 0.5307 GB, free: 5.145 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.0009005/0.3355, allocations: 0.5983 MB / 0.5312 GB, free: 4.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3355, allocations: 9.375 kB / 0.5312 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.767e-05/0.3356, allocations: 78.67 kB / 0.5313 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.3357, allocations: 45.05 kB / 0.5314 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.3361, allocations: 235.4 kB / 0.5316 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.3361, allocations: 22.5 kB / 0.5316 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.3361, allocations: 34.03 kB / 0.5316 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.3367, allocations: 347.2 kB / 0.532 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3367, allocations: 1.312 kB / 0.532 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3367, allocations: 15.56 kB / 0.532 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3367, allocations: 11.31 kB / 0.532 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.3372, allocations: 236.6 kB / 0.5322 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.3385, allocations: 1.055 MB / 0.5333 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.3389, allocations: 216.5 kB / 0.5335 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3391, allocations: 97.91 kB / 0.5336 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.3391, allocations: 16.39 kB / 0.5336 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.3395, allocations: 158.8 kB / 0.5337 GB, free: 3.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.3395, allocations: 0 / 0.5337 GB, free: 3.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007979/0.3403, allocations: 319.2 kB / 0.534 GB, free: 3.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3403, allocations: 55.64 kB / 0.5341 GB, free: 2.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.3406, allocations: 272.2 kB / 0.5343 GB, free: 2.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3406, allocations: 32.02 kB / 0.5344 GB, free: 2.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.3408, allocations: 219 kB / 0.5346 GB, free: 2.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.3408, allocations: 63.61 kB / 0.5346 GB, free: 2.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.3409, allocations: 48.38 kB / 0.5347 GB, free: 2.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.341, allocations: 333 kB / 0.535 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.3412, allocations: 118.9 kB / 0.5351 GB, free: 2.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.3415, allocations: 166.9 kB / 0.5353 GB, free: 2.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.3419, allocations: 263.5 kB / 0.5355 GB, free: 1.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3419, allocations: 1.531 kB / 0.5355 GB, free: 1.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00056/0.3424, allocations: 355.8 kB / 0.5359 GB, free: 1.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.3425, allocations: 34.05 kB / 0.5359 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3425, allocations: 0.75 kB / 0.5359 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3425, allocations: 2.594 kB / 0.5359 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.3427, allocations: 45.02 kB / 0.5359 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.3427, allocations: 4.344 kB / 0.536 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.3429, allocations: 28.34 kB / 0.536 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.3429, allocations: 11.88 kB / 0.536 GB, free: 1.629 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.0001423/0.343, allocations: 151.2 kB / 0.5361 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.3431, allocations: 26.81 kB / 0.5362 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.3436, allocations: 266 kB / 0.5364 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3436, allocations: 10.69 kB / 0.5364 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3436, allocations: 0 / 0.5364 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3436, allocations: 5.203 kB / 0.5364 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008696/0.3445, allocations: 0.6157 MB / 0.537 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3445, allocations: 0.5625 kB / 0.537 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.3447, allocations: 28.81 kB / 0.5371 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3447, allocations: 5.312 kB / 0.5371 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.3447, allocations: 10.44 kB / 0.5371 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3447, allocations: 5.375 kB / 0.5371 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3447, allocations: 0 / 0.5371 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.3454, allocations: 457.4 kB / 0.5375 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.3455, allocations: 19.59 kB / 0.5375 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.3455, allocations: 11.17 kB / 0.5375 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3457, allocations: 10.06 kB / 0.5376 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.3457, allocations: 24.5 kB / 0.5376 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3457, allocations: 3.875 kB / 0.5376 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.3459, allocations: 199.5 kB / 0.5378 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3459, allocations: 0 / 0.5378 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.3463, allocations: 66.03 kB / 0.5378 GB, free: 0.543 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.0009777/0.3472, allocations: 0.9949 MB / 0.5388 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.3479, allocations: 311.6 kB / 0.5391 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3479, allocations: 3.938 kB / 0.5391 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.3481, allocations: 99.02 kB / 0.5392 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.3485, allocations: 31.73 kB / 0.5392 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.3527, allocations: 2.999 MB / 0.5422 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3529, allocations: 183.7 kB / 0.5423 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.298e-05/0.353, allocations: 17.48 kB / 0.5424 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.3532, allocations: 104.5 kB / 0.5425 GB, free: 13.04 MB / 398.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3532, allocations: 3.938 kB / 0.5425 GB, free: 13.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.3892, allocations: 5.534 MB / 0.5479 GB, free: 10.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.08, allocations: 5.438 kB / 0.5479 GB, free: 10.02 MB / 398.1 MB " [Timeout remaining time 649] (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: 14.066456223838031] Failed to read output from testmodel.py, exit status != 0: 11.191098376642913 11.218948762 10.879416177 Calling exit ...