Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 107.4 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.001187/0.001187, allocations: 192.2 kB / 16.14 MB, free: 6.691 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.017/1.017, allocations: 143 MB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 59.91 kB / 0.5135 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1873, allocations: 82.05 MB / 0.5936 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5418/0.7292, allocations: 133.3 MB / 0.7238 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001579/0.7294, allocations: 58.2 kB / 0.7239 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.7294, allocations: 0 / 0.7239 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.7296, allocations: 2.031 kB / 0.7239 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.475e-05/0.7296, allocations: 16.77 kB / 0.7239 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008297/0.7305, allocations: 226 kB / 0.7241 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.7306, allocations: 58.41 kB / 0.7241 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.7306, allocations: 5.906 kB / 0.7242 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.7307, allocations: 15 kB / 0.7242 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.7308, allocations: 13.03 kB / 0.7242 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.7308, allocations: 1 kB / 0.7242 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005578/0.7313, allocations: 252.3 kB / 0.7244 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.7314, allocations: 4.375 kB / 0.7244 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.7315, allocations: 15.19 kB / 0.7244 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.7319, allocations: 197.9 kB / 0.7246 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7319, allocations: 1.125 kB / 0.7246 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.91e-07/0.7319, allocations: 1.094 kB / 0.7246 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.732, allocations: 0 / 0.7246 GB, free: 0.7227 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004697/0.7324, allocations: 353 kB / 0.725 GB, free: 364 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7325, allocations: 10.8 kB / 0.725 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.7325, allocations: 3.625 kB / 0.725 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.7327, allocations: 167.6 kB / 0.7251 GB, free: 160 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.7328, allocations: 27.92 kB / 0.7252 GB, free: 128 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.7328, allocations: 5.094 kB / 0.7252 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.7329, allocations: 48.14 kB / 0.7252 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.733, allocations: 0 / 0.7252 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.733, allocations: 0 / 0.7252 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.733, allocations: 1.219 kB / 0.7252 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.488e-05/0.7331, allocations: 17.14 kB / 0.7252 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008998/0.734, allocations: 0.6062 MB / 0.7258 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.734, allocations: 16.38 kB / 0.7258 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.7341, allocations: 10.08 kB / 0.7259 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.7343, allocations: 335 kB / 0.7262 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.7343, allocations: 43.97 kB / 0.7262 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.7343, allocations: 0 / 0.7262 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001628/0.7345, allocations: 34.09 kB / 0.7262 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.7346, allocations: 52.56 kB / 0.7263 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.7347, allocations: 102.1 kB / 0.7264 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.7347, allocations: 27.45 kB / 0.7264 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.7347, allocations: 86.02 kB / 0.7265 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.7348, allocations: 9.656 kB / 0.7265 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.7348, allocations: 22.19 kB / 0.7265 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7349, allocations: 317.4 kB / 0.7268 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.735, allocations: 6.891 kB / 0.7268 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.735, allocations: 19.48 kB / 0.7269 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.735, allocations: 16.78 kB / 0.7269 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.735, allocations: 1.281 kB / 0.7269 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.082e-05/0.7351, allocations: 53.34 kB / 0.7269 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.7352, allocations: 5.094 kB / 0.7269 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.7352, allocations: 1.312 kB / 0.7269 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.7352, allocations: 1.969 kB / 0.7269 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/0.7352, allocations: 5.016 kB / 0.7269 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.7352, allocations: 2.047 kB / 0.7269 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.7353, allocations: 0.9375 kB / 0.7269 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.7353, allocations: 2.719 kB / 0.7269 GB, free: 14.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.077e-05/0.7354, allocations: 120.8 kB / 0.7271 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.7354, allocations: 2.25 kB / 0.7271 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.7355, allocations: 122.2 kB / 0.7272 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.704e-05/0.7356, allocations: 178.2 kB / 0.7274 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.548e-05/0.7357, allocations: 186.1 kB / 0.7275 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-05/0.7357, allocations: 178.3 kB / 0.7277 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.736, allocations: 408.1 kB / 0.7281 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-05/0.736, allocations: 110.5 kB / 0.7282 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.7361, allocations: 103.9 kB / 0.7283 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.139e-05/0.7361, allocations: 182.2 kB / 0.7285 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/0.7362, allocations: 177.1 kB / 0.7286 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-05/0.7363, allocations: 187 kB / 0.7288 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.9e-05/0.7364, allocations: 182.3 kB / 0.729 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.7365, allocations: 309.9 kB / 0.7293 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.339e-05/0.7366, allocations: 184.8 kB / 0.7295 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.7367, allocations: 182.7 kB / 0.7296 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.7368, allocations: 113.6 kB / 0.7297 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.7369, allocations: 178 kB / 0.7299 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.7369, allocations: 107 kB / 0.73 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.737, allocations: 83.11 kB / 0.7301 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.737, allocations: 1.031 kB / 0.7301 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003594/0.7374, allocations: 60.91 kB / 0.7302 GB, free: 10.81 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003946/0.7378, allocations: 259.9 kB / 0.7304 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.515e-05/0.7379, allocations: 7.672 kB / 0.7304 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.7379, allocations: 4.125 kB / 0.7304 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.7379, allocations: 4.906 kB / 0.7304 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.7383, allocations: 0.5231 MB / 0.7309 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.7386, allocations: 177.1 kB / 0.7311 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.7389, allocations: 0.6792 MB / 0.7318 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.507e-05/0.739, allocations: 5.844 kB / 0.7318 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.739, allocations: 9.203 kB / 0.7318 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.739, allocations: 0 / 0.7318 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of Templates: time 0.004124/0.7431, allocations: 1.326 MB / 0.7331 GB, free: 9.016 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)