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.001336/0.001336, allocations: 105.5 kB / 16.41 MB, free: 6.504 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.001307/0.001307, allocations: 188.2 kB / 17.34 MB, free: 5.734 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.15 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.9183/0.9183, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 69.48 kB / 0.5962 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.164, 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.5235/0.6875, allocations: 135.8 MB / 0.8089 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.6877, allocations: 48.89 kB / 0.809 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.6877, allocations: 0 / 0.809 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.6878, allocations: 8.406 kB / 0.809 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.6879, allocations: 12.8 kB / 0.809 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.6888, allocations: 250.8 kB / 0.8092 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.35e-05/0.6889, allocations: 38.17 kB / 0.8093 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.689, allocations: 2.094 kB / 0.8093 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/0.689, allocations: 18.92 kB / 0.8093 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.6891, allocations: 17.59 kB / 0.8093 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.6891, allocations: 1.312 kB / 0.8093 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.6895, allocations: 237.2 kB / 0.8095 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.6896, allocations: 13.89 kB / 0.8095 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.6896, allocations: 13.94 kB / 0.8096 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.6899, allocations: 184.2 kB / 0.8097 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.69, allocations: 1.188 kB / 0.8097 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.69, allocations: 4 kB / 0.8097 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.69, allocations: 0.75 kB / 0.8097 GB, free: 10.26 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.0005303/0.6905, allocations: 370 kB / 0.8101 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6905, allocations: 9.969 kB / 0.8101 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.6906, allocations: 0.9375 kB / 0.8101 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.6907, allocations: 168 kB / 0.8103 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/0.6908, allocations: 28.89 kB / 0.8103 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.6908, allocations: 6.75 kB / 0.8103 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.6909, allocations: 45.53 kB / 0.8103 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6909, allocations: 2.625 kB / 0.8103 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.6909, allocations: 1.844 kB / 0.8103 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.691, allocations: 0 / 0.8103 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.691, allocations: 13.08 kB / 0.8104 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.6919, allocations: 0.5974 MB / 0.8109 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.78e-05/0.6919, allocations: 30.78 kB / 0.811 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.6919, allocations: 4.859 kB / 0.811 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.6922, allocations: 333.7 kB / 0.8113 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.6922, allocations: 33 kB / 0.8113 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.6922, allocations: 0 / 0.8113 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001562/0.6924, allocations: 44.69 kB / 0.8114 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.6924, allocations: 51.41 kB / 0.8114 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.6925, allocations: 110.9 kB / 0.8115 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.6925, allocations: 25.7 kB / 0.8116 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.6926, allocations: 86.06 kB / 0.8116 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.6926, allocations: 0 / 0.8116 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.6926, allocations: 21.11 kB / 0.8117 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6928, allocations: 314.8 kB / 0.812 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.6928, allocations: 8.016 kB / 0.812 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.6928, allocations: 18.66 kB / 0.812 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/0.6928, allocations: 24.31 kB / 0.812 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6928, allocations: 3.938 kB / 0.812 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.319e-05/0.6929, allocations: 43.98 kB / 0.812 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.6929, allocations: 9.062 kB / 0.8121 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.6929, allocations: 2.531 kB / 0.8121 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.6929, allocations: 96 / 0.8121 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.266e-05/0.693, allocations: 13.2 kB / 0.8121 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.693, allocations: 0 / 0.8121 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.693, allocations: 14.45 kB / 0.8121 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.693, allocations: 0 / 0.8121 GB, free: 7.773 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 9.706e-05/0.6931, allocations: 117.9 kB / 0.8122 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.6931, allocations: 3.25 kB / 0.8122 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.6933, allocations: 113.5 kB / 0.8123 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/0.6934, allocations: 188.2 kB / 0.8125 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001624/0.6935, allocations: 184.6 kB / 0.8127 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.708e-05/0.6936, allocations: 176.3 kB / 0.8128 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.6939, allocations: 411.5 kB / 0.8132 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.455e-05/0.694, allocations: 103 kB / 0.8133 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.694, allocations: 104.9 kB / 0.8134 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.678e-05/0.6941, allocations: 182.9 kB / 0.8136 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.6942, allocations: 178.7 kB / 0.8138 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.2e-05/0.6943, allocations: 183 kB / 0.8139 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.719e-05/0.6944, allocations: 179.8 kB / 0.8141 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.6946, allocations: 314.5 kB / 0.8144 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.6947, allocations: 184 kB / 0.8146 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.6948, allocations: 182.6 kB / 0.8148 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.695, allocations: 106.3 kB / 0.8149 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.695, allocations: 180.2 kB / 0.815 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-05/0.6951, allocations: 114.6 kB / 0.8151 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.39e-05/0.6952, allocations: 88.42 kB / 0.8152 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6952, allocations: 0 / 0.8152 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003705/0.6955, allocations: 63.7 kB / 0.8153 GB, free: 4.395 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.0003612/0.6959, allocations: 254.8 kB / 0.8155 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.683e-05/0.696, allocations: 12.34 kB / 0.8155 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.696, allocations: 0 / 0.8155 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.696, allocations: 2.594 kB / 0.8155 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.6964, allocations: 463.1 kB / 0.816 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.6967, allocations: 203.5 kB / 0.8162 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6971, allocations: 0.6772 MB / 0.8168 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.6971, allocations: 12.67 kB / 0.8169 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.6971, allocations: 0 / 0.8169 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.003191/0.7003, allocations: 1.294 MB / 0.8181 GB, free: 2.598 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)