Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000919/0.000919, allocations: 178 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006784/0.0006785, allocations: 95.83 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 7.969 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1597, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003274/0.163, allocations: 3.746 MB / 0.9004 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.1632, allocations: 147.5 kB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.1632, allocations: 0 / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.179e-05/0.1633, allocations: 0 / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.1634, allocations: 15.92 kB / 0.9006 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1636, allocations: 70.39 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.1637, allocations: 55.83 kB / 0.9007 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.1637, allocations: 0 / 0.9007 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.1638, allocations: 19.91 kB / 0.9007 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.1638, allocations: 12 kB / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1638, allocations: 0 / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.164, allocations: 75.77 kB / 0.9008 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.1641, allocations: 8 kB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.1641, allocations: 11.94 kB / 0.9008 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.999e-05/0.1642, allocations: 52.11 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1642, allocations: 3.938 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1642, allocations: 0 / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.1642, allocations: 0 / 0.9008 GB, free: 63.98 MB / 0.6042 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.0002677/0.1645, allocations: 323.5 kB / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1645, allocations: 12.02 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.1646, allocations: 4.938 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.805e-05/0.1647, allocations: 168.3 kB / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/0.1647, allocations: 34.27 kB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.1647, allocations: 384 / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.1649, allocations: 41.62 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1649, allocations: 0 / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1649, allocations: 7.984 kB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.1649, allocations: 7.984 kB / 0.9014 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.165, allocations: 11.94 kB / 0.9014 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.1653, allocations: 341.9 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.854e-05/0.1653, allocations: 14.58 kB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.1654, allocations: 8.922 kB / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.956e-05/0.1654, allocations: 85.09 kB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.1654, allocations: 34.56 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1655, allocations: 0 / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001316/0.1656, allocations: 41.73 kB / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.1656, allocations: 51.41 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.1657, allocations: 101.8 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.1657, allocations: 25.7 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.1657, allocations: 88.05 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-06/0.1657, allocations: 0 / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.1658, allocations: 17.7 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.1658, allocations: 314.8 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.1658, allocations: 4 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.1659, allocations: 17.75 kB / 0.9025 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.1659, allocations: 29.64 kB / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1659, allocations: 0 / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.709e-05/0.166, allocations: 41.7 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.166, allocations: 7.984 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.166, allocations: 3.938 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.166, allocations: 12 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-05/0.166, allocations: 4 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1661, allocations: 0 / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.1661, allocations: 3.906 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1661, allocations: 4 kB / 0.9026 GB, free: 61.88 MB / 0.6042 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 4.821e-05/0.1661, allocations: 109.8 kB / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.1662, allocations: 8 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.865e-05/0.1663, allocations: 117 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/0.1663, allocations: 184.2 kB / 0.903 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.1663, allocations: 105 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.1663, allocations: 186 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1664, allocations: 184.3 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1665, allocations: 108.9 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1666, allocations: 192.1 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.309e-05/0.1666, allocations: 251.5 kB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.704e-05/0.1667, allocations: 383 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.963e-05/0.1667, allocations: 108.9 kB / 0.9045 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.1667, allocations: 91.27 kB / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of Backend: time 3.71e-07/0.1667, allocations: 0 / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.1671, allocations: 114.3 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000337/0.1675, allocations: 0.9356 MB / 0.9056 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.002042/0.1695, allocations: 0.5264 MB / 0.9061 GB, free: 58.14 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)