Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001602/0.001602, allocations: 111.1 kB / 16.41 MB, free: 6.488 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.001843/0.001843, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8604/0.8604, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.44 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.5235/0.6707, allocations: 135.6 MB / 0.8087 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008602/0.6794, allocations: 7.924 MB / 0.8164 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.6795, allocations: 0 / 0.8164 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.6797, allocations: 29.19 kB / 0.8165 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.636e-05/0.6798, allocations: 19.47 kB / 0.8165 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003975/0.6838, allocations: 1.471 MB / 0.8179 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.6839, allocations: 71.23 kB / 0.818 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.684, allocations: 12.62 kB / 0.818 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.6841, allocations: 47.66 kB / 0.818 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.6842, allocations: 32.41 kB / 0.8181 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.6842, allocations: 5.688 kB / 0.8181 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.6884, allocations: 2.698 MB / 0.8207 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.6884, allocations: 18.72 kB / 0.8207 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.6885, allocations: 34.33 kB / 0.8208 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.6903, allocations: 1.374 MB / 0.8221 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6903, allocations: 0 / 0.8221 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6904, allocations: 0 / 0.8221 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6904, allocations: 1.812 kB / 0.8221 GB, free: 2.316 MB / 0.5919 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.0009308/0.6913, allocations: 0.4993 MB / 0.8226 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.6913, allocations: 9.156 kB / 0.8226 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/0.6917, allocations: 25.5 kB / 0.8226 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.6918, allocations: 170.8 kB / 0.8228 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.6919, allocations: 33.3 kB / 0.8228 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.6919, allocations: 8.812 kB / 0.8228 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.6923, allocations: 116.6 kB / 0.8229 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.6923, allocations: 7.984 kB / 0.8229 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.6924, allocations: 6.5 kB / 0.823 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.6924, allocations: 0 / 0.823 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.6926, allocations: 115.9 kB / 0.8231 GB, free: 1.469 MB / 0.5919 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.000466/0.6931, allocations: 383.3 kB / 0.8234 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.6934, allocations: 120.1 kB / 0.8235 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.6935, allocations: 61.17 kB / 0.8236 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.7048, allocations: 4.226 MB / 0.8277 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.7049, allocations: 37.28 kB / 0.8278 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 2.294e-06/0.7049, allocations: 0 / 0.8278 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0006274/0.7056, allocations: 172.6 kB / 0.8279 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.7056, allocations: 55.39 kB / 0.828 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.7057, allocations: 98.58 kB / 0.8281 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.7058, allocations: 28.48 kB / 0.8281 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.7058, allocations: 84.14 kB / 0.8282 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.7059, allocations: 48.05 kB / 0.8282 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.7059, allocations: 33.52 kB / 0.8283 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.7061, allocations: 325.5 kB / 0.8286 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.7061, allocations: 20.44 kB / 0.8286 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.7062, allocations: 27.05 kB / 0.8286 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.7063, allocations: 65.59 kB / 0.8287 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7063, allocations: 3.5 kB / 0.8287 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001859/0.7065, allocations: 117.7 kB / 0.8288 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.7065, allocations: 6.062 kB / 0.8288 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7066, allocations: 4 kB / 0.8288 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.7066, allocations: 2.188 kB / 0.8288 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.7067, allocations: 21.45 kB / 0.8288 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7067, allocations: 0 / 0.8288 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.7068, allocations: 2.688 kB / 0.8288 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.7068, allocations: 10.47 kB / 0.8288 GB, free: 13.26 MB / 0.6075 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.683e-05/0.7069, allocations: 121 kB / 0.829 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.707, allocations: 5.688 kB / 0.829 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.7074, allocations: 363 kB / 0.8293 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.7074, allocations: 10.84 kB / 0.8293 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7074, allocations: 2.438 kB / 0.8293 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7075, allocations: 0 / 0.8293 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.7077, allocations: 286.2 kB / 0.8296 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7077, allocations: 0 / 0.8296 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.667e-05/0.7078, allocations: 23.08 kB / 0.8296 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.7079, allocations: 2.094 kB / 0.8296 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7079, allocations: 4 kB / 0.8296 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7079, allocations: 8.062 kB / 0.8296 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7079, allocations: 0 / 0.8296 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.7082, allocations: 330.2 kB / 0.8299 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.7083, allocations: 108.8 kB / 0.83 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.7083, allocations: 0 / 0.83 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.7085, allocations: 8.812 kB / 0.8301 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.7085, allocations: 6.172 kB / 0.8301 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.7085, allocations: 17.33 kB / 0.8301 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.7086, allocations: 85.7 kB / 0.8302 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7086, allocations: 4 kB / 0.8302 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009245/0.7095, allocations: 294.5 kB / 0.8304 GB, free: 12.12 MB / 0.6075 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.001226/0.7108, allocations: 402.2 kB / 0.8308 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.711, allocations: 122.2 kB / 0.8309 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.711, allocations: 2.219 kB / 0.8309 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.7111, allocations: 109.6 kB / 0.8311 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.7114, allocations: 20.31 kB / 0.8311 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.712, allocations: 343.9 kB / 0.8314 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.7123, allocations: 0.7131 MB / 0.8321 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.7123, allocations: 15.19 kB / 0.8321 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.7123, allocations: 0 / 0.8321 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.01026/0.7226, allocations: 6.78 MB / 0.8387 GB, free: 6.75 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)