Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.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.001968/0.001968, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002331/0.002331, allocations: 218.1 kB / 22.26 MB, free: 5.113 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002582/0.002582, allocations: 290.1 kB / 312.7 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.233/1.233, allocations: 180.6 MB / 0.5369 GB, free: 12.99 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002914/0.002914, allocations: 94.17 kB / 0.7396 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1892, allocations: 95.38 MB / 0.8327 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1735/0.3627, allocations: 138.8 MB / 0.9683 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.3729, allocations: 8.037 MB / 0.9761 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.373, allocations: 4 kB / 0.9761 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.3731, allocations: 23.89 kB / 0.9762 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.3732, allocations: 19.84 kB / 0.9762 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003741/0.3769, allocations: 1.485 MB / 0.9776 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3771, allocations: 67.7 kB / 0.9777 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.3771, allocations: 4 kB / 0.9777 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.3772, allocations: 55.83 kB / 0.9778 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.3773, allocations: 27.86 kB / 0.9778 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3773, allocations: 7.938 kB / 0.9778 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/0.382, allocations: 2.723 MB / 0.9805 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.382, allocations: 15.92 kB / 0.9805 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.3821, allocations: 27.86 kB / 0.9805 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4663/0.8483, allocations: 1.387 MB / 0.9818 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8483, allocations: 0 / 0.9818 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8483, allocations: 0 / 0.9818 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.8483, allocations: 0 / 0.9818 GB, free: 6.297 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001657/0.85, allocations: 434.2 kB / 0.9823 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.8501, allocations: 11.69 kB / 0.9823 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.8501, allocations: 44.33 kB / 0.9823 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004811/0.8506, allocations: 24.41 kB / 0.9823 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.912e-05/0.8507, allocations: 110.2 kB / 0.9824 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/0.8508, allocations: 63.95 kB / 0.9825 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.8508, allocations: 11.84 kB / 0.9825 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.8511, allocations: 121.8 kB / 0.9826 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8512, allocations: 0 / 0.9826 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.8512, allocations: 1.281 kB / 0.9826 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.8512, allocations: 1.531 kB / 0.9826 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.8515, allocations: 125 kB / 0.9828 GB, free: 5.703 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.8519, allocations: 353.5 kB / 0.9831 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.8522, allocations: 109.8 kB / 0.9832 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.8523, allocations: 49.28 kB / 0.9832 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01237/0.8646, allocations: 3.036 MB / 0.9862 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.8647, allocations: 34.78 kB / 0.9862 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.8647, allocations: 0.75 kB / 0.9862 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005201/0.8652, allocations: 167.9 kB / 0.9864 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.8652, allocations: 54.75 kB / 0.9865 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.285e-05/0.8653, allocations: 99.95 kB / 0.9865 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.8653, allocations: 31.36 kB / 0.9866 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.8653, allocations: 89.7 kB / 0.9867 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.8653, allocations: 47.5 kB / 0.9867 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.8654, allocations: 28.34 kB / 0.9867 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.8654, allocations: 321 kB / 0.987 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.8655, allocations: 25.86 kB / 0.9871 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.8655, allocations: 29.44 kB / 0.9871 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.305e-05/0.8656, allocations: 74.27 kB / 0.9872 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8656, allocations: 0 / 0.9872 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001548/0.8658, allocations: 107.5 kB / 0.9873 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.8658, allocations: 5.781 kB / 0.9873 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8658, allocations: 0.5156 kB / 0.9873 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.8658, allocations: 1.031 kB / 0.9873 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.8659, allocations: 25.44 kB / 0.9873 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8659, allocations: 3.344 kB / 0.9873 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.866, allocations: 14.8 kB / 0.9873 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.866, allocations: 7.469 kB / 0.9873 GB, free: 4.602 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0002939/0.8663, allocations: 119.8 kB / 0.9874 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.8663, allocations: 8.391 kB / 0.9874 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.8667, allocations: 381.1 kB / 0.9878 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.8667, allocations: 5.828 kB / 0.9878 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8668, allocations: 3.781 kB / 0.9878 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8668, allocations: 0.7031 kB / 0.9878 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.867, allocations: 256.8 kB / 0.9881 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.867, allocations: 1.031 kB / 0.9881 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.76e-05/0.8671, allocations: 29.69 kB / 0.9881 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8671, allocations: 0 / 0.9881 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.8671, allocations: 4.453 kB / 0.9881 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8671, allocations: 1.812 kB / 0.9881 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8671, allocations: 0.7812 kB / 0.9881 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.8674, allocations: 338.6 kB / 0.9884 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.8675, allocations: 32.34 kB / 0.9885 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.8675, allocations: 3.828 kB / 0.9885 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.8676, allocations: 6.578 kB / 0.9885 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.8677, allocations: 10.05 kB / 0.9885 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.8677, allocations: 8.484 kB / 0.9885 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.8677, allocations: 86.36 kB / 0.9886 GB, free: 20 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8677, allocations: 0.8438 kB / 0.9886 GB, free: 20 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001431/0.8691, allocations: 309.3 kB / 0.9889 GB, free: 19.98 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * 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.001927/0.8711, allocations: 1.16 MB / 0.99 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002025/0.8713, allocations: 122.6 kB / 0.9901 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8713, allocations: 0 / 0.9901 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-05/0.8714, allocations: 89.8 kB / 0.9902 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.8717, allocations: 28.72 kB / 0.9902 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.8725, allocations: 442.4 kB / 0.9906 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.8728, allocations: 0.7176 MB / 0.9913 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.558e-05/0.8729, allocations: 25.45 kB / 0.9914 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.8729, allocations: 38.36 kB / 0.9914 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.8729, allocations: 0 / 0.9914 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/0.9188, allocations: 12 MB / 1.003 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.04, allocations: 12.55 kB / 1.003 GB, free: 17.54 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.379286193001462] Failed to read output from testmodel.py, exit status != 0: 12.154716996999923 12.177895556 11.324978864 Calling exit ...