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.0013/0.0013, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001289/0.00129, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.356/1.356, 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.8713/0.8713, allocations: 143 MB / 434.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.56 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1538, allocations: 82.04 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5493/0.7032, allocations: 135.4 MB / 0.8085 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001738/0.7034, allocations: 54.42 kB / 0.8086 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.7034, allocations: 1.594 kB / 0.8086 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.7035, allocations: 7.859 kB / 0.8086 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.7036, allocations: 9.125 kB / 0.8086 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008355/0.7045, allocations: 245 kB / 0.8088 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.7046, allocations: 37.66 kB / 0.8089 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.7046, allocations: 1.125 kB / 0.8089 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.7047, allocations: 12.36 kB / 0.8089 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.7048, allocations: 16.27 kB / 0.8089 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.7048, allocations: 5.094 kB / 0.8089 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.7053, allocations: 250 kB / 0.8091 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.7054, allocations: 7.234 kB / 0.8092 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.7054, allocations: 11.72 kB / 0.8092 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.7058, allocations: 191.3 kB / 0.8093 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7058, allocations: 0 / 0.8093 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7058, allocations: 1.25 kB / 0.8093 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.7058, allocations: 0 / 0.8093 GB, free: 10.37 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004/0.7062, allocations: 362.2 kB / 0.8097 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7063, allocations: 13.94 kB / 0.8097 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.7063, allocations: 2.094 kB / 0.8097 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.7064, allocations: 165.5 kB / 0.8099 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.7065, allocations: 27.67 kB / 0.8099 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.7065, allocations: 5.188 kB / 0.8099 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.7067, allocations: 43.22 kB / 0.8099 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7067, allocations: 5.109 kB / 0.8099 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.7067, allocations: 0 / 0.8099 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.7067, allocations: 1.125 kB / 0.8099 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.617e-05/0.7068, allocations: 22.72 kB / 0.81 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/0.7075, allocations: 0.5944 MB / 0.8105 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/0.7076, allocations: 16.77 kB / 0.8106 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.7076, allocations: 8.594 kB / 0.8106 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.7078, allocations: 335.2 kB / 0.8109 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.7078, allocations: 36.89 kB / 0.8109 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.7079, allocations: 0 / 0.8109 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001456/0.708, allocations: 38.12 kB / 0.811 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.708, allocations: 54.97 kB / 0.811 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.7081, allocations: 99.67 kB / 0.8111 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.7081, allocations: 25.7 kB / 0.8111 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.7082, allocations: 91.38 kB / 0.8112 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.824e-06/0.7082, allocations: 12.05 kB / 0.8112 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.7083, allocations: 21.44 kB / 0.8113 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7084, allocations: 318.1 kB / 0.8116 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.7084, allocations: 1.5 kB / 0.8116 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.7084, allocations: 16.73 kB / 0.8116 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.7085, allocations: 27.06 kB / 0.8116 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7085, allocations: 0 / 0.8116 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.353e-05/0.7086, allocations: 46.69 kB / 0.8116 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7086, allocations: 11.66 kB / 0.8117 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7086, allocations: 3.938 kB / 0.8117 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.7086, allocations: 1.344 kB / 0.8117 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.7087, allocations: 8.641 kB / 0.8117 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7087, allocations: 0 / 0.8117 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.7087, allocations: 3.938 kB / 0.8117 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.7087, allocations: 5.781 kB / 0.8117 GB, free: 7.887 MB / 0.5919 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.218e-05/0.7088, allocations: 117.3 kB / 0.8118 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.7089, allocations: 0 / 0.8118 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.709, allocations: 121.8 kB / 0.8119 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.886e-05/0.709, allocations: 184.2 kB / 0.8121 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.734e-05/0.7091, allocations: 178.8 kB / 0.8123 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.231e-05/0.7092, allocations: 184.2 kB / 0.8124 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.7094, allocations: 407.6 kB / 0.8128 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/0.7094, allocations: 107.5 kB / 0.8129 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.7095, allocations: 103.5 kB / 0.813 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.588e-05/0.7095, allocations: 176.3 kB / 0.8132 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/0.7096, allocations: 187.5 kB / 0.8134 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-05/0.7096, allocations: 182.4 kB / 0.8135 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.015e-05/0.7097, allocations: 184.2 kB / 0.8137 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.7098, allocations: 310.3 kB / 0.814 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.7099, allocations: 188.7 kB / 0.8142 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.71, allocations: 182.7 kB / 0.8144 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.7102, allocations: 108.9 kB / 0.8145 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.7102, allocations: 182.6 kB / 0.8146 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.7103, allocations: 104.9 kB / 0.8147 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.7103, allocations: 82.47 kB / 0.8148 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7103, allocations: 0 / 0.8148 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003697/0.7107, allocations: 59.55 kB / 0.8149 GB, free: 4.508 MB / 0.5919 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.0003387/0.7111, allocations: 260 kB / 0.8151 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.952e-05/0.7112, allocations: 17.61 kB / 0.8151 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7112, allocations: 0 / 0.8151 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.7112, allocations: 0 / 0.8151 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.7116, allocations: 461.7 kB / 0.8156 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.7119, allocations: 202.9 kB / 0.8158 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.7121, allocations: 0.6769 MB / 0.8164 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.7121, allocations: 9.969 kB / 0.8164 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.7121, allocations: 0 / 0.8164 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of Templates: time 0.002834/0.715, allocations: 1.293 MB / 0.8177 GB, free: 2.734 MB / 0.5919 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)