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.001221/0.001221, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001368/0.001368, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.002558/0.002558, allocations: 286 kB / 313.5 MB, free: 2.805 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.174/1.174, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",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.002766/0.002766, allocations: 95.17 kB / 0.7403 GB, free: 28.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1707, allocations: 95.39 MB / 0.8335 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1613/0.332, allocations: 138.8 MB / 0.9691 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3424, allocations: 8.037 MB / 0.9769 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.3425, allocations: 0 / 0.9769 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.3427, allocations: 31.81 kB / 0.9769 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.3427, allocations: 19.84 kB / 0.977 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.3466, allocations: 1.48 MB / 0.9784 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3467, allocations: 71.7 kB / 0.9785 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.3468, allocations: 4 kB / 0.9785 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3469, allocations: 47.83 kB / 0.9785 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.347, allocations: 31.84 kB / 0.9786 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.347, allocations: 8 kB / 0.9786 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004694/0.3517, allocations: 2.723 MB / 0.9812 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.3517, allocations: 11.98 kB / 0.9812 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.3518, allocations: 39.78 kB / 0.9813 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.41/0.7618, allocations: 1.381 MB / 0.9826 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.7618, allocations: 0 / 0.9826 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7618, allocations: 0 / 0.9826 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.7618, allocations: 1.219 kB / 0.9826 GB, free: 6.305 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.00116/0.763, allocations: 433.9 kB / 0.983 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.763, allocations: 10.53 kB / 0.983 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.33e-05/0.763, allocations: 2.562 kB / 0.983 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.7631, allocations: 39.22 kB / 0.9831 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/0.7635, allocations: 23 kB / 0.9831 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.445e-05/0.7636, allocations: 120.1 kB / 0.9832 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.7636, allocations: 56.78 kB / 0.9833 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.7636, allocations: 12.94 kB / 0.9833 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.764, allocations: 118.7 kB / 0.9834 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.764, allocations: 0.75 kB / 0.9834 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.764, allocations: 5.938 kB / 0.9834 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.764, allocations: 2.859 kB / 0.9834 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.7643, allocations: 126.1 kB / 0.9835 GB, free: 5.711 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.0004208/0.7647, allocations: 347.9 kB / 0.9839 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.765, allocations: 113.6 kB / 0.984 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.553e-05/0.7651, allocations: 46.92 kB / 0.984 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.7769, allocations: 3.037 MB / 0.987 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.777, allocations: 34.03 kB / 0.987 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.777, allocations: 0 / 0.987 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005149/0.7775, allocations: 172.7 kB / 0.9872 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.7775, allocations: 55.16 kB / 0.9872 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.7776, allocations: 101.3 kB / 0.9873 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.7776, allocations: 25.7 kB / 0.9874 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.7776, allocations: 93.16 kB / 0.9874 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.7776, allocations: 51.02 kB / 0.9875 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.7777, allocations: 26.73 kB / 0.9875 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.7779, allocations: 324.2 kB / 0.9878 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.778, allocations: 22.91 kB / 0.9878 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/0.778, allocations: 29.78 kB / 0.9879 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.485e-05/0.7781, allocations: 71.12 kB / 0.9879 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7781, allocations: 0.6875 kB / 0.9879 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000151/0.7783, allocations: 106.6 kB / 0.988 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.7783, allocations: 6.094 kB / 0.9881 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7783, allocations: 0 / 0.9881 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7783, allocations: 2.703 kB / 0.9881 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.7784, allocations: 31.38 kB / 0.9881 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7784, allocations: 4.484 kB / 0.9881 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.7785, allocations: 11.83 kB / 0.9881 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.7785, allocations: 4.297 kB / 0.9881 GB, free: 20.61 MB / 0.7325 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 9.385e-05/0.7786, allocations: 122.2 kB / 0.9882 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.7786, allocations: 7.344 kB / 0.9882 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.779, allocations: 379.8 kB / 0.9886 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.7791, allocations: 5.641 kB / 0.9886 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7791, allocations: 0.9062 kB / 0.9886 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7791, allocations: 5.109 kB / 0.9886 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.7793, allocations: 253.9 kB / 0.9888 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7793, allocations: 0.8125 kB / 0.9888 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.141e-05/0.7794, allocations: 25.34 kB / 0.9889 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.7794, allocations: 3.875 kB / 0.9889 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.7794, allocations: 1.594 kB / 0.9889 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.7794, allocations: 3.906 kB / 0.9889 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7794, allocations: 0 / 0.9889 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.7797, allocations: 342.2 kB / 0.9892 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.7797, allocations: 24.53 kB / 0.9892 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.7798, allocations: 7 kB / 0.9892 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.7799, allocations: 6.359 kB / 0.9892 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.7799, allocations: 10.59 kB / 0.9892 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.7799, allocations: 11.72 kB / 0.9893 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.78, allocations: 83.59 kB / 0.9893 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.78, allocations: 0.5938 kB / 0.9893 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001368/0.7814, allocations: 308.6 kB / 0.9896 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.001764/0.7831, allocations: 1.158 MB / 0.9908 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.7833, allocations: 121.8 kB / 0.9909 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7833, allocations: 3.031 kB / 0.9909 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.7834, allocations: 90.52 kB / 0.991 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.7837, allocations: 22.31 kB / 0.991 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.7845, allocations: 446.2 kB / 0.9914 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.7848, allocations: 0.7157 MB / 0.9921 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.53e-05/0.7849, allocations: 32.56 kB / 0.9921 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.785, allocations: 37.27 kB / 0.9922 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.785, allocations: 0 / 0.9922 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/0.8252, allocations: 12.04 MB / 1.004 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.56, allocations: 15.11 kB / 1.004 GB, free: 17.53 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.73604821698973] Failed to read output from testmodel.py, exit status != 0: 11.71931041404605 11.731617058 10.967286811 Calling exit ...