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.001538/0.001538, allocations: 112 kB / 16.46 MB, free: 6.453 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.001616/0.001616, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.395/1.395, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 288.7 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.186/1.186, allocations: 180.9 MB / 0.5333 GB, free: 13.65 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002775/0.002775, allocations: 108.8 kB / 0.7342 GB, free: 28.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1647, allocations: 95.34 MB / 0.8273 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1603/0.325, allocations: 138.8 MB / 0.9629 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009659/0.3346, allocations: 8.006 MB / 0.9707 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.3347, allocations: 0 / 0.9707 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.3348, allocations: 23.83 kB / 0.9707 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.3349, allocations: 23.84 kB / 0.9708 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.3383, allocations: 1.472 MB / 0.9722 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3385, allocations: 71.69 kB / 0.9723 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.3385, allocations: 8 kB / 0.9723 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3386, allocations: 47.83 kB / 0.9723 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.3387, allocations: 31.86 kB / 0.9723 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3387, allocations: 4 kB / 0.9723 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004136/0.3429, allocations: 2.719 MB / 0.975 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.3429, allocations: 19.84 kB / 0.975 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.3429, allocations: 31.86 kB / 0.9751 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.3447, allocations: 1.388 MB / 0.9764 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3447, allocations: 0 / 0.9764 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3447, allocations: 0 / 0.9764 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3447, allocations: 0 / 0.9764 GB, free: 0.6367 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.0009984/0.3457, allocations: 0.5023 MB / 0.9769 GB, free: 88 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3457, allocations: 8.031 kB / 0.9769 GB, free: 80 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.3458, allocations: 38.73 kB / 0.9769 GB, free: 32 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.3461, allocations: 24.88 kB / 0.977 GB, free: 8 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3137/0.6598, allocations: 169.5 kB / 0.9771 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.6599, allocations: 33.03 kB / 0.9772 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.6599, allocations: 7.719 kB / 0.9772 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.6604, allocations: 118.8 kB / 0.9773 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.6604, allocations: 3.5 kB / 0.9773 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.6604, allocations: 1.469 kB / 0.9773 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.6604, allocations: 9.062 kB / 0.9773 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.6608, allocations: 115.7 kB / 0.9774 GB, free: 152.8 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.0004398/0.6612, allocations: 382.2 kB / 0.9778 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.6615, allocations: 118.6 kB / 0.9779 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.676e-05/0.6615, allocations: 45.41 kB / 0.9779 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.6735, allocations: 4.68 MB / 0.9825 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.6735, allocations: 38.03 kB / 0.9825 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.6735, allocations: 1.688 kB / 0.9825 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005446/0.6741, allocations: 162.1 kB / 0.9827 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.6741, allocations: 54.73 kB / 0.9827 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.976e-05/0.6742, allocations: 104.8 kB / 0.9828 GB, free: 150 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.6742, allocations: 32.08 kB / 0.9829 GB, free: 150 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.6742, allocations: 81.8 kB / 0.9829 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.6742, allocations: 46.31 kB / 0.983 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.6743, allocations: 29.05 kB / 0.983 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.6743, allocations: 319 kB / 0.9833 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.6744, allocations: 21.36 kB / 0.9833 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.487e-05/0.6744, allocations: 26.64 kB / 0.9834 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.6745, allocations: 79.59 kB / 0.9834 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6745, allocations: 0 / 0.9834 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001635/0.6747, allocations: 110 kB / 0.9836 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6747, allocations: 5.766 kB / 0.9836 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6747, allocations: 1.781 kB / 0.9836 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.6747, allocations: 2.719 kB / 0.9836 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.6748, allocations: 23.64 kB / 0.9836 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6749, allocations: 4.578 kB / 0.9836 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.6749, allocations: 7.125 kB / 0.9836 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.6749, allocations: 4.578 kB / 0.9836 GB, free: 149.5 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 6.277e-05/0.675, allocations: 116.7 kB / 0.9837 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.675, allocations: 10.52 kB / 0.9837 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.6754, allocations: 368.8 kB / 0.9841 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.6755, allocations: 6.469 kB / 0.9841 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6755, allocations: 1.422 kB / 0.9841 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6755, allocations: 0.7031 kB / 0.9841 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.6757, allocations: 287.2 kB / 0.9844 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6757, allocations: 0 / 0.9844 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/0.6758, allocations: 22.39 kB / 0.9844 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6758, allocations: 6.906 kB / 0.9844 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.6758, allocations: 3.766 kB / 0.9844 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.6758, allocations: 6.828 kB / 0.9844 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6758, allocations: 0 / 0.9844 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.6761, allocations: 339.3 kB / 0.9847 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.6762, allocations: 105.7 kB / 0.9848 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.6762, allocations: 3.828 kB / 0.9848 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.6763, allocations: 8.719 kB / 0.9848 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.6764, allocations: 10.95 kB / 0.9848 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.6764, allocations: 11 kB / 0.9848 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.227e-05/0.6764, allocations: 83.53 kB / 0.9849 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.6764, allocations: 0 / 0.9849 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008179/0.6772, allocations: 305.9 kB / 0.9852 GB, free: 148.6 MB / 0.7169 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.001477/0.6787, allocations: 1.164 MB / 0.9864 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.6789, allocations: 119.9 kB / 0.9865 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6789, allocations: 6.875 kB / 0.9865 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.752e-05/0.679, allocations: 82.84 kB / 0.9866 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.6793, allocations: 18.89 kB / 0.9866 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.6801, allocations: 432.4 kB / 0.987 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.6802, allocations: 0.7205 MB / 0.9877 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.762e-05/0.6803, allocations: 29.45 kB / 0.9877 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.6803, allocations: 43.64 kB / 0.9878 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6803, allocations: 0 / 0.9878 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03979/0.7201, allocations: 11.74 MB / 0.9992 GB, free: 142.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.639, allocations: 4.438 kB / 0.9992 GB, free: 142.1 MB / 0.7169 GB " [Timeout remaining time 651] (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: 12.674979913048446] Failed to read output from testmodel.py, exit status != 0: 8.710027812980115 8.719630703 8.372986724 Calling exit ...