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: translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001681/0.001681, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 281.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 87.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.361, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1631/0.5241, allocations: 135.6 MB / 0.8994 GB, free: 11.79 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008531/0.5327, allocations: 7.927 MB / 0.9072 GB, free: 3.824 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.5327, allocations: 3.938 kB / 0.9072 GB, free: 3.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.533, allocations: 23.89 kB / 0.9072 GB, free: 3.797 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.256e-05/0.533, allocations: 19.8 kB / 0.9072 GB, free: 3.777 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.5363, allocations: 1.469 MB / 0.9087 GB, free: 2.312 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.5364, allocations: 75.69 kB / 0.9087 GB, free: 2.238 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.5364, allocations: 4 kB / 0.9087 GB, free: 2.234 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.5366, allocations: 51.78 kB / 0.9088 GB, free: 2.184 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.022e-05/0.5367, allocations: 27.91 kB / 0.9088 GB, free: 2.156 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.5367, allocations: 4 kB / 0.9088 GB, free: 2.152 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00408/0.5408, allocations: 2.708 MB / 0.9115 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.5408, allocations: 19.91 kB / 0.9115 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.5408, allocations: 31.86 kB / 0.9115 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.5426, allocations: 1.379 MB / 0.9129 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.5426, allocations: 0 / 0.9129 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5426, allocations: 0 / 0.9129 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.778e-06/0.5427, allocations: 0 / 0.9129 GB, free: 14.01 MB / 0.6856 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.0009317/0.5436, allocations: 0.4914 MB / 0.9133 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.5436, allocations: 8.031 kB / 0.9133 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.544, allocations: 28.81 kB / 0.9134 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.5441, allocations: 172.2 kB / 0.9135 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.5442, allocations: 34.27 kB / 0.9136 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.5442, allocations: 11.92 kB / 0.9136 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.5446, allocations: 121.6 kB / 0.9137 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.5446, allocations: 0 / 0.9137 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.5446, allocations: 4 kB / 0.9137 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5446, allocations: 4 kB / 0.9137 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.5449, allocations: 111.9 kB / 0.9138 GB, free: 12.94 MB / 0.6856 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.0004467/0.5454, allocations: 384 kB / 0.9142 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.5456, allocations: 126.5 kB / 0.9143 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.5457, allocations: 59.34 kB / 0.9143 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.5575, allocations: 4.226 MB / 0.9185 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.5575, allocations: 30.56 kB / 0.9185 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.5575, allocations: 0 / 0.9185 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0004762/0.558, allocations: 169.5 kB / 0.9187 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.558, allocations: 51.41 kB / 0.9187 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.5581, allocations: 97.86 kB / 0.9188 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.5581, allocations: 29.7 kB / 0.9188 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.5582, allocations: 84.14 kB / 0.9189 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.5582, allocations: 51.42 kB / 0.919 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.5583, allocations: 29.7 kB / 0.919 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5584, allocations: 326.8 kB / 0.9193 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.5585, allocations: 23.98 kB / 0.9193 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.5585, allocations: 27.94 kB / 0.9194 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.5586, allocations: 70.53 kB / 0.9194 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5586, allocations: 0 / 0.9194 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001883/0.5588, allocations: 109.6 kB / 0.9195 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5589, allocations: 10.5 kB / 0.9195 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5589, allocations: 4 kB / 0.9195 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5589, allocations: 0 / 0.9195 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.559, allocations: 19.98 kB / 0.9196 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.559, allocations: 0 / 0.9196 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.5591, allocations: 4 kB / 0.9196 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.5591, allocations: 11.92 kB / 0.9196 GB, free: 6.57 MB / 0.6856 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.254e-05/0.5592, allocations: 120.2 kB / 0.9197 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.5593, allocations: 7.906 kB / 0.9197 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.5597, allocations: 368.3 kB / 0.92 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5597, allocations: 0 / 0.92 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5597, allocations: 0 / 0.92 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.5598, allocations: 108.8 kB / 0.9202 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.5598, allocations: 11.92 kB / 0.9202 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.56, allocations: 8 kB / 0.9202 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.56, allocations: 11.92 kB / 0.9202 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003438/0.5604, allocations: 313.1 kB / 0.9205 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003854/0.5608, allocations: 407 kB / 0.9209 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001232/0.5609, allocations: 107.1 kB / 0.921 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.5609, allocations: 87.2 kB / 0.9211 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of Backend: time 2.7e-07/0.5609, allocations: 0 / 0.9211 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.5627, allocations: 0.5118 MB / 0.9216 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0005467/0.5633, allocations: 0.6684 MB / 0.9222 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of Templates: time 0.0164/0.5797, allocations: 11.81 MB / 0.9337 GB, free: 7.953 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)