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: translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001064/0.001065, allocations: 195 kB / 17.98 MB, free: 5.027 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.253/1.253, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.676/0.676, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 63.89 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3595, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1355/0.495, allocations: 135.5 MB / 0.6899 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008394/0.5034, allocations: 7.921 MB / 0.6977 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.5036, allocations: 0 / 0.6977 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.5038, allocations: 19.84 kB / 0.6977 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.5038, allocations: 15.84 kB / 0.6977 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.5074, allocations: 1.464 MB / 0.6991 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.5076, allocations: 71.66 kB / 0.6992 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.5076, allocations: 11.98 kB / 0.6992 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.5077, allocations: 47.84 kB / 0.6992 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.5078, allocations: 35.89 kB / 0.6993 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.5079, allocations: 0 / 0.6993 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.5121, allocations: 2.7 MB / 0.7019 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.5121, allocations: 15.92 kB / 0.7019 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.5122, allocations: 31.84 kB / 0.702 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.5141, allocations: 1.374 MB / 0.7033 GB, free: 14.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5141, allocations: 0 / 0.7033 GB, free: 14.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5141, allocations: 0 / 0.7033 GB, free: 14.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.5141, allocations: 4 kB / 0.7033 GB, free: 14.87 MB / 0.545 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.0008493/0.515, allocations: 499.1 kB / 0.7038 GB, free: 14.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.515, allocations: 12.03 kB / 0.7038 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.5154, allocations: 24.83 kB / 0.7038 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.5155, allocations: 176.2 kB / 0.704 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.5156, allocations: 30.27 kB / 0.704 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.5156, allocations: 15.92 kB / 0.704 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.516, allocations: 113.5 kB / 0.7041 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.516, allocations: 11.98 kB / 0.7041 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.516, allocations: 0 / 0.7041 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.516, allocations: 3.938 kB / 0.7042 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.5163, allocations: 115.9 kB / 0.7043 GB, free: 13.79 MB / 0.545 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.0004673/0.5168, allocations: 384 kB / 0.7046 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.517, allocations: 126.6 kB / 0.7048 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.5171, allocations: 52.84 kB / 0.7048 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.5277, allocations: 4.226 MB / 0.7089 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.5277, allocations: 38.56 kB / 0.709 GB, free: 8.574 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.5278, allocations: 0 / 0.709 GB, free: 8.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005603/0.5283, allocations: 165.5 kB / 0.7091 GB, free: 8.406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.5284, allocations: 55.41 kB / 0.7092 GB, free: 8.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.5284, allocations: 101.8 kB / 0.7093 GB, free: 8.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.5285, allocations: 25.7 kB / 0.7093 GB, free: 8.199 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.5285, allocations: 80.14 kB / 0.7094 GB, free: 8.117 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.5285, allocations: 51.44 kB / 0.7094 GB, free: 8.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.5286, allocations: 33.7 kB / 0.7095 GB, free: 8.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5287, allocations: 314.8 kB / 0.7098 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/0.5288, allocations: 27.98 kB / 0.7098 GB, free: 7.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.5288, allocations: 23.98 kB / 0.7098 GB, free: 7.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.5289, allocations: 72.47 kB / 0.7099 GB, free: 7.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5289, allocations: 4 kB / 0.7099 GB, free: 7.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001737/0.5291, allocations: 109.5 kB / 0.71 GB, free: 7.473 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5291, allocations: 5.406 kB / 0.71 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5291, allocations: 4 kB / 0.71 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.5292, allocations: 0 / 0.71 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.5293, allocations: 27.98 kB / 0.71 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.5293, allocations: 0 / 0.71 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.5294, allocations: 3.938 kB / 0.71 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.5294, allocations: 11.94 kB / 0.71 GB, free: 7.422 MB / 0.545 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 8.367e-05/0.5295, allocations: 117.8 kB / 0.7101 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.5295, allocations: 7.906 kB / 0.7102 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.5299, allocations: 370.4 kB / 0.7105 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.53, allocations: 7.984 kB / 0.7105 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.53, allocations: 0 / 0.7105 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.53, allocations: 3.938 kB / 0.7105 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.5303, allocations: 285.3 kB / 0.7108 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5303, allocations: 4 kB / 0.7108 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.5304, allocations: 23.92 kB / 0.7108 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5304, allocations: 0 / 0.7108 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.5304, allocations: 0 / 0.7108 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5304, allocations: 7.984 kB / 0.7108 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5304, allocations: 0 / 0.7108 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.5307, allocations: 338.9 kB / 0.7111 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.5308, allocations: 97.03 kB / 0.7112 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.5309, allocations: 8 kB / 0.7112 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.531, allocations: 3.984 kB / 0.7113 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.531, allocations: 19.97 kB / 0.7113 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.531, allocations: 3.938 kB / 0.7113 GB, free: 6.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.5311, allocations: 83.27 kB / 0.7114 GB, free: 5.969 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5311, allocations: 7.938 kB / 0.7114 GB, free: 5.961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008088/0.5319, allocations: 303.9 kB / 0.7116 GB, free: 5.664 MB / 0.545 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.001101/0.533, allocations: 390.9 kB / 0.712 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.5332, allocations: 121.9 kB / 0.7121 GB, free: 5.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5332, allocations: 4 kB / 0.7121 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.5334, allocations: 112 kB / 0.7122 GB, free: 5.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.5336, allocations: 16 kB / 0.7123 GB, free: 5.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.5341, allocations: 312.5 kB / 0.7126 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.5344, allocations: 0.7165 MB / 0.7133 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.5345, allocations: 33.98 kB / 0.7133 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.5345, allocations: 23.42 kB / 0.7133 GB, free: 3.895 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5345, allocations: 0 / 0.7133 GB, free: 3.895 MB / 0.545 GB Notification: Performance of Templates: time 0.01276/0.5473, allocations: 9.771 MB / 0.7229 GB, free: 10.13 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)