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.001119/0.001119, allocations: 110.8 kB / 16.41 MB, free: 5.977 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.00124/0.00124, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.08 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.8382/0.8382, allocations: 143.1 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.69 kB / 0.5962 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1551, allocations: 82.04 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5119/0.6671, allocations: 135.4 MB / 0.8085 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001693/0.6673, allocations: 58.19 kB / 0.8086 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.6673, allocations: 1.156 kB / 0.8086 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.6674, allocations: 0 / 0.8086 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.506e-05/0.6676, allocations: 18.7 kB / 0.8086 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008158/0.6684, allocations: 244.3 kB / 0.8088 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.6685, allocations: 32.22 kB / 0.8089 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.6685, allocations: 6.281 kB / 0.8089 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.274e-05/0.6686, allocations: 14.45 kB / 0.8089 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.6686, allocations: 19.67 kB / 0.8089 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.6686, allocations: 1.188 kB / 0.8089 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.6691, allocations: 246.7 kB / 0.8091 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.6691, allocations: 4.594 kB / 0.8092 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.6692, allocations: 14.22 kB / 0.8092 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.6695, allocations: 186.5 kB / 0.8093 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6695, allocations: 3.562 kB / 0.8093 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6695, allocations: 1.25 kB / 0.8093 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.6695, allocations: 4 kB / 0.8094 GB, free: 10.47 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.0004778/0.67, allocations: 360 kB / 0.8097 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.6701, allocations: 8.781 kB / 0.8097 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.6701, allocations: 7.531 kB / 0.8097 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.6702, allocations: 166.8 kB / 0.8099 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.6703, allocations: 28.14 kB / 0.8099 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.6703, allocations: 8.938 kB / 0.8099 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.6704, allocations: 44.44 kB / 0.8099 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.6704, allocations: 4 kB / 0.81 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.6705, allocations: 0 / 0.81 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.6705, allocations: 1.406 kB / 0.81 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.157e-05/0.6705, allocations: 16.73 kB / 0.81 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.6712, allocations: 0.5986 MB / 0.8106 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.673e-05/0.6713, allocations: 20.05 kB / 0.8106 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.6713, allocations: 15.12 kB / 0.8106 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.6715, allocations: 335.4 kB / 0.8109 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.6716, allocations: 36.38 kB / 0.8109 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.6716, allocations: 0 / 0.8109 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.6717, allocations: 34.83 kB / 0.811 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6718, allocations: 51.41 kB / 0.811 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.6719, allocations: 106.4 kB / 0.8111 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.6719, allocations: 29.83 kB / 0.8112 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.6719, allocations: 88.64 kB / 0.8112 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/0.672, allocations: 6.781 kB / 0.8112 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.672, allocations: 17 kB / 0.8113 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6721, allocations: 322.4 kB / 0.8116 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.6722, allocations: 2.625 kB / 0.8116 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.6722, allocations: 16.34 kB / 0.8116 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.01e-05/0.6722, allocations: 22.34 kB / 0.8116 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6723, allocations: 1.438 kB / 0.8116 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.689e-05/0.6723, allocations: 50.86 kB / 0.8117 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.6724, allocations: 5.531 kB / 0.8117 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6724, allocations: 3.062 kB / 0.8117 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.6724, allocations: 2.281 kB / 0.8117 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/0.6724, allocations: 2.75 kB / 0.8117 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.6724, allocations: 5.875 kB / 0.8117 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.6725, allocations: 8.969 kB / 0.8117 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.6725, allocations: 0 / 0.8117 GB, free: 7.988 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 7.177e-05/0.6726, allocations: 115.8 kB / 0.8118 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.6726, allocations: 3.938 kB / 0.8118 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.6727, allocations: 116 kB / 0.8119 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.182e-05/0.6728, allocations: 186.5 kB / 0.8121 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-05/0.6729, allocations: 184.2 kB / 0.8123 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.629e-05/0.6729, allocations: 178.4 kB / 0.8124 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.6731, allocations: 415.5 kB / 0.8128 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/0.6732, allocations: 101 kB / 0.8129 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.6732, allocations: 103.8 kB / 0.813 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.296e-05/0.6733, allocations: 186.6 kB / 0.8132 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.6734, allocations: 178.4 kB / 0.8134 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.789e-05/0.6734, allocations: 183.8 kB / 0.8135 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.599e-05/0.6735, allocations: 178 kB / 0.8137 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.6736, allocations: 318.7 kB / 0.814 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.6737, allocations: 184.7 kB / 0.8142 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.6738, allocations: 182.4 kB / 0.8144 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.6739, allocations: 103.1 kB / 0.8145 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.674, allocations: 185.4 kB / 0.8146 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.6741, allocations: 108.2 kB / 0.8148 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.995e-05/0.6741, allocations: 86.14 kB / 0.8148 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6741, allocations: 0 / 0.8148 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003226/0.6745, allocations: 59 kB / 0.8149 GB, free: 4.605 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.0003356/0.6748, allocations: 254.3 kB / 0.8151 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.02e-05/0.6749, allocations: 17.34 kB / 0.8151 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6749, allocations: 0 / 0.8151 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.6749, allocations: 0 / 0.8151 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.6753, allocations: 459 kB / 0.8156 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.6756, allocations: 205.2 kB / 0.8158 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.6758, allocations: 0.6737 MB / 0.8164 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.6758, allocations: 10.06 kB / 0.8165 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.6758, allocations: 0 / 0.8165 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of Templates: time 0.002726/0.6786, allocations: 1.306 MB / 0.8177 GB, free: 2.855 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)