Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 252 MB / 268 MB, free: 10.86 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.00131/0.00131, allocations: 178.8 kB / 327.6 MB, free: 2.098 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.579/1.579, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.000747/0.0007471, allocations: 84.69 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002997, allocations: 10.88 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1587, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002133/0.1609, allocations: 1.907 MB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1623, allocations: 1.113 MB / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1625, allocations: 7.938 kB / 0.9044 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.1631, allocations: 175.3 kB / 0.9046 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1633, allocations: 115.6 kB / 0.9047 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.1636, allocations: 87.84 kB / 0.9048 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.1639, allocations: 219.1 kB / 0.905 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.164, allocations: 40.38 kB / 0.905 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.1641, allocations: 75.58 kB / 0.9051 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1642, allocations: 91.5 kB / 0.9052 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.1643, allocations: 0 / 0.9052 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.1644, allocations: 27.98 kB / 0.9052 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.1645, allocations: 83.67 kB / 0.9053 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.607e-05/0.1646, allocations: 152.6 kB / 0.9054 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1648, allocations: 259.6 kB / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1648, allocations: 0 / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1648, allocations: 0 / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.1648, allocations: 0 / 0.9057 GB, free: 59.11 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006792/0.1655, allocations: 0.6106 MB / 0.9063 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1655, allocations: 12.03 kB / 0.9063 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.1656, allocations: 48.38 kB / 0.9063 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.1659, allocations: 344.1 kB / 0.9067 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.166, allocations: 4.375 kB / 0.9067 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.166, allocations: 12.12 kB / 0.9067 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1661, allocations: 73.59 kB / 0.9067 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1662, allocations: 4 kB / 0.9068 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1662, allocations: 4 kB / 0.9068 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1662, allocations: 0 / 0.9068 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.076e-05/0.1663, allocations: 39.97 kB / 0.9068 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.1669, allocations: 452.5 kB / 0.9072 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.167, allocations: 66.67 kB / 0.9073 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1671, allocations: 28.84 kB / 0.9073 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1671, allocations: 8.094 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.1673, allocations: 71.33 kB / 0.9074 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.1673, allocations: 4 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0002746/0.1676, allocations: 141.3 kB / 0.9075 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.1676, allocations: 59.34 kB / 0.9076 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.168, allocations: 0.5292 MB / 0.9081 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1681, allocations: 29.7 kB / 0.9081 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1682, allocations: 220 kB / 0.9083 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.1682, allocations: 19.73 kB / 0.9084 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.1682, allocations: 4 kB / 0.9084 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.1683, allocations: 354.8 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.1684, allocations: 47.97 kB / 0.9087 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.1685, allocations: 81.05 kB / 0.9088 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.1686, allocations: 86.84 kB / 0.9089 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1686, allocations: 4 kB / 0.9089 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002399/0.1688, allocations: 190.6 kB / 0.9091 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1689, allocations: 8 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1689, allocations: 4.062 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1689, allocations: 0 / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.169, allocations: 32.05 kB / 0.9091 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.169, allocations: 3.938 kB / 0.9091 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.1691, allocations: 15.92 kB / 0.9092 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.1692, allocations: 8 kB / 0.9092 GB, free: 55.31 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: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001274/0.1693, allocations: 181.7 kB / 0.9093 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.1693, allocations: 39.44 kB / 0.9094 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.1694, allocations: 47.8 kB / 0.9094 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1694, allocations: 4 kB / 0.9094 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1694, allocations: 7.938 kB / 0.9094 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1694, allocations: 0 / 0.9094 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1696, allocations: 289.5 kB / 0.9097 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1696, allocations: 0 / 0.9097 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.1696, allocations: 4 kB / 0.9097 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1697, allocations: 0 / 0.9097 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1697, allocations: 8 kB / 0.9097 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1697, allocations: 0 / 0.9097 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1697, allocations: 3.938 kB / 0.9097 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.1699, allocations: 152.5 kB / 0.9099 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.1699, allocations: 120.6 kB / 0.91 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.17, allocations: 0 / 0.91 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.1701, allocations: 11.98 kB / 0.91 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.1701, allocations: 15.92 kB / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1701, allocations: 0 / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002753/0.1704, allocations: 358.8 kB / 0.9104 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1704, allocations: 4 kB / 0.9104 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002262/0.1706, allocations: 39.91 kB / 0.9104 GB, free: 53.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008247/0.1715, allocations: 421.9 kB / 0.9108 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1717, allocations: 95.89 kB / 0.9109 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1717, allocations: 0 / 0.9109 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.1718, allocations: 27.98 kB / 0.9109 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1721, allocations: 55.88 kB / 0.911 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.1729, allocations: 0.7861 MB / 0.9117 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.1731, allocations: 0.8102 MB / 0.9125 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.1732, allocations: 27.36 kB / 0.9126 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.1732, allocations: 0 / 0.9126 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.005212/0.1784, allocations: 4.017 MB / 0.9165 GB, free: 47.83 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)