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.001373/0.001373, allocations: 105.1 kB / 16.27 MB, free: 5.93 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.001668/0.001668, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7882/0.7882, allocations: 126.4 MB / 417.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001604, allocations: 67.89 kB / 0.4953 GB, free: 3.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4136, allocations: 78.78 MB / 0.5723 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1578/0.5714, allocations: 135.5 MB / 0.7046 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009431/0.5809, allocations: 7.917 MB / 0.7123 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.5811, allocations: 0 / 0.7123 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.5813, allocations: 23.83 kB / 0.7124 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.673e-05/0.5814, allocations: 19.84 kB / 0.7124 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.5854, allocations: 1.468 MB / 0.7138 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.5856, allocations: 75.66 kB / 0.7139 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.5856, allocations: 7.938 kB / 0.7139 GB, free: 4.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.5858, allocations: 51.83 kB / 0.7139 GB, free: 4.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.64e-05/0.5859, allocations: 23.92 kB / 0.714 GB, free: 4.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.5859, allocations: 7.984 kB / 0.714 GB, free: 4.609 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00451/0.5904, allocations: 2.641 MB / 0.7166 GB, free: 1.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.5905, allocations: 19.91 kB / 0.7166 GB, free: 1.945 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.5905, allocations: 27.86 kB / 0.7166 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.5924, allocations: 1.372 MB / 0.7179 GB, free: 0.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5924, allocations: 4 kB / 0.7179 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5924, allocations: 4 kB / 0.7179 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.5924, allocations: 0 / 0.7179 GB, free: 0.5352 MB / 0.545 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.001009/0.5935, allocations: 499 kB / 0.7184 GB, free: 0 / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.5935, allocations: 12.08 kB / 0.7184 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.5939, allocations: 20.86 kB / 0.7185 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.5941, allocations: 176.2 kB / 0.7186 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/0.5942, allocations: 34.27 kB / 0.7187 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.5942, allocations: 7.938 kB / 0.7187 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.5946, allocations: 127.9 kB / 0.7188 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5946, allocations: 0 / 0.7188 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.5946, allocations: 8 kB / 0.7188 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5946, allocations: 0 / 0.7188 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.595, allocations: 119.8 kB / 0.7189 GB, free: 15.46 MB / 0.5606 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.0005537/0.5955, allocations: 376 kB / 0.7193 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.5958, allocations: 138.5 kB / 0.7194 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.5959, allocations: 52.83 kB / 0.7194 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01142/0.6073, allocations: 4.195 MB / 0.7235 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.6074, allocations: 42.56 kB / 0.7236 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.073e-06/0.6074, allocations: 0 / 0.7236 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005632/0.608, allocations: 157 kB / 0.7237 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.608, allocations: 55.34 kB / 0.7238 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.6081, allocations: 101.8 kB / 0.7239 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.6081, allocations: 37.64 kB / 0.7239 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.6082, allocations: 84.05 kB / 0.724 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.6082, allocations: 39.53 kB / 0.724 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.6083, allocations: 25.72 kB / 0.7241 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6084, allocations: 330.8 kB / 0.7244 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.6085, allocations: 23.98 kB / 0.7244 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.791e-05/0.6085, allocations: 27.98 kB / 0.7244 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.6086, allocations: 68.84 kB / 0.7245 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6086, allocations: 0 / 0.7245 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001796/0.6088, allocations: 105.6 kB / 0.7246 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6089, allocations: 6.031 kB / 0.7246 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6089, allocations: 4 kB / 0.7246 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6089, allocations: 0 / 0.7246 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.6091, allocations: 27.92 kB / 0.7246 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.6091, allocations: 0 / 0.7246 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.6092, allocations: 11.94 kB / 0.7246 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.6092, allocations: 0 / 0.7246 GB, free: 9.125 MB / 0.5606 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.201e-05/0.6093, allocations: 117.8 kB / 0.7248 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.6093, allocations: 7.906 kB / 0.7248 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.6098, allocations: 374.1 kB / 0.7251 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.6098, allocations: 11.98 kB / 0.7251 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6098, allocations: 0 / 0.7251 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6098, allocations: 4.125 kB / 0.7251 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.6101, allocations: 281.3 kB / 0.7254 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6101, allocations: 0 / 0.7254 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.6102, allocations: 19.98 kB / 0.7254 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6102, allocations: 7.922 kB / 0.7254 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6102, allocations: 12 kB / 0.7254 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6102, allocations: 0 / 0.7254 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6102, allocations: 0 / 0.7254 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.6106, allocations: 334.8 kB / 0.7258 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.6107, allocations: 104.9 kB / 0.7259 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.6107, allocations: 4 kB / 0.7259 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.6108, allocations: 7.984 kB / 0.7259 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.6109, allocations: 7.984 kB / 0.7259 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.6109, allocations: 15.94 kB / 0.7259 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.6109, allocations: 83.27 kB / 0.726 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6109, allocations: 0 / 0.726 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008891/0.6118, allocations: 295.9 kB / 0.7263 GB, free: 7.375 MB / 0.5606 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.001174/0.613, allocations: 394.9 kB / 0.7266 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.6132, allocations: 138.6 kB / 0.7268 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6133, allocations: 0 / 0.7268 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.6134, allocations: 115.9 kB / 0.7269 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.6137, allocations: 19.98 kB / 0.7269 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.6142, allocations: 308.4 kB / 0.7272 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.6145, allocations: 0.7177 MB / 0.7279 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.6146, allocations: 38.3 kB / 0.7279 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.6146, allocations: 19.44 kB / 0.7279 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6146, allocations: 0 / 0.7279 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.01397/0.6286, allocations: 9.815 MB / 0.7375 GB, free: 11.78 MB / 0.5762 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)