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.002124/0.002124, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002839/0.002839, allocations: 213.7 kB / 22.24 MB, free: 5.238 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 2.047/2.047, allocations: 230.6 MB / 256 MB, free: 7.801 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.357/1.357, allocations: 94.62 MB / 407 MB, free: 8.926 MB / 318.1 MB " [Timeout remaining time 178] 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.003014/0.003014, allocations: 83.27 kB / 0.5549 GB, free: 38.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2874, allocations: 73.05 MB / 0.6263 GB, free: 200 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.06169/0.3491, allocations: 37.59 MB / 0.663 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.3623, allocations: 4.957 MB / 0.6678 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.3657, allocations: 55.5 kB / 0.6679 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.3689, allocations: 0.5004 MB / 0.6684 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008148/0.3771, allocations: 1.367 MB / 0.6697 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005024/0.3821, allocations: 0.8887 MB / 0.6706 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006367/0.3884, allocations: 2.167 MB / 0.6727 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.3896, allocations: 169.3 kB / 0.6729 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/0.396, allocations: 1.381 MB / 0.6742 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.3986, allocations: 0.727 MB / 0.6749 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000786/0.3994, allocations: 100 kB / 0.675 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004497/0.4039, allocations: 0.6671 MB / 0.6757 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.4049, allocations: 282.7 kB / 0.6759 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00225/0.4072, allocations: 0.5403 MB / 0.6765 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006847/0.414, allocations: 1.844 MB / 0.6783 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.414, allocations: 0 / 0.6783 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.168e-06/0.414, allocations: 0 / 0.6783 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.238e-05/0.4141, allocations: 0 / 0.6783 GB, free: 10.77 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.004963/0.419, allocations: 1.625 MB / 0.6799 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.908e-05/0.4191, allocations: 12.03 kB / 0.6799 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002359/0.4194, allocations: 139.9 kB / 0.68 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.4202, allocations: 184 kB / 0.6802 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.4227, allocations: 0.7925 MB / 0.6809 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.4228, allocations: 69.94 kB / 0.681 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.423, allocations: 104 kB / 0.6811 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.4256, allocations: 1.317 MB / 0.6824 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.4256, allocations: 3.984 kB / 0.6824 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.4257, allocations: 44 kB / 0.6824 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.4257, allocations: 20 kB / 0.6825 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.4279, allocations: 1.012 MB / 0.6835 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006926/0.4348, allocations: 3.039 MB / 0.6864 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.4371, allocations: 0.8656 MB / 0.6873 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009147/0.438, allocations: 432.2 kB / 0.6877 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004038/0.442, allocations: 1.352 MB / 0.689 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/0.4421, allocations: 43.22 kB / 0.689 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 4.308e-06/0.4421, allocations: 0 / 0.689 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01275/0.4548, allocations: 4.022 MB / 0.693 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.455, allocations: 94.2 kB / 0.6931 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.4565, allocations: 0.7639 MB / 0.6938 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.4567, allocations: 45.7 kB / 0.6938 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.4573, allocations: 489.4 kB / 0.6943 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/0.4578, allocations: 444.1 kB / 0.6947 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000385/0.4582, allocations: 194.9 kB / 0.6949 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002662/0.4585, allocations: 353.9 kB / 0.6953 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.4595, allocations: 406.4 kB / 0.6956 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.4608, allocations: 0.5725 MB / 0.6962 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.4631, allocations: 1.049 MB / 0.6972 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4631, allocations: 0 / 0.6972 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003942/0.467, allocations: 1.485 MB / 0.6987 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.467, allocations: 4.469 kB / 0.6987 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.4671, allocations: 12 kB / 0.6987 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.4684, allocations: 314.5 kB / 0.699 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.4695, allocations: 235.7 kB / 0.6992 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/0.4852, allocations: 11.26 MB / 0.7102 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.4869, allocations: 47.97 kB / 0.7103 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/0.4873, allocations: 51.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.001143/0.4885, allocations: 257.7 kB / 0.7106 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005824/0.489, allocations: 123.2 kB / 0.7107 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/0.4936, allocations: 1.79 MB / 0.7124 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.4936, allocations: 15.94 kB / 0.7124 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.4937, allocations: 4 kB / 0.7124 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.4937, allocations: 7.922 kB / 0.7124 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006353/0.5, allocations: 2.558 MB / 0.7149 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.5, allocations: 0 / 0.7149 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009482/0.501, allocations: 203.9 kB / 0.7151 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/0.5022, allocations: 322.6 kB / 0.7154 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.5023, allocations: 27.98 kB / 0.7155 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/0.5173, allocations: 11.28 MB / 0.7265 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.5173, allocations: 8.016 kB / 0.7265 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/0.5236, allocations: 2.111 MB / 0.7286 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/0.5243, allocations: 119.2 kB / 0.7287 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/0.5248, allocations: 24 kB / 0.7287 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.526, allocations: 51.95 kB / 0.7287 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000455/0.5265, allocations: 112.8 kB / 0.7288 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.5266, allocations: 43.98 kB / 0.7289 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001449/0.5281, allocations: 0.5594 MB / 0.7294 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5281, allocations: 0 / 0.7294 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002684/0.5308, allocations: 407.7 kB / 0.7298 GB, free: 3.266 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.007645/0.5384, allocations: 2.92 MB / 0.7327 GB, free: 292 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005411/0.5438, allocations: 1.992 MB / 0.7346 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/0.5438, allocations: 4 kB / 0.7346 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003564/0.5474, allocations: 1.546 MB / 0.7361 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/0.5507, allocations: 346.8 kB / 0.7365 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02905/0.5798, allocations: 10.01 MB / 0.7462 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.5811, allocations: 0.5014 MB / 0.7467 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001405/0.5825, allocations: 220.3 kB / 0.7469 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.5836, allocations: 483.3 kB / 0.7474 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of SimCode: time 3.567e-06/0.5836, allocations: 8 kB / 0.7474 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7902/1.374, allocations: 37.17 MB / 0.7837 GB, free: 97.19 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.56/20.93, allocations: 10.27 kB / 0.7837 GB, free: 97.19 MB / 0.5762 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 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: 26.648833626881242] Failed to read output from testmodel.py, exit status != 0: 21.095301694236696 21.119719013 20.700934612 Calling exit ...