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.001048/0.001048, allocations: 92.66 kB / 16.67 MB, free: 5.742 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.001197/0.001197, allocations: 179.9 kB / 17.57 MB, free: 5.477 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.384/1.384, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7506/0.7506, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003794, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3881, allocations: 77.51 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1379/0.526, allocations: 131.7 MB / 0.6892 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.5367, allocations: 8.388 MB / 0.6974 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.5367, allocations: 0 / 0.6974 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.5369, allocations: 19.89 kB / 0.6974 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.537, allocations: 15.86 kB / 0.6974 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.5402, allocations: 1.158 MB / 0.6985 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.5403, allocations: 75.64 kB / 0.6986 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.5404, allocations: 0 / 0.6986 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.5405, allocations: 43.84 kB / 0.6986 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.5406, allocations: 35.84 kB / 0.6987 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.5407, allocations: 4 kB / 0.6987 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/0.545, allocations: 2.653 MB / 0.7013 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.545, allocations: 11.98 kB / 0.7013 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.5451, allocations: 65.48 kB / 0.7013 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.5464, allocations: 0.9045 MB / 0.7022 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5464, allocations: 4 kB / 0.7022 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5464, allocations: 0 / 0.7022 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.5464, allocations: 0 / 0.7022 GB, free: 1.852 MB / 0.5294 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.001104/0.5475, allocations: 495.1 kB / 0.7027 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5476, allocations: 11.97 kB / 0.7027 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004062/0.548, allocations: 28.83 kB / 0.7027 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.5481, allocations: 168.3 kB / 0.7029 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.5482, allocations: 34.25 kB / 0.7029 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.5482, allocations: 23.88 kB / 0.703 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.5486, allocations: 116 kB / 0.7031 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5486, allocations: 0 / 0.7031 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.5487, allocations: 0 / 0.7031 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.5487, allocations: 7.938 kB / 0.7031 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.549, allocations: 115.9 kB / 0.7032 GB, free: 0.7773 MB / 0.5294 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.0004884/0.5495, allocations: 384 kB / 0.7036 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.5497, allocations: 126.5 kB / 0.7037 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.5498, allocations: 52.84 kB / 0.7037 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/0.5615, allocations: 4.253 MB / 0.7079 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.5616, allocations: 34.56 kB / 0.7079 GB, free: 11.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.564e-06/0.5616, allocations: 0 / 0.7079 GB, free: 11.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005494/0.5621, allocations: 165.5 kB / 0.7081 GB, free: 11.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.5622, allocations: 55.41 kB / 0.7081 GB, free: 11.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.5622, allocations: 105.8 kB / 0.7082 GB, free: 11.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.5623, allocations: 25.7 kB / 0.7083 GB, free: 11.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.5623, allocations: 84.14 kB / 0.7083 GB, free: 11.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.5624, allocations: 51.44 kB / 0.7084 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.5624, allocations: 17.72 kB / 0.7084 GB, free: 11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5625, allocations: 318.8 kB / 0.7087 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.5626, allocations: 23.98 kB / 0.7087 GB, free: 10.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.453e-05/0.5626, allocations: 27.98 kB / 0.7088 GB, free: 10.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.5627, allocations: 68.36 kB / 0.7088 GB, free: 10.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5628, allocations: 0 / 0.7088 GB, free: 10.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000192/0.5629, allocations: 109.6 kB / 0.7089 GB, free: 10.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.563, allocations: 9.719 kB / 0.7089 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.563, allocations: 3.984 kB / 0.7089 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.563, allocations: 0 / 0.7089 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.5631, allocations: 20 kB / 0.709 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.5632, allocations: 7.984 kB / 0.709 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/0.5632, allocations: 7.844 kB / 0.709 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.5632, allocations: 7.938 kB / 0.709 GB, free: 10.39 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.285e-05/0.5633, allocations: 113.8 kB / 0.7091 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.5634, allocations: 7.906 kB / 0.7091 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.5639, allocations: 376 kB / 0.7095 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5639, allocations: 7.984 kB / 0.7095 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5639, allocations: 4 kB / 0.7095 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5639, allocations: 3.938 kB / 0.7095 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.5642, allocations: 277.4 kB / 0.7097 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5642, allocations: 0 / 0.7097 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.5643, allocations: 23.98 kB / 0.7098 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5643, allocations: 4 kB / 0.7098 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5643, allocations: 0 / 0.7098 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5644, allocations: 3.938 kB / 0.7098 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5644, allocations: 192 / 0.7098 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.5647, allocations: 342.8 kB / 0.7101 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.5648, allocations: 104.8 kB / 0.7102 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.5648, allocations: 4 kB / 0.7102 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.565, allocations: 11.98 kB / 0.7102 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.565, allocations: 11.98 kB / 0.7102 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.565, allocations: 7.938 kB / 0.7102 GB, free: 9.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.454e-05/0.5651, allocations: 79.28 kB / 0.7103 GB, free: 8.938 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5651, allocations: 0 / 0.7103 GB, free: 8.938 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008907/0.566, allocations: 307.9 kB / 0.7106 GB, free: 8.637 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.001368/0.5674, allocations: 404.4 kB / 0.711 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.5676, allocations: 120 kB / 0.7111 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5676, allocations: 0 / 0.7111 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.5677, allocations: 111.9 kB / 0.7112 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.5681, allocations: 19.98 kB / 0.7112 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.5686, allocations: 397.9 kB / 0.7116 GB, free: 7.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.5689, allocations: 0.7246 MB / 0.7123 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.569, allocations: 19.38 kB / 0.7123 GB, free: 6.797 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.569, allocations: 0 / 0.7123 GB, free: 6.797 MB / 0.545 GB Notification: Performance of Templates: time 0.01153/0.5805, allocations: 6.735 MB / 0.7189 GB, free: 60 kB / 0.545 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)