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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00632/0.00632, allocations: 101.1 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 186.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 275 kB / 290.8 MB, free: 1.758 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 99.83 kB / 0.681 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1487, allocations: 86.97 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.4637/0.6125, allocations: 135.6 MB / 0.8983 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007975/0.6205, allocations: 7.917 MB / 0.906 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.6206, allocations: 4 kB / 0.906 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.6208, allocations: 35.81 kB / 0.9061 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.6208, allocations: 19.86 kB / 0.9061 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00339/0.6242, allocations: 1.467 MB / 0.9075 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.6244, allocations: 71.7 kB / 0.9076 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.6244, allocations: 7.984 kB / 0.9076 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.6245, allocations: 43.84 kB / 0.9076 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.6246, allocations: 39.77 kB / 0.9077 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.6247, allocations: 4 kB / 0.9077 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.6285, allocations: 2.714 MB / 0.9103 GB, free: 15.33 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.6285, allocations: 15.92 kB / 0.9103 GB, free: 15.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.6286, allocations: 31.84 kB / 0.9104 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.6302, allocations: 1.372 MB / 0.9117 GB, free: 13.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6302, allocations: 0 / 0.9117 GB, free: 13.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6302, allocations: 0 / 0.9117 GB, free: 13.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.6302, allocations: 0 / 0.9117 GB, free: 13.91 MB / 0.67 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.0008307/0.6311, allocations: 0.4951 MB / 0.9122 GB, free: 13.37 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.6311, allocations: 8.031 kB / 0.9122 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.6312, allocations: 46.73 kB / 0.9122 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.6315, allocations: 16.92 kB / 0.9123 GB, free: 13.29 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.6317, allocations: 176.2 kB / 0.9124 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.6317, allocations: 34.27 kB / 0.9125 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.6318, allocations: 7.938 kB / 0.9125 GB, free: 13.03 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.6321, allocations: 114.5 kB / 0.9126 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6321, allocations: 7.922 kB / 0.9126 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6322, allocations: 4 kB / 0.9126 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.6322, allocations: 0 / 0.9126 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.6325, allocations: 119.9 kB / 0.9127 GB, free: 12.79 MB / 0.67 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.0005026/0.633, allocations: 380 kB / 0.9131 GB, free: 12.35 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.6333, allocations: 125.1 kB / 0.9132 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.6333, allocations: 52.78 kB / 0.9132 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.6439, allocations: 4.234 MB / 0.9174 GB, free: 7.617 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.644, allocations: 38.56 kB / 0.9174 GB, free: 7.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 2.073e-06/0.644, allocations: 4 kB / 0.9174 GB, free: 7.566 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0005243/0.6445, allocations: 157.6 kB / 0.9176 GB, free: 7.406 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.6446, allocations: 55.41 kB / 0.9176 GB, free: 7.34 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.6447, allocations: 105.8 kB / 0.9177 GB, free: 7.227 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.6447, allocations: 29.7 kB / 0.9177 GB, free: 7.191 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.6447, allocations: 84.05 kB / 0.9178 GB, free: 7.105 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.6448, allocations: 43.53 kB / 0.9179 GB, free: 7.062 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.6448, allocations: 29.7 kB / 0.9179 GB, free: 7.027 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6449, allocations: 322.8 kB / 0.9182 GB, free: 6.703 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.645, allocations: 31.92 kB / 0.9182 GB, free: 6.672 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.645, allocations: 24.48 kB / 0.9183 GB, free: 6.648 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.6452, allocations: 67.72 kB / 0.9183 GB, free: 6.582 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6452, allocations: 0 / 0.9183 GB, free: 6.582 MB / 0.67 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000176/0.6454, allocations: 113.6 kB / 0.9184 GB, free: 6.465 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6454, allocations: 4 kB / 0.9184 GB, free: 6.461 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6454, allocations: 0.8125 kB / 0.9184 GB, free: 6.461 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6454, allocations: 0 / 0.9184 GB, free: 6.461 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.6455, allocations: 27.92 kB / 0.9185 GB, free: 6.434 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.6455, allocations: 4 kB / 0.9185 GB, free: 6.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.6456, allocations: 11.84 kB / 0.9185 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.6456, allocations: 4 kB / 0.9185 GB, free: 6.414 MB / 0.67 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 7.905e-05/0.6457, allocations: 114.5 kB / 0.9186 GB, free: 6.293 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.6458, allocations: 4 kB / 0.9186 GB, free: 6.289 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.6462, allocations: 371.3 kB / 0.9189 GB, free: 5.926 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.6462, allocations: 9.547 kB / 0.919 GB, free: 5.918 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6462, allocations: 0 / 0.919 GB, free: 5.918 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6462, allocations: 7.938 kB / 0.919 GB, free: 5.91 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.6465, allocations: 289 kB / 0.9192 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6465, allocations: 0 / 0.9192 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.483e-05/0.6466, allocations: 27.98 kB / 0.9193 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6466, allocations: 0 / 0.9193 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.6466, allocations: 0 / 0.9193 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6466, allocations: 4 kB / 0.9193 GB, free: 5.547 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6466, allocations: 0 / 0.9193 GB, free: 5.547 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.647, allocations: 335.1 kB / 0.9196 GB, free: 5.203 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.647, allocations: 96.94 kB / 0.9197 GB, free: 5.09 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.6471, allocations: 9.312 kB / 0.9197 GB, free: 5.082 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.6472, allocations: 3.984 kB / 0.9197 GB, free: 5.078 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.6472, allocations: 7.984 kB / 0.9197 GB, free: 5.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.6473, allocations: 11.94 kB / 0.9197 GB, free: 5.059 MB / 0.67 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.6473, allocations: 83.27 kB / 0.9198 GB, free: 4.977 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6473, allocations: 3.938 kB / 0.9198 GB, free: 4.973 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008087/0.6481, allocations: 307.8 kB / 0.9201 GB, free: 4.672 MB / 0.67 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.001564/0.6497, allocations: 1.152 MB / 0.9212 GB, free: 3.492 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.6499, allocations: 120.9 kB / 0.9213 GB, free: 3.375 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6499, allocations: 4 kB / 0.9213 GB, free: 3.371 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.65, allocations: 107.9 kB / 0.9214 GB, free: 3.266 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.6503, allocations: 25.48 kB / 0.9215 GB, free: 3.242 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000791/0.6511, allocations: 434.4 kB / 0.9219 GB, free: 2.781 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.6514, allocations: 0.7166 MB / 0.9226 GB, free: 2.035 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.6515, allocations: 36.33 kB / 0.9226 GB, free: 2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.6516, allocations: 39.42 kB / 0.9226 GB, free: 1.961 MB / 0.67 GB Notification: Performance of SimCode: time 2.61e-07/0.6516, allocations: 0 / 0.9226 GB, free: 1.961 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.6806, allocations: 11.63 MB / 0.934 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/8.153, allocations: 10.5 kB / 0.934 GB, free: 6.461 MB / 0.6856 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)