Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001689, allocations: 198.9 kB / 16.79 MB, free: 6.809 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.332/1.332, allocations: 222.9 MB / 240.5 MB, free: 4.594 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 0.9947/0.9947, allocations: 143 MB / 433.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 0.5141 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1573, allocations: 82.04 MB / 0.5942 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005349/0.1627, allocations: 4.04 MB / 0.5982 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002101/0.1629, allocations: 163.5 kB / 0.5983 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.688e-05/0.1629, allocations: 0 / 0.5983 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1631, allocations: 15.92 kB / 0.5984 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.1632, allocations: 3.984 kB / 0.5984 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.1635, allocations: 77.62 kB / 0.5984 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.613e-05/0.1636, allocations: 67.81 kB / 0.5985 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.1636, allocations: 0 / 0.5985 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.1637, allocations: 15.92 kB / 0.5985 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.1638, allocations: 15.98 kB / 0.5985 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1638, allocations: 0 / 0.5985 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.164, allocations: 75.78 kB / 0.5986 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.164, allocations: 0 / 0.5986 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.1641, allocations: 15.92 kB / 0.5986 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1642, allocations: 31.97 kB / 0.5987 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1642, allocations: 3.938 kB / 0.5987 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.22e-07/0.1642, allocations: 4 kB / 0.5987 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1642, allocations: 7.938 kB / 0.5987 GB, free: 5.551 MB / 0.4981 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.00041/0.1646, allocations: 339.7 kB / 0.599 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1647, allocations: 8.031 kB / 0.599 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1647, allocations: 0.9375 kB / 0.599 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1648, allocations: 164.4 kB / 0.5992 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/0.1649, allocations: 26.27 kB / 0.5992 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1649, allocations: 384 / 0.5992 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1651, allocations: 53.62 kB / 0.5992 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1651, allocations: 0 / 0.5992 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1651, allocations: 0 / 0.5992 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.1651, allocations: 0 / 0.5992 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.1652, allocations: 15.92 kB / 0.5993 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.1656, allocations: 334 kB / 0.5996 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.313e-05/0.1657, allocations: 18.58 kB / 0.5996 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.1657, allocations: 12.86 kB / 0.5996 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.593e-05/0.1658, allocations: 85.16 kB / 0.5997 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1658, allocations: 34.56 kB / 0.5997 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1658, allocations: 3.938 kB / 0.5997 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.166, allocations: 33.64 kB / 0.5997 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.166, allocations: 51.41 kB / 0.5998 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.1661, allocations: 109.8 kB / 0.5999 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1661, allocations: 29.83 kB / 0.5999 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.1662, allocations: 88.06 kB / 0.6 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.685e-06/0.1662, allocations: 7.906 kB / 0.6 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.1662, allocations: 17.7 kB / 0.6 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1663, allocations: 322.8 kB / 0.6003 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.1663, allocations: 0 / 0.6003 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.1664, allocations: 21.7 kB / 0.6004 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.1664, allocations: 29.66 kB / 0.6004 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1664, allocations: 0 / 0.6004 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.034e-05/0.1665, allocations: 41.69 kB / 0.6004 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1665, allocations: 4 kB / 0.6004 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1665, allocations: 4 kB / 0.6004 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1665, allocations: 3.938 kB / 0.6004 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.59e-05/0.1666, allocations: 4 kB / 0.6005 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.1666, allocations: 0 / 0.6005 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.1666, allocations: 12.06 kB / 0.6005 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1667, allocations: 0 / 0.6005 GB, free: 3.438 MB / 0.4981 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.836e-05/0.1667, allocations: 113.8 kB / 0.6006 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.1668, allocations: 7.906 kB / 0.6006 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.1669, allocations: 113 kB / 0.6007 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/0.167, allocations: 184.2 kB / 0.6009 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-05/0.167, allocations: 188.2 kB / 0.601 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-05/0.1671, allocations: 184.6 kB / 0.6012 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.1673, allocations: 409.2 kB / 0.6016 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/0.1674, allocations: 101 kB / 0.6017 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.1674, allocations: 108.9 kB / 0.6018 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.798e-05/0.1675, allocations: 188.2 kB / 0.602 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.1675, allocations: 180.2 kB / 0.6022 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-05/0.1676, allocations: 180.2 kB / 0.6023 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.356e-05/0.1676, allocations: 188.2 kB / 0.6025 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1678, allocations: 303.8 kB / 0.6028 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.1678, allocations: 186 kB / 0.603 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.1679, allocations: 184.2 kB / 0.6032 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.1681, allocations: 112.9 kB / 0.6033 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.1681, allocations: 180.2 kB / 0.6034 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.1682, allocations: 105 kB / 0.6035 GB, free: 72 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.276/0.4441, allocations: 83.84 kB / 0.6036 GB, free: 45.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4442, allocations: 0 / 0.6036 GB, free: 45.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003616/0.4446, allocations: 10.72 kB / 0.6036 GB, free: 45.05 MB / 0.4981 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.0002912/0.4448, allocations: 201.4 kB / 0.6038 GB, free: 44.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.445, allocations: 9.234 kB / 0.6038 GB, free: 44.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.445, allocations: 0 / 0.6038 GB, free: 44.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.445, allocations: 3.391 kB / 0.6038 GB, free: 44.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.4454, allocations: 0.5238 MB / 0.6043 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.4456, allocations: 205.1 kB / 0.6045 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.922e-05/0.4457, allocations: 0.6757 MB / 0.6052 GB, free: 43.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.4458, allocations: 10.94 kB / 0.6052 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.4458, allocations: 0 / 0.6052 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.002078/0.4479, allocations: 0.756 MB / 0.6059 GB, free: 43.46 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)