Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001261/0.001261, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001537/0.001537, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9799/0.9799, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6784/0.6784, allocations: 116 MB / 375.2 MB, free: 4.16 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.5533 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.045e-05, allocations: 10.22 kB / 0.5533 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.02792/0.02794, allocations: 39.39 MB / 0.5917 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0053/0.03324, allocations: 3.893 MB / 0.5955 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009611/0.0342, allocations: 67.38 kB / 0.5956 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.03534, allocations: 0.5195 MB / 0.5961 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.03811, allocations: 1.494 MB / 0.5976 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.04005, allocations: 0.9497 MB / 0.5985 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.04197, allocations: 2.402 MB / 0.6008 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.04226, allocations: 165.5 kB / 0.601 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.04474, allocations: 1.752 MB / 0.6027 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.04538, allocations: 0.6621 MB / 0.6034 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.04551, allocations: 104 kB / 0.6035 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.04674, allocations: 0.6861 MB / 0.6041 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.04692, allocations: 278.7 kB / 0.6044 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.04728, allocations: 498.7 kB / 0.6049 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.04928, allocations: 1.928 MB / 0.6067 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.04929, allocations: 4 kB / 0.6067 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.262e-06/0.04929, allocations: 3.938 kB / 0.6068 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.0493, allocations: 4 kB / 0.6068 GB, free: 6.336 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001927/0.05123, allocations: 1.663 MB / 0.6084 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.05127, allocations: 11.97 kB / 0.6084 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.05139, allocations: 147.9 kB / 0.6085 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.05174, allocations: 184 kB / 0.6087 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.05289, allocations: 0.8269 MB / 0.6095 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.05294, allocations: 70.38 kB / 0.6096 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.05304, allocations: 100.1 kB / 0.6097 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.05429, allocations: 1.338 MB / 0.611 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.05431, allocations: 4 kB / 0.611 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/0.05438, allocations: 40 kB / 0.611 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.05441, allocations: 24 kB / 0.611 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.05552, allocations: 1.012 MB / 0.612 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/0.05882, allocations: 3.233 MB / 0.6152 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.05995, allocations: 0.8742 MB / 0.616 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.06042, allocations: 436.2 kB / 0.6165 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/0.06208, allocations: 1.319 MB / 0.6178 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.06211, allocations: 55.16 kB / 0.6178 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=108): time 2.425e-06/0.06211, allocations: 0 / 0.6178 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=122): time 0.006114/0.06822, allocations: 4.03 MB / 0.6217 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.06827, allocations: 90.27 kB / 0.6218 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006697/0.06894, allocations: 0.8217 MB / 0.6226 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.069, allocations: 45.7 kB / 0.6227 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.06928, allocations: 0.4974 MB / 0.6232 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.06949, allocations: 440.1 kB / 0.6236 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.06967, allocations: 194.9 kB / 0.6238 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.06976, allocations: 353.9 kB / 0.6241 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.07027, allocations: 406.4 kB / 0.6245 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/0.07093, allocations: 0.5898 MB / 0.6251 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.0724, allocations: 1.055 MB / 0.6261 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.0724, allocations: 0 / 0.6261 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001903/0.0743, allocations: 1.506 MB / 0.6276 GB, free: 396 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.07433, allocations: 8 kB / 0.6276 GB, free: 388 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.07434, allocations: 4 kB / 0.6276 GB, free: 384 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/0.07489, allocations: 314.6 kB / 0.6279 GB, free: 44 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.07536, allocations: 231.7 kB / 0.6281 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/0.08125, allocations: 11.26 MB / 0.6391 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.08175, allocations: 51.95 kB / 0.6391 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/0.08184, allocations: 48 kB / 0.6392 GB, free: 3.547 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (126): * Single equations (assignments): 118 * 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.0004008/0.08224, allocations: 263.7 kB / 0.6394 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.0824, allocations: 131.2 kB / 0.6396 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.08488, allocations: 1.789 MB / 0.6413 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.08489, allocations: 15.94 kB / 0.6413 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.08489, allocations: 4 kB / 0.6413 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.0849, allocations: 11.97 kB / 0.6413 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2959/0.3808, allocations: 2.561 MB / 0.6438 GB, free: 92.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3808, allocations: 1.031 kB / 0.6438 GB, free: 92.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.3813, allocations: 206 kB / 0.644 GB, free: 92.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000638/0.3819, allocations: 312.7 kB / 0.6443 GB, free: 92.72 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.147e-05/0.382, allocations: 38.52 kB / 0.6444 GB, free: 92.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004882/0.3869, allocations: 11.26 MB / 0.6554 GB, free: 82.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3869, allocations: 2.281 kB / 0.6554 GB, free: 82.53 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.3894, allocations: 2.108 MB / 0.6574 GB, free: 81.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.3898, allocations: 220.8 kB / 0.6576 GB, free: 81.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.3899, allocations: 28 kB / 0.6577 GB, free: 81.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.3903, allocations: 50.72 kB / 0.6577 GB, free: 81.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.3905, allocations: 117.6 kB / 0.6578 GB, free: 81.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.3905, allocations: 40.27 kB / 0.6579 GB, free: 81.44 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005166/0.391, allocations: 0.591 MB / 0.6584 GB, free: 81.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.391, allocations: 0 / 0.6584 GB, free: 81.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001006/0.392, allocations: 432.1 kB / 0.6589 GB, free: 81.13 MB / 0.5573 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.002848/0.3949, allocations: 2.91 MB / 0.6617 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.397, allocations: 1.997 MB / 0.6636 GB, free: 78.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.397, allocations: 0 / 0.6636 GB, free: 78.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.3981, allocations: 1.527 MB / 0.6651 GB, free: 77.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.3996, allocations: 0.5374 MB / 0.6657 GB, free: 77.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.4138, allocations: 10.13 MB / 0.6756 GB, free: 72.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.4145, allocations: 0.5165 MB / 0.6761 GB, free: 71.92 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009762/0.4154, allocations: 247.4 kB / 0.6763 GB, free: 71.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/0.4159, allocations: 492.9 kB / 0.6768 GB, free: 71.48 MB / 0.5573 GB Notification: Performance of SimCode: time 2.595e-06/0.4159, allocations: 0 / 0.6768 GB, free: 71.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06617/0.4821, allocations: 41.86 MB / 0.7176 GB, free: 37.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.96, allocations: 4 kB / 0.7176 GB, free: 37 MB / 0.5573 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 13.870709549635649] Failed to read output from testmodel.py, exit status != 0: 11.072481518611312 11.081043198 11.030090389 Calling exit ...