Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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.001558/0.001558, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00237/0.00237, allocations: 211.8 kB / 22.24 MB, free: 5.258 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.755/1.755, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 1.057/1.057, allocations: 94.63 MB / 407.1 MB, free: 8.891 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream 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: ThermofluidStream requested package Complex of version 4.0.0. Complex 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.003602/0.003602, allocations: 84.38 kB / 0.5549 GB, free: 38.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2086, allocations: 73.06 MB / 0.6263 GB, free: 184 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.05162/0.2602, allocations: 37.58 MB / 0.663 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009988/0.2702, allocations: 4.957 MB / 0.6678 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.2722, allocations: 59.44 kB / 0.6679 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.274, allocations: 0.4965 MB / 0.6684 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004728/0.2788, allocations: 1.367 MB / 0.6697 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.2817, allocations: 0.8958 MB / 0.6706 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003851/0.2855, allocations: 2.163 MB / 0.6727 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.2859, allocations: 165.4 kB / 0.6729 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.2895, allocations: 1.381 MB / 0.6742 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.2909, allocations: 0.7231 MB / 0.6749 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.2911, allocations: 100 kB / 0.675 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.2933, allocations: 0.6749 MB / 0.6757 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.2936, allocations: 278.7 kB / 0.6759 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006975/0.2943, allocations: 0.5404 MB / 0.6765 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00345/0.2977, allocations: 1.841 MB / 0.6783 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2977, allocations: 0 / 0.6783 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2977, allocations: 0 / 0.6783 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.2977, allocations: 3.938 kB / 0.6783 GB, free: 10.76 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003643/0.3014, allocations: 1.632 MB / 0.6799 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.3014, allocations: 8.031 kB / 0.6799 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/0.3016, allocations: 143.9 kB / 0.68 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006638/0.3023, allocations: 180 kB / 0.6802 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.3042, allocations: 0.7925 MB / 0.6809 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-05/0.3043, allocations: 73.94 kB / 0.681 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.3045, allocations: 99.95 kB / 0.6811 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.3065, allocations: 1.321 MB / 0.6824 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.3066, allocations: 0 / 0.6824 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3067, allocations: 40 kB / 0.6824 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.3067, allocations: 20 kB / 0.6825 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.3087, allocations: 1.008 MB / 0.6834 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007121/0.3158, allocations: 3.043 MB / 0.6864 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.3178, allocations: 0.8617 MB / 0.6873 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/0.3186, allocations: 436.3 kB / 0.6877 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003675/0.3223, allocations: 1.352 MB / 0.689 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.3223, allocations: 47.22 kB / 0.689 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 3.407e-06/0.3223, allocations: 0 / 0.689 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01093/0.3332, allocations: 4.015 MB / 0.693 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.3333, allocations: 98.08 kB / 0.6931 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.3345, allocations: 0.7639 MB / 0.6938 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.3346, allocations: 49.7 kB / 0.6938 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005056/0.3351, allocations: 489.4 kB / 0.6943 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.3356, allocations: 444.1 kB / 0.6947 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.3359, allocations: 198.9 kB / 0.6949 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002225/0.3362, allocations: 353.9 kB / 0.6953 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000904/0.3371, allocations: 406.4 kB / 0.6957 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.3382, allocations: 0.5725 MB / 0.6962 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.3403, allocations: 1.049 MB / 0.6972 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3403, allocations: 0 / 0.6972 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003544/0.3439, allocations: 1.485 MB / 0.6987 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.3439, allocations: 8 kB / 0.6987 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.3439, allocations: 4 kB / 0.6987 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3451, allocations: 314.7 kB / 0.699 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000928/0.346, allocations: 231.7 kB / 0.6992 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.3569, allocations: 11.26 MB / 0.7102 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009885/0.3578, allocations: 43.97 kB / 0.7103 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.358, allocations: 47.98 kB / 0.7103 GB, free: 8.398 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006392/0.3586, allocations: 253.8 kB / 0.7105 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.3589, allocations: 127.2 kB / 0.7107 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.3628, allocations: 1.802 MB / 0.7124 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.3628, allocations: 15.94 kB / 0.7124 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.3629, allocations: 8 kB / 0.7124 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.3629, allocations: 3.984 kB / 0.7125 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/0.3684, allocations: 2.562 MB / 0.715 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.3684, allocations: 0 / 0.715 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008767/0.3693, allocations: 199.7 kB / 0.7151 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.3704, allocations: 318.6 kB / 0.7154 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.3705, allocations: 35.98 kB / 0.7155 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.3813, allocations: 11.27 MB / 0.7265 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3813, allocations: 4.062 kB / 0.7265 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004873/0.3862, allocations: 2.118 MB / 0.7286 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006254/0.3868, allocations: 111.2 kB / 0.7287 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.387, allocations: 24 kB / 0.7287 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008108/0.3878, allocations: 55.94 kB / 0.7287 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/0.3882, allocations: 108.8 kB / 0.7288 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.3883, allocations: 43.97 kB / 0.7289 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001179/0.3895, allocations: 0.5633 MB / 0.7294 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3895, allocations: 4 kB / 0.7294 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002244/0.3918, allocations: 403.7 kB / 0.7298 GB, free: 3.254 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,reservoir2.M,reservoir2.U_med,flowResistance4.inlet.m_flow,flowResistance5.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006155/0.3979, allocations: 2.914 MB / 0.7327 GB, free: 284 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004323/0.4022, allocations: 1.996 MB / 0.7346 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.4023, allocations: 0 / 0.7346 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002788/0.405, allocations: 1.543 MB / 0.7361 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.4074, allocations: 349.5 kB / 0.7365 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/0.4293, allocations: 10.02 MB / 0.7462 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008626/0.4301, allocations: 0.5053 MB / 0.7467 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001181/0.4313, allocations: 219 kB / 0.7469 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007975/0.4321, allocations: 483.3 kB / 0.7474 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of SimCode: time 1.683e-06/0.4321, allocations: 0 / 0.7474 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5662/0.9983, allocations: 37.18 MB / 0.7837 GB, free: 97.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/16.8, allocations: 7.594 kB / 0.7837 GB, free: 97.22 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.56631208676845] Failed to read output from testmodel.py, exit status != 0: 16.951995356939733 16.968757077 16.66674381 Calling exit ...