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.001037/0.001037, allocations: 108.8 kB / 16.41 MB, free: 6.473 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.0009224/0.0009224, allocations: 187 kB / 17.34 MB, free: 5.754 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.3/1.3, 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.002079/0.002079, allocations: 292.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 87.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4239, allocations: 86.98 MB / 0.767 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1322/0.5561, allocations: 135.6 MB / 0.8994 GB, free: 11.77 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008/0.5642, allocations: 7.923 MB / 0.9072 GB, free: 3.805 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.5643, allocations: 0 / 0.9072 GB, free: 3.805 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.5645, allocations: 27.83 kB / 0.9072 GB, free: 3.777 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.5645, allocations: 19.84 kB / 0.9072 GB, free: 3.758 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.568, allocations: 1.457 MB / 0.9086 GB, free: 2.305 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.5681, allocations: 75.64 kB / 0.9087 GB, free: 2.23 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.5681, allocations: 7.984 kB / 0.9087 GB, free: 2.223 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.5683, allocations: 43.8 kB / 0.9088 GB, free: 2.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 9.108e-05/0.5684, allocations: 31.89 kB / 0.9088 GB, free: 2.148 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.5684, allocations: 8 kB / 0.9088 GB, free: 2.141 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.5729, allocations: 2.708 MB / 0.9114 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.573, allocations: 15.92 kB / 0.9115 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.573, allocations: 31.84 kB / 0.9115 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.5755, allocations: 1.375 MB / 0.9128 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.5755, allocations: 8 kB / 0.9128 GB, free: 14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5755, allocations: 0 / 0.9128 GB, free: 14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.5755, allocations: 0 / 0.9128 GB, free: 14 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.001363/0.5769, allocations: 499.2 kB / 0.9133 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5769, allocations: 8.031 kB / 0.9133 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004293/0.5774, allocations: 28.81 kB / 0.9133 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.5775, allocations: 172.2 kB / 0.9135 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.962e-05/0.5776, allocations: 34.27 kB / 0.9135 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.5776, allocations: 7.938 kB / 0.9136 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.578, allocations: 125.5 kB / 0.9137 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.578, allocations: 0 / 0.9137 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.5781, allocations: 4 kB / 0.9137 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5781, allocations: 4 kB / 0.9137 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.5784, allocations: 119.9 kB / 0.9138 GB, free: 12.92 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.0005513/0.579, allocations: 380 kB / 0.9142 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.5792, allocations: 132.4 kB / 0.9143 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.5794, allocations: 48.84 kB / 0.9143 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.5905, allocations: 4.23 MB / 0.9185 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.5906, allocations: 38.56 kB / 0.9185 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.5906, allocations: 0 / 0.9185 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0005857/0.5912, allocations: 161.6 kB / 0.9186 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.5912, allocations: 55.34 kB / 0.9187 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/0.5913, allocations: 97.86 kB / 0.9188 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.5913, allocations: 29.64 kB / 0.9188 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.5914, allocations: 92.12 kB / 0.9189 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.5914, allocations: 39.45 kB / 0.9189 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.5915, allocations: 29.7 kB / 0.919 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5916, allocations: 330.8 kB / 0.9193 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.5917, allocations: 23.98 kB / 0.9193 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.5917, allocations: 26.36 kB / 0.9193 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.5918, allocations: 64.86 kB / 0.9194 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5918, allocations: 0 / 0.9194 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001814/0.592, allocations: 113.5 kB / 0.9195 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.592, allocations: 4 kB / 0.9195 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5921, allocations: 0 / 0.9195 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5921, allocations: 4 kB / 0.9195 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.5922, allocations: 23.98 kB / 0.9195 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5922, allocations: 0 / 0.9195 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.5923, allocations: 11.94 kB / 0.9196 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5923, allocations: 3.984 kB / 0.9196 GB, free: 6.559 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 0.0001312/0.5924, allocations: 116.2 kB / 0.9197 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.5925, allocations: 7.906 kB / 0.9197 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.593, allocations: 376.1 kB / 0.92 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.593, allocations: 4 kB / 0.92 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5931, allocations: 8 kB / 0.92 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5931, allocations: 7.922 kB / 0.9201 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.5934, allocations: 285 kB / 0.9203 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5934, allocations: 0 / 0.9203 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.5935, allocations: 19.98 kB / 0.9203 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5935, allocations: 0 / 0.9203 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.5935, allocations: 8.188 kB / 0.9204 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.5935, allocations: 0 / 0.9204 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5935, allocations: 3.938 kB / 0.9204 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.5939, allocations: 332.5 kB / 0.9207 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.594, allocations: 108.9 kB / 0.9208 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.594, allocations: 0 / 0.9208 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.5941, allocations: 11.98 kB / 0.9208 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.5942, allocations: 4 kB / 0.9208 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.5942, allocations: 15.92 kB / 0.9208 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.5942, allocations: 79.28 kB / 0.9209 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5942, allocations: 0 / 0.9209 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00085/0.5951, allocations: 299.8 kB / 0.9212 GB, free: 4.812 MB / 0.6856 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.001387/0.5965, allocations: 402.9 kB / 0.9216 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.5967, allocations: 126 kB / 0.9217 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5967, allocations: 7.938 kB / 0.9217 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.5969, allocations: 111 kB / 0.9218 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.5972, allocations: 19.98 kB / 0.9218 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.5977, allocations: 342.2 kB / 0.9221 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.598, allocations: 0.7166 MB / 0.9228 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.5981, allocations: 19.42 kB / 0.9228 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of SimCode: time 2.01e-07/0.5981, allocations: 0 / 0.9228 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of Templates: time 0.0106/0.6087, allocations: 6.759 MB / 0.9294 GB, free: 12.26 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)