Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.657/2.657, allocations: 287.9 MB / 302.9 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 190.8 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009991/0.000999, allocations: 85.67 kB / 0.7434 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004629, allocations: 15 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1523, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002611/0.155, allocations: 2.059 MB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1572, allocations: 1.341 MB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.1574, allocations: 0 / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008427/0.1582, allocations: 299 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000428/0.1587, allocations: 187.5 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.1594, allocations: 193.2 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.1597, allocations: 247.5 kB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1599, allocations: 60.83 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.1601, allocations: 143.4 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1603, allocations: 135.4 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.1603, allocations: 8 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.1605, allocations: 47.97 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1606, allocations: 119.6 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.1607, allocations: 101.4 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.1611, allocations: 375.3 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.443e-06/0.1612, allocations: 0 / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.857e-06/0.1612, allocations: 0 / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.1612, allocations: 0 / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001004/0.1622, allocations: 0.7676 MB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1623, allocations: 11.97 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.18e-05/0.1624, allocations: 63.2 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.1629, allocations: 407.9 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.163, allocations: 8.188 kB / 0.9851 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.163, allocations: 12 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.1633, allocations: 145 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.974e-06/0.1634, allocations: 0 / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1634, allocations: 0 / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1634, allocations: 4 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.1636, allocations: 72.47 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009137/0.1645, allocations: 0.5822 MB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.165, allocations: 126.7 kB / 0.986 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.165, allocations: 0 / 0.986 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.1653, allocations: 111.3 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.826e-06/0.1653, allocations: 4 kB / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005868/0.1659, allocations: 225 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.1659, allocations: 85.05 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/0.1668, allocations: 0.6759 MB / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.1669, allocations: 33.7 kB / 0.9871 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.1671, allocations: 268.3 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.1671, allocations: 35.64 kB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.1671, allocations: 4 kB / 0.9874 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.1672, allocations: 371 kB / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.1675, allocations: 67.97 kB / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.1677, allocations: 131.8 kB / 0.988 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.1679, allocations: 77.06 kB / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.401e-06/0.1679, allocations: 0 / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005469/0.1685, allocations: 267.8 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1685, allocations: 8 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.246e-06/0.1685, allocations: 0 / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1685, allocations: 0 / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.1688, allocations: 39.98 kB / 0.9883 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.79e-06/0.1688, allocations: 4 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.169, allocations: 27.83 kB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.1691, allocations: 11.98 kB / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.1693, allocations: 215.4 kB / 0.9886 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.1694, allocations: 55.34 kB / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1695, allocations: 61.05 kB / 0.9887 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.295e-06/0.1696, allocations: 3.938 kB / 0.9887 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.484e-06/0.1696, allocations: 0 / 0.9887 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.322e-06/0.1696, allocations: 4.031 kB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.17, allocations: 377.3 kB / 0.9891 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.17, allocations: 7.953 kB / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.17, allocations: 4 kB / 0.9891 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.609e-06/0.1701, allocations: 3.984 kB / 0.9891 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1701, allocations: 7.938 kB / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.362e-06/0.1701, allocations: 0 / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.926e-06/0.1701, allocations: 0 / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.1705, allocations: 226.9 kB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1707, allocations: 136.3 kB / 0.9894 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.1707, allocations: 4 kB / 0.9894 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1709, allocations: 15.98 kB / 0.9895 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.171, allocations: 19.97 kB / 0.9895 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.171, allocations: 4 kB / 0.9895 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005862/0.1716, allocations: 467 kB / 0.9899 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.56e-07/0.1717, allocations: 0 / 0.9899 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004133/0.1721, allocations: 63.98 kB / 0.99 GB, free: 16.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/0.1735, allocations: 440.9 kB / 0.9904 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000469/0.174, allocations: 151.7 kB / 0.9906 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.275e-06/0.174, allocations: 4.062 kB / 0.9906 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.1742, allocations: 51.98 kB / 0.9906 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.1747, allocations: 79.89 kB / 0.9907 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1761, allocations: 0.9134 MB / 0.9916 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1765, allocations: 0.873 MB / 0.9924 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002061/0.1767, allocations: 50.92 kB / 0.9925 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1768, allocations: 35.36 kB / 0.9925 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of SimCode: time 1.735e-06/0.1769, allocations: 4 kB / 0.9925 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.0119/0.1888, allocations: 3.959 MB / 0.9964 GB, free: 9.895 MB / 0.6198 GB