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.001022/0.001022, allocations: 114 kB / 17.08 MB, free: 5.965 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.001079/0.001079, allocations: 193.9 kB / 18.01 MB, free: 5.055 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.31/1.31, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7144/0.7144, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 65.84 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1521, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.4607/0.6129, allocations: 135.5 MB / 0.7651 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007149/0.6201, allocations: 7.912 MB / 0.7728 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.6202, allocations: 0.6875 kB / 0.7728 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.6204, allocations: 27.67 kB / 0.7728 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.6205, allocations: 21.55 kB / 0.7728 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.6245, allocations: 1.459 MB / 0.7743 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.6247, allocations: 73.94 kB / 0.7743 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.775e-05/0.6248, allocations: 8.062 kB / 0.7743 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.6249, allocations: 41.86 kB / 0.7744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.625, allocations: 34.78 kB / 0.7744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.6251, allocations: 7.188 kB / 0.7744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004855/0.6299, allocations: 2.697 MB / 0.7771 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.63, allocations: 16.09 kB / 0.7771 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.63, allocations: 32.62 kB / 0.7771 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.6321, allocations: 1.378 MB / 0.7785 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6322, allocations: 0 / 0.7785 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6322, allocations: 0 / 0.7785 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.6322, allocations: 2.422 kB / 0.7785 GB, free: 14.61 MB / 0.5919 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.001036/0.6332, allocations: 0.4925 MB / 0.7789 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.6333, allocations: 9.938 kB / 0.7789 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.6336, allocations: 24.95 kB / 0.779 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.6338, allocations: 167.6 kB / 0.7791 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.811e-05/0.6338, allocations: 34.67 kB / 0.7792 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.6339, allocations: 15 kB / 0.7792 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.6342, allocations: 120.8 kB / 0.7793 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.6342, allocations: 0 / 0.7793 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.6343, allocations: 6.906 kB / 0.7793 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6343, allocations: 5.062 kB / 0.7793 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.6345, allocations: 112.8 kB / 0.7794 GB, free: 13.91 MB / 0.5919 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.0004926/0.635, allocations: 383.2 kB / 0.7798 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.6353, allocations: 123.5 kB / 0.7799 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.493e-05/0.6354, allocations: 55.06 kB / 0.7799 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.6462, allocations: 4.235 MB / 0.7841 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.6462, allocations: 36 kB / 0.7841 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.6463, allocations: 1.203 kB / 0.7841 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005237/0.6468, allocations: 162.4 kB / 0.7843 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.6468, allocations: 66.22 kB / 0.7843 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.294e-05/0.6469, allocations: 94.02 kB / 0.7844 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.6469, allocations: 32.45 kB / 0.7845 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.647, allocations: 81.7 kB / 0.7845 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.647, allocations: 48.23 kB / 0.7846 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.6471, allocations: 26.42 kB / 0.7846 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6472, allocations: 325.8 kB / 0.7849 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.6473, allocations: 28.41 kB / 0.7849 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/0.6473, allocations: 23.41 kB / 0.785 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.6474, allocations: 69.95 kB / 0.785 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6474, allocations: 0 / 0.785 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001732/0.6476, allocations: 116.9 kB / 0.7851 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.6476, allocations: 5.125 kB / 0.7851 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6476, allocations: 0 / 0.7851 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6477, allocations: 2.938 kB / 0.7851 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.6478, allocations: 23.31 kB / 0.7852 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6478, allocations: 1.938 kB / 0.7852 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.6478, allocations: 0 / 0.7852 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.6479, allocations: 16.95 kB / 0.7852 GB, free: 10.92 MB / 0.5919 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.676e-05/0.6479, allocations: 115.1 kB / 0.7853 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.648, allocations: 6.406 kB / 0.7853 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.6484, allocations: 369 kB / 0.7857 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.6484, allocations: 8.812 kB / 0.7857 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6484, allocations: 4 kB / 0.7857 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6484, allocations: 0 / 0.7857 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.6487, allocations: 286.5 kB / 0.7859 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6487, allocations: 0 / 0.7859 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.125e-05/0.6488, allocations: 26.44 kB / 0.786 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6488, allocations: 0 / 0.786 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.6488, allocations: 2.625 kB / 0.786 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.6488, allocations: 1.203 kB / 0.786 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6488, allocations: 8.5 kB / 0.786 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.6492, allocations: 335.6 kB / 0.7863 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.6492, allocations: 103.1 kB / 0.7864 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.6493, allocations: 3.625 kB / 0.7864 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.6494, allocations: 7.656 kB / 0.7864 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.6494, allocations: 7.156 kB / 0.7864 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.6494, allocations: 8 kB / 0.7864 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.6495, allocations: 87.59 kB / 0.7865 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6495, allocations: 0 / 0.7865 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001105/0.6506, allocations: 296.9 kB / 0.7868 GB, free: 10.16 MB / 0.5919 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.001854/0.6525, allocations: 403.5 kB / 0.7872 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.6527, allocations: 118.9 kB / 0.7873 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6527, allocations: 0 / 0.7873 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.6528, allocations: 113 kB / 0.7874 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.6532, allocations: 21.75 kB / 0.7874 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.6537, allocations: 332 kB / 0.7877 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.6539, allocations: 0.7227 MB / 0.7884 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.654, allocations: 21.67 kB / 0.7885 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.654, allocations: 0 / 0.7885 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of Templates: time 0.01039/0.6644, allocations: 6.77 MB / 0.7951 GB, free: 5.809 MB / 0.5919 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)