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.001152/0.001152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001445/0.001446, allocations: 191.1 kB / 16.25 MB, free: 6.582 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 287 kB / 290.4 MB, free: 2.051 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9555/0.9555, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001622, allocations: 86.39 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1725, allocations: 86.98 MB / 0.6796 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.4195/0.592, allocations: 133.6 MB / 0.8101 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006628/0.5987, allocations: 7.979 MB / 0.8179 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.5988, allocations: 0 / 0.8179 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.5989, allocations: 20.25 kB / 0.8179 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.583e-05/0.599, allocations: 18.48 kB / 0.818 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.6027, allocations: 1.288 MB / 0.8192 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.6028, allocations: 74.25 kB / 0.8193 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.6029, allocations: 6 kB / 0.8193 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.603, allocations: 45.64 kB / 0.8193 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.6031, allocations: 31.03 kB / 0.8194 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.6031, allocations: 7.438 kB / 0.8194 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.6077, allocations: 2.655 MB / 0.822 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.6077, allocations: 14.34 kB / 0.822 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.6078, allocations: 29.83 kB / 0.822 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.6097, allocations: 1.378 MB / 0.8234 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6097, allocations: 0 / 0.8234 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6098, allocations: 1.094 kB / 0.8234 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.6098, allocations: 1.094 kB / 0.8234 GB, free: 1.082 MB / 0.5606 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.0009812/0.6107, allocations: 0.4968 MB / 0.8238 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.6108, allocations: 10.45 kB / 0.8238 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.6111, allocations: 33.45 kB / 0.8239 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6113, allocations: 170.5 kB / 0.824 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/0.6114, allocations: 33.28 kB / 0.8241 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.6114, allocations: 11.75 kB / 0.8241 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.6117, allocations: 117.4 kB / 0.8242 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6117, allocations: 0 / 0.8242 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.6118, allocations: 8.625 kB / 0.8242 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6118, allocations: 1.281 kB / 0.8242 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.612, allocations: 111.2 kB / 0.8243 GB, free: 16.38 MB / 0.5762 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.000455/0.6125, allocations: 386.5 kB / 0.8247 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.6127, allocations: 123.2 kB / 0.8248 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.855e-05/0.6128, allocations: 55.88 kB / 0.8249 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.6237, allocations: 4.208 MB / 0.829 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.6238, allocations: 31.94 kB / 0.829 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 2.325e-06/0.6238, allocations: 0 / 0.829 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005716/0.6244, allocations: 170.8 kB / 0.8292 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.6245, allocations: 56.59 kB / 0.8292 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.6245, allocations: 102.7 kB / 0.8293 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.6246, allocations: 25.7 kB / 0.8293 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.6246, allocations: 82.39 kB / 0.8294 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.6247, allocations: 48.62 kB / 0.8295 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.6247, allocations: 29.14 kB / 0.8295 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6248, allocations: 320.7 kB / 0.8298 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.6249, allocations: 24.23 kB / 0.8298 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.65e-05/0.625, allocations: 32.86 kB / 0.8298 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/0.6251, allocations: 69.53 kB / 0.8299 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6251, allocations: 0 / 0.8299 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001856/0.6253, allocations: 111.1 kB / 0.83 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.6253, allocations: 5.156 kB / 0.83 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6253, allocations: 0 / 0.83 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.6253, allocations: 0 / 0.83 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.6255, allocations: 24.2 kB / 0.83 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6255, allocations: 2.312 kB / 0.83 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.6256, allocations: 8.297 kB / 0.8301 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.6256, allocations: 12.25 kB / 0.8301 GB, free: 13.11 MB / 0.5762 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 9.554e-05/0.6257, allocations: 115.9 kB / 0.8302 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.6257, allocations: 9.562 kB / 0.8302 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004239/0.6262, allocations: 373.1 kB / 0.8305 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.6262, allocations: 14.42 kB / 0.8306 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6262, allocations: 0 / 0.8306 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6262, allocations: 1 kB / 0.8306 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.6265, allocations: 284.5 kB / 0.8308 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6265, allocations: 0 / 0.8308 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.6266, allocations: 25.33 kB / 0.8309 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6266, allocations: 1.094 kB / 0.8309 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.6267, allocations: 1.531 kB / 0.8309 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6267, allocations: 1.156 kB / 0.8309 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6267, allocations: 3.984 kB / 0.8309 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.627, allocations: 337.2 kB / 0.8312 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.6271, allocations: 103.3 kB / 0.8313 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.6271, allocations: 1.219 kB / 0.8313 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.6273, allocations: 12.64 kB / 0.8313 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.6273, allocations: 8.109 kB / 0.8313 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.6273, allocations: 7.719 kB / 0.8313 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.6274, allocations: 87.14 kB / 0.8314 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6274, allocations: 4 kB / 0.8314 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001173/0.6286, allocations: 305.8 kB / 0.8317 GB, free: 12.23 MB / 0.5762 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.001889/0.6305, allocations: 399.9 kB / 0.8321 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.6307, allocations: 131.3 kB / 0.8322 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6307, allocations: 1.375 kB / 0.8322 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.6309, allocations: 111.2 kB / 0.8323 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.6312, allocations: 15.31 kB / 0.8323 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.6317, allocations: 379.3 kB / 0.8327 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.632, allocations: 0.7196 MB / 0.8334 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.6321, allocations: 32.36 kB / 0.8334 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.6322, allocations: 14.12 kB / 0.8334 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/0.6322, allocations: 0 / 0.8334 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.01486/0.647, allocations: 9.827 MB / 0.843 GB, free: 5.949 MB / 0.5762 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)