Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001522/0.001522, allocations: 96.11 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001793, allocations: 175.5 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.589/2.589, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.356/1.356, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004941, allocations: 9.125 kB / 493 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.296, allocations: 77.12 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 1.009/1.305, allocations: 114.4 MB / 0.6685 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02356/1.329, allocations: 6.909 MB / 0.6752 GB, free: 416 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/1.329, allocations: 0 / 0.6752 GB, free: 416 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/1.329, allocations: 19.95 kB / 0.6752 GB, free: 396 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/1.329, allocations: 15.95 kB / 0.6752 GB, free: 380 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006855/1.336, allocations: 1.115 MB / 0.6763 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003576/1.34, allocations: 55.84 kB / 0.6764 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/1.341, allocations: 4.531 kB / 0.6764 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000404/1.341, allocations: 43.89 kB / 0.6764 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/1.341, allocations: 27.91 kB / 0.6764 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/1.341, allocations: 4 kB / 0.6765 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02355/1.365, allocations: 2.556 MB / 0.6789 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/1.365, allocations: 15.92 kB / 0.679 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/1.365, allocations: 29.7 kB / 0.679 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007758/1.373, allocations: 0.9153 MB / 0.6799 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/1.373, allocations: 0 / 0.6799 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.049e-06/1.373, allocations: 0 / 0.6799 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.468e-06/1.373, allocations: 0 / 0.6799 GB, free: 11.61 MB / 0.4981 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.002435/1.375, allocations: 491.8 kB / 0.6804 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.659e-05/1.376, allocations: 8.031 kB / 0.6804 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.035e-05/1.376, allocations: 42.5 kB / 0.6804 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0049/1.381, allocations: 19.89 kB / 0.6804 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/1.381, allocations: 178.9 kB / 0.6806 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/1.381, allocations: 33.7 kB / 0.6806 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/1.381, allocations: 4 kB / 0.6806 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/1.382, allocations: 126.6 kB / 0.6808 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.382, allocations: 0 / 0.6808 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/1.382, allocations: 3.938 kB / 0.6808 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/1.382, allocations: 0 / 0.6808 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/1.382, allocations: 119.8 kB / 0.6809 GB, free: 10.5 MB / 0.4981 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.0008547/1.383, allocations: 380.1 kB / 0.6812 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/1.384, allocations: 134.6 kB / 0.6814 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02387/1.408, allocations: 4.242 MB / 0.6855 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.05e-05/1.408, allocations: 38.48 kB / 0.6855 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 4.539e-06/1.408, allocations: 4 kB / 0.6855 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0009941/1.409, allocations: 161.8 kB / 0.6857 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/1.409, allocations: 51.41 kB / 0.6857 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.409, allocations: 105.8 kB / 0.6858 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/1.409, allocations: 29.7 kB / 0.6859 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/1.409, allocations: 84.14 kB / 0.686 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/1.409, allocations: 47.42 kB / 0.686 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/1.409, allocations: 4 kB / 0.686 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002297/1.41, allocations: 322.8 kB / 0.6863 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/1.41, allocations: 19.98 kB / 0.6863 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/1.41, allocations: 31.92 kB / 0.6864 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.553e-05/1.41, allocations: 27.5 kB / 0.6864 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.41, allocations: 0 / 0.6864 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002739/1.41, allocations: 105.7 kB / 0.6865 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/1.41, allocations: 15.98 kB / 0.6865 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.41, allocations: 0 / 0.6865 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.41, allocations: 0 / 0.6865 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/1.41, allocations: 22.11 kB / 0.6865 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.41, allocations: 0 / 0.6865 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/1.411, allocations: 11.91 kB / 0.6865 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/1.411, allocations: 4 kB / 0.6865 GB, free: 4.242 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001792/1.411, allocations: 117.7 kB / 0.6867 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/1.411, allocations: 4 kB / 0.6867 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008315/1.412, allocations: 370.6 kB / 0.687 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/1.412, allocations: 11.98 kB / 0.687 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.412, allocations: 0 / 0.687 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.412, allocations: 0 / 0.687 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/1.412, allocations: 281.3 kB / 0.6873 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-06/1.412, allocations: 4 kB / 0.6873 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/1.413, allocations: 27.92 kB / 0.6873 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.413, allocations: 0 / 0.6873 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/1.413, allocations: 7.984 kB / 0.6873 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/1.413, allocations: 4 kB / 0.6873 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.413, allocations: 0 / 0.6873 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/1.413, allocations: 328.3 kB / 0.6876 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/1.413, allocations: 109.3 kB / 0.6877 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/1.413, allocations: 3.984 kB / 0.6878 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/1.414, allocations: 12 kB / 0.6878 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/1.414, allocations: 11.92 kB / 0.6878 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/1.414, allocations: 12.55 kB / 0.6878 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.438e-05/1.414, allocations: 83.28 kB / 0.6879 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.414, allocations: 0 / 0.6879 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002322/1.416, allocations: 295.9 kB / 0.6881 GB, free: 2.5 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004254/1.421, allocations: 1.154 MB / 0.6893 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004091/1.421, allocations: 123.9 kB / 0.6894 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.421, allocations: 0 / 0.6894 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/1.421, allocations: 107.9 kB / 0.6895 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/1.422, allocations: 18.39 kB / 0.6895 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/1.424, allocations: 0.4977 MB / 0.69 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/1.425, allocations: 0.7247 MB / 0.6907 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002231/1.425, allocations: 34.36 kB / 0.6907 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/1.425, allocations: 39.42 kB / 0.6908 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of SimCode: time 2.264e-06/1.425, allocations: 0 / 0.6908 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05648/1.481, allocations: 11.61 MB / 0.7021 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003609/1.482, allocations: 179.4 kB / 0.7023 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.614/5.096, allocations: 0 / 0.7023 GB, free: 4.02 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) Environment - environmentSimulation: