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.001607/0.001607, allocations: 106.2 kB / 16.41 MB, free: 6.465 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.001564/0.001564, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.1 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.9306/0.9306, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.7 kB / 0.5962 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1676, allocations: 82.03 MB / 0.6763 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.5221/0.6896, allocations: 136 MB / 0.8091 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009035/0.6986, allocations: 7.94 MB / 0.8168 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.6987, allocations: 0 / 0.8168 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.6989, allocations: 33.11 kB / 0.8169 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.6989, allocations: 22.47 kB / 0.8169 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003917/0.7029, allocations: 1.464 MB / 0.8183 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.703, allocations: 75.03 kB / 0.8184 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.703, allocations: 6.578 kB / 0.8184 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.7032, allocations: 54.94 kB / 0.8184 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.7033, allocations: 32.41 kB / 0.8185 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.7033, allocations: 2.219 kB / 0.8185 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.7074, allocations: 2.704 MB / 0.8211 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.7074, allocations: 20.56 kB / 0.8211 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.7075, allocations: 32.92 kB / 0.8212 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.7095, allocations: 1.377 MB / 0.8225 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7095, allocations: 0 / 0.8225 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7095, allocations: 0 / 0.8225 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7096, allocations: 4 kB / 0.8225 GB, free: 2.227 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.001048/0.7106, allocations: 0.4964 MB / 0.823 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.7106, allocations: 14.12 kB / 0.823 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.711, allocations: 21.91 kB / 0.823 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.7112, allocations: 167.1 kB / 0.8232 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.7112, allocations: 34.89 kB / 0.8232 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.7112, allocations: 6.969 kB / 0.8232 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.7116, allocations: 128.6 kB / 0.8234 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.7116, allocations: 0 / 0.8234 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.7116, allocations: 1.938 kB / 0.8234 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.7116, allocations: 3.281 kB / 0.8234 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.7119, allocations: 117.7 kB / 0.8235 GB, free: 1.379 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.0005322/0.7125, allocations: 382.4 kB / 0.8238 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.7127, allocations: 117.6 kB / 0.824 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.061e-05/0.7128, allocations: 41.03 kB / 0.824 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.7238, allocations: 4.232 MB / 0.8281 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.7239, allocations: 34.5 kB / 0.8282 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.7239, allocations: 0 / 0.8282 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005557/0.7244, allocations: 165.8 kB / 0.8283 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.7245, allocations: 55.41 kB / 0.8284 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.7246, allocations: 106.7 kB / 0.8285 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.7246, allocations: 28.52 kB / 0.8285 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.7247, allocations: 84.22 kB / 0.8286 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.7247, allocations: 48.23 kB / 0.8286 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.7247, allocations: 29.55 kB / 0.8287 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7249, allocations: 317 kB / 0.829 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.7249, allocations: 25.08 kB / 0.829 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/0.725, allocations: 31.58 kB / 0.829 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.7251, allocations: 69 kB / 0.8291 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7251, allocations: 1.125 kB / 0.8291 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001836/0.7253, allocations: 110.8 kB / 0.8292 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.7253, allocations: 9.906 kB / 0.8292 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7253, allocations: 0 / 0.8292 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.7253, allocations: 0 / 0.8292 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.7255, allocations: 29.3 kB / 0.8292 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.7255, allocations: 0 / 0.8292 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.7255, allocations: 10.08 kB / 0.8292 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.7255, allocations: 6.844 kB / 0.8292 GB, free: 13.17 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 0.0001035/0.7256, allocations: 113.3 kB / 0.8293 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.7257, allocations: 4.594 kB / 0.8293 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.7262, allocations: 380.2 kB / 0.8297 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.7262, allocations: 13.33 kB / 0.8297 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7262, allocations: 0 / 0.8297 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.7262, allocations: 2.906 kB / 0.8297 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.7265, allocations: 280.4 kB / 0.83 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.7265, allocations: 0 / 0.83 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.7266, allocations: 21.08 kB / 0.83 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.7266, allocations: 2.812 kB / 0.83 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.7266, allocations: 0 / 0.83 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7266, allocations: 1.562 kB / 0.83 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7266, allocations: 7.984 kB / 0.83 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.727, allocations: 339 kB / 0.8303 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.422e-05/0.7271, allocations: 108.9 kB / 0.8305 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.7271, allocations: 3.984 kB / 0.8305 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.7272, allocations: 8.5 kB / 0.8305 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.7272, allocations: 7.047 kB / 0.8305 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.7273, allocations: 8.75 kB / 0.8305 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.7273, allocations: 94.14 kB / 0.8306 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7273, allocations: 0 / 0.8306 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009095/0.7282, allocations: 300.3 kB / 0.8309 GB, free: 12.03 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.001245/0.7295, allocations: 386.6 kB / 0.8312 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.7297, allocations: 124.4 kB / 0.8313 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7297, allocations: 0 / 0.8313 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.7298, allocations: 89.62 kB / 0.8314 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.7301, allocations: 24.72 kB / 0.8314 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.7307, allocations: 337.2 kB / 0.8318 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.731, allocations: 0.7155 MB / 0.8325 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.7311, allocations: 17.53 kB / 0.8325 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.7311, allocations: 0 / 0.8325 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.01058/0.7416, allocations: 6.794 MB / 0.8391 GB, free: 6.652 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)