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.005724/0.005724, allocations: 103 kB / 15.73 MB, free: 6.055 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.001176/0.001176, allocations: 191.4 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.864/0.864, allocations: 143 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.58 kB / 0.5955 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1643, allocations: 82.04 MB / 0.6756 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4654/0.6297, allocations: 135.4 MB / 0.8079 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.6299, allocations: 49.41 kB / 0.8079 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.6299, allocations: 0 / 0.8079 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.6301, allocations: 10.48 kB / 0.8079 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.6302, allocations: 12.14 kB / 0.8079 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007897/0.631, allocations: 251.3 kB / 0.8082 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.6311, allocations: 29.55 kB / 0.8082 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.6311, allocations: 3.328 kB / 0.8082 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.6311, allocations: 26.91 kB / 0.8082 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.565e-05/0.6312, allocations: 8.906 kB / 0.8082 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.6312, allocations: 0 / 0.8082 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004435/0.6317, allocations: 250.2 kB / 0.8085 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.6317, allocations: 8.219 kB / 0.8085 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.6318, allocations: 12.08 kB / 0.8085 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.6321, allocations: 184.4 kB / 0.8087 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.6321, allocations: 1.531 kB / 0.8087 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.136e-06/0.6321, allocations: 0 / 0.8087 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.6321, allocations: 3.938 kB / 0.8087 GB, free: 10.36 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.0003759/0.6325, allocations: 359.1 kB / 0.809 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.6325, allocations: 9.562 kB / 0.809 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.6326, allocations: 4.375 kB / 0.809 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.6327, allocations: 172.7 kB / 0.8092 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.6327, allocations: 30.45 kB / 0.8092 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.6328, allocations: 10.38 kB / 0.8092 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.6329, allocations: 47.28 kB / 0.8093 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.6329, allocations: 0 / 0.8093 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.6329, allocations: 0 / 0.8093 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.6329, allocations: 4 kB / 0.8093 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.633, allocations: 17.8 kB / 0.8093 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.6336, allocations: 0.5977 MB / 0.8099 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.6337, allocations: 17.17 kB / 0.8099 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.6337, allocations: 4.859 kB / 0.8099 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.6339, allocations: 342.8 kB / 0.8102 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.6339, allocations: 33.31 kB / 0.8103 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.6339, allocations: 0 / 0.8103 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001342/0.6341, allocations: 40.56 kB / 0.8103 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.6341, allocations: 51.41 kB / 0.8104 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/0.6342, allocations: 107.3 kB / 0.8105 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.6342, allocations: 25.7 kB / 0.8105 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.6343, allocations: 88.17 kB / 0.8106 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/0.6343, allocations: 8.359 kB / 0.8106 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.6343, allocations: 19.34 kB / 0.8106 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.6344, allocations: 319.3 kB / 0.8109 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.6344, allocations: 6.844 kB / 0.8109 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.6345, allocations: 18.03 kB / 0.8109 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.6345, allocations: 25 kB / 0.8109 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.6345, allocations: 0 / 0.8109 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.895e-05/0.6346, allocations: 46.2 kB / 0.811 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.6346, allocations: 5.281 kB / 0.811 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.6346, allocations: 0 / 0.811 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.6346, allocations: 2.469 kB / 0.811 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.115e-05/0.6347, allocations: 5.094 kB / 0.811 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.6347, allocations: 7.875 kB / 0.811 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.6347, allocations: 5.344 kB / 0.811 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.6347, allocations: 6.812 kB / 0.811 GB, free: 7.871 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 6.588e-05/0.6348, allocations: 111.9 kB / 0.8111 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.6348, allocations: 2.25 kB / 0.8111 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.27e-05/0.6349, allocations: 117.9 kB / 0.8112 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.044e-05/0.635, allocations: 186.5 kB / 0.8114 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.617e-05/0.635, allocations: 183 kB / 0.8116 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-05/0.6351, allocations: 176.3 kB / 0.8118 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.6353, allocations: 411.3 kB / 0.8122 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-05/0.6353, allocations: 103.9 kB / 0.8122 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.6354, allocations: 104.9 kB / 0.8123 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.706e-05/0.6354, allocations: 179.7 kB / 0.8125 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.6355, allocations: 189.4 kB / 0.8127 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.383e-05/0.6356, allocations: 178.8 kB / 0.8129 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.584e-05/0.6356, allocations: 178.8 kB / 0.813 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.6357, allocations: 312.7 kB / 0.8133 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.6358, allocations: 192.3 kB / 0.8135 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.6359, allocations: 178 kB / 0.8137 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.636, allocations: 106.1 kB / 0.8138 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.6361, allocations: 185.8 kB / 0.814 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.6361, allocations: 101 kB / 0.8141 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.6362, allocations: 90.64 kB / 0.8142 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6362, allocations: 4 kB / 0.8142 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002931/0.6365, allocations: 57.27 kB / 0.8142 GB, free: 4.496 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.0002748/0.6368, allocations: 257.8 kB / 0.8145 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.73e-05/0.6368, allocations: 12.83 kB / 0.8145 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6369, allocations: 0 / 0.8145 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.6369, allocations: 1.156 kB / 0.8145 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.6372, allocations: 462.4 kB / 0.8149 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.6375, allocations: 184.8 kB / 0.8151 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.6377, allocations: 0.6749 MB / 0.8157 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.6377, allocations: 8.734 kB / 0.8158 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.6378, allocations: 9.75 kB / 0.8158 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.6378, allocations: 0 / 0.8158 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of Templates: time 0.003203/0.641, allocations: 1.341 MB / 0.8171 GB, free: 2.703 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)