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.001311/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001271/0.001271, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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 1.023/1.023, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.5135 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1798, allocations: 82.04 MB / 0.5936 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.5137/0.6935, allocations: 133.5 MB / 0.724 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.7052, allocations: 8.485 MB / 0.7323 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.7055, allocations: 0 / 0.7323 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.7058, allocations: 23.94 kB / 0.7323 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.293e-05/0.7059, allocations: 22.17 kB / 0.7323 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005708/0.7116, allocations: 1.153 MB / 0.7334 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.7118, allocations: 75.53 kB / 0.7335 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.7119, allocations: 3.938 kB / 0.7335 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.712, allocations: 44.25 kB / 0.7335 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.7122, allocations: 29.3 kB / 0.7336 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.7122, allocations: 7.375 kB / 0.7336 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005825/0.718, allocations: 2.662 MB / 0.7362 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.7181, allocations: 15.56 kB / 0.7362 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.7182, allocations: 29.27 kB / 0.7362 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.7206, allocations: 1.378 MB / 0.7376 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7206, allocations: 2.906 kB / 0.7376 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7206, allocations: 0 / 0.7376 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.7207, allocations: 0 / 0.7376 GB, free: 8.75 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.001006/0.7217, allocations: 0.4989 MB / 0.7381 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.7217, allocations: 13.38 kB / 0.7381 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.7221, allocations: 22.42 kB / 0.7381 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.7222, allocations: 174.7 kB / 0.7383 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.242e-05/0.7223, allocations: 32.88 kB / 0.7383 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.7223, allocations: 13.12 kB / 0.7383 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.7227, allocations: 113.2 kB / 0.7384 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.7227, allocations: 0 / 0.7384 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.7227, allocations: 8.922 kB / 0.7384 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.7227, allocations: 1.812 kB / 0.7384 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.723, allocations: 123.5 kB / 0.7385 GB, free: 7.898 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.0004826/0.7235, allocations: 375.1 kB / 0.7389 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.7238, allocations: 125.8 kB / 0.739 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.7239, allocations: 49.69 kB / 0.7391 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/0.7349, allocations: 4.207 MB / 0.7432 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.735, allocations: 34.56 kB / 0.7432 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.735, allocations: 0 / 0.7432 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005199/0.7355, allocations: 161.6 kB / 0.7434 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.7356, allocations: 57.28 kB / 0.7434 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.7356, allocations: 105.8 kB / 0.7435 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.7357, allocations: 25.7 kB / 0.7435 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.7357, allocations: 88.05 kB / 0.7436 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.7358, allocations: 47.52 kB / 0.7437 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.7358, allocations: 29.7 kB / 0.7437 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7359, allocations: 314.8 kB / 0.744 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.736, allocations: 27.98 kB / 0.744 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.923e-05/0.7361, allocations: 26.36 kB / 0.744 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.7362, allocations: 81.22 kB / 0.7441 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7362, allocations: 0 / 0.7441 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000194/0.7364, allocations: 110.8 kB / 0.7442 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7364, allocations: 4 kB / 0.7442 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7364, allocations: 0 / 0.7442 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.7365, allocations: 4 kB / 0.7442 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.7366, allocations: 24.48 kB / 0.7443 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.7366, allocations: 0 / 0.7443 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.7367, allocations: 0 / 0.7443 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.7367, allocations: 12.88 kB / 0.7443 GB, free: 3.027 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.632e-05/0.7368, allocations: 117.8 kB / 0.7444 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.7368, allocations: 15.83 kB / 0.7444 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.7373, allocations: 366.9 kB / 0.7447 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.7373, allocations: 3.984 kB / 0.7448 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7373, allocations: 4 kB / 0.7448 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7373, allocations: 0 / 0.7448 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.7376, allocations: 293 kB / 0.745 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.7376, allocations: 0 / 0.745 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.7377, allocations: 25.05 kB / 0.7451 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7377, allocations: 0 / 0.7451 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.7378, allocations: 3.984 kB / 0.7451 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7378, allocations: 4 kB / 0.7451 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7378, allocations: 0 / 0.7451 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.7381, allocations: 335.7 kB / 0.7454 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.7382, allocations: 100.9 kB / 0.7455 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.7382, allocations: 4 kB / 0.7455 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.7384, allocations: 8 kB / 0.7455 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.7384, allocations: 12.8 kB / 0.7455 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.7384, allocations: 7.984 kB / 0.7455 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.7385, allocations: 87.39 kB / 0.7456 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7385, allocations: 0 / 0.7456 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001299/0.7398, allocations: 295.9 kB / 0.7459 GB, free: 1.293 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.001298/0.7411, allocations: 407.8 kB / 0.7463 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.7413, allocations: 128.7 kB / 0.7464 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7413, allocations: 0 / 0.7464 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.7415, allocations: 107.9 kB / 0.7465 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.7418, allocations: 15.98 kB / 0.7465 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.7423, allocations: 378.3 kB / 0.7469 GB, free: 260 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.7426, allocations: 0.7169 MB / 0.7476 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.7427, allocations: 32.11 kB / 0.7476 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.7428, allocations: 15.44 kB / 0.7476 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.7428, allocations: 0 / 0.7476 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of Templates: time 0.01436/0.7571, allocations: 9.77 MB / 0.7572 GB, free: 5.715 MB / 0.5762 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)