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.001094/0.001094, allocations: 115.4 kB / 16.37 MB, free: 5.539 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.00113/0.00113, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.14 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.8793/0.8793, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3267, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.139/0.4658, allocations: 135.6 MB / 0.7281 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008537/0.4743, allocations: 7.927 MB / 0.7358 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.4744, allocations: 3.938 kB / 0.7358 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.4747, allocations: 31.81 kB / 0.7359 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.4748, allocations: 15.86 kB / 0.7359 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003872/0.4786, allocations: 1.458 MB / 0.7373 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.4788, allocations: 75.64 kB / 0.7374 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.4789, allocations: 4 kB / 0.7374 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.479, allocations: 47.84 kB / 0.7374 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.17e-05/0.4791, allocations: 31.89 kB / 0.7375 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.4791, allocations: 4 kB / 0.7375 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004111/0.4832, allocations: 2.708 MB / 0.7401 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.4833, allocations: 11.92 kB / 0.7401 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.4833, allocations: 35.84 kB / 0.7402 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.4851, allocations: 1.386 MB / 0.7415 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4851, allocations: 0 / 0.7415 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4851, allocations: 0 / 0.7415 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.4851, allocations: 0 / 0.7415 GB, free: 10.37 MB / 0.5762 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.0008604/0.486, allocations: 495.2 kB / 0.742 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.486, allocations: 16.02 kB / 0.742 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.4864, allocations: 24.83 kB / 0.742 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4865, allocations: 176.2 kB / 0.7422 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.4866, allocations: 38.2 kB / 0.7422 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.4866, allocations: 11.92 kB / 0.7422 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.487, allocations: 114.5 kB / 0.7423 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.487, allocations: 4 kB / 0.7423 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.487, allocations: 4 kB / 0.7423 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.487, allocations: 0 / 0.7423 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.4873, allocations: 115.9 kB / 0.7425 GB, free: 9.293 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.000485/0.4878, allocations: 380 kB / 0.7428 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.4881, allocations: 134.5 kB / 0.743 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.4882, allocations: 52.84 kB / 0.743 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.4991, allocations: 4.218 MB / 0.7471 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.4992, allocations: 42.55 kB / 0.7472 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.4992, allocations: 4 kB / 0.7472 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005169/0.4997, allocations: 162.3 kB / 0.7473 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.4998, allocations: 55.41 kB / 0.7474 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.4998, allocations: 93.86 kB / 0.7475 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.4999, allocations: 29.7 kB / 0.7475 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.4999, allocations: 84.12 kB / 0.7476 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.4999, allocations: 55.44 kB / 0.7476 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.5, allocations: 21.72 kB / 0.7476 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5001, allocations: 322.8 kB / 0.748 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.5002, allocations: 27.98 kB / 0.748 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.48e-05/0.5002, allocations: 25.11 kB / 0.748 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.5003, allocations: 65.48 kB / 0.7481 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5003, allocations: 0 / 0.7481 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001775/0.5005, allocations: 115.8 kB / 0.7482 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5005, allocations: 4 kB / 0.7482 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5006, allocations: 7.938 kB / 0.7482 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5006, allocations: 3.984 kB / 0.7482 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.5007, allocations: 20 kB / 0.7482 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5007, allocations: 0 / 0.7482 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.5008, allocations: 11.92 kB / 0.7482 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.5008, allocations: 4 kB / 0.7482 GB, free: 2.93 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 7.803e-05/0.5009, allocations: 121.7 kB / 0.7483 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.501, allocations: 7.906 kB / 0.7483 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.5014, allocations: 367.9 kB / 0.7487 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.5014, allocations: 4 kB / 0.7487 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5014, allocations: 3.984 kB / 0.7487 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5014, allocations: 3.938 kB / 0.7487 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.5017, allocations: 285 kB / 0.749 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5017, allocations: 0 / 0.749 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5018, allocations: 31.92 kB / 0.749 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5018, allocations: 0 / 0.749 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.5019, allocations: 4 kB / 0.749 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5019, allocations: 0 / 0.749 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5019, allocations: 4 kB / 0.749 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.5022, allocations: 339.1 kB / 0.7493 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.5023, allocations: 92.94 kB / 0.7494 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.5023, allocations: 8 kB / 0.7494 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.5025, allocations: 3.984 kB / 0.7494 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.5025, allocations: 11.98 kB / 0.7495 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.5025, allocations: 7.938 kB / 0.7495 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.5025, allocations: 79.28 kB / 0.7495 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5026, allocations: 4 kB / 0.7495 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000783/0.5033, allocations: 303.9 kB / 0.7498 GB, free: 1.18 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.001154/0.5045, allocations: 403.8 kB / 0.7502 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.5047, allocations: 120 kB / 0.7503 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5047, allocations: 0 / 0.7503 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.5049, allocations: 121.3 kB / 0.7504 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.5052, allocations: 9.719 kB / 0.7505 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.5057, allocations: 316.5 kB / 0.7508 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2822/0.7879, allocations: 0.7099 MB / 0.7515 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.7881, allocations: 28.84 kB / 0.7515 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.7882, allocations: 18.84 kB / 0.7515 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.7882, allocations: 4.531 kB / 0.7515 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.02608/0.8143, allocations: 9.807 MB / 0.7611 GB, free: 152.4 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)