Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.394/2.394, allocations: 251.1 MB / 266.1 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002428/0.002428, allocations: 182.5 kB / 325.6 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.532/2.532, allocations: 205.4 MB / 0.5766 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 92.73 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006241/0.0006243, allocations: 11.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3264, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00456/0.331, allocations: 2.077 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004063/0.3351, allocations: 1.203 MB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.3356, allocations: 0 / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.3372, allocations: 295.1 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009561/0.3382, allocations: 183.5 kB / 0.9025 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3394, allocations: 184.1 kB / 0.9027 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008034/0.3402, allocations: 243.5 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.3405, allocations: 56.91 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.3409, allocations: 143.4 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.3413, allocations: 135.4 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.3414, allocations: 4 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.3417, allocations: 39.86 kB / 0.9033 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.3419, allocations: 119.6 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.3421, allocations: 97.39 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007179/0.3428, allocations: 355.5 kB / 0.9039 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3429, allocations: 0 / 0.9039 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3429, allocations: 0 / 0.9039 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3429, allocations: 4 kB / 0.9039 GB, free: 60.33 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001933/0.3448, allocations: 0.7559 MB / 0.9046 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.3449, allocations: 12.03 kB / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.3451, allocations: 59.2 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009897/0.3461, allocations: 400 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.3462, allocations: 12.19 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.3463, allocations: 12 kB / 0.9051 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.3469, allocations: 141 kB / 0.9052 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3469, allocations: 4 kB / 0.9052 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.347, allocations: 0 / 0.9052 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.347, allocations: 7.953 kB / 0.9052 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.3474, allocations: 68.52 kB / 0.9053 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.349, allocations: 0.5783 MB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/0.3497, allocations: 126.7 kB / 0.906 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.3498, allocations: 4 kB / 0.906 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/0.3503, allocations: 117.5 kB / 0.9061 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 4.819e-06/0.3503, allocations: 0 / 0.9061 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001171/0.3515, allocations: 229 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.3516, allocations: 81.05 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.3533, allocations: 0.672 MB / 0.907 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-05/0.3534, allocations: 29.7 kB / 0.9071 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.3538, allocations: 260.4 kB / 0.9073 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/0.3539, allocations: 43.55 kB / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.3539, allocations: 0 / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3541, allocations: 378.7 kB / 0.9077 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.3545, allocations: 67.97 kB / 0.9078 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.3549, allocations: 117.8 kB / 0.9079 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.3553, allocations: 75.17 kB / 0.908 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.3553, allocations: 4 kB / 0.908 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001064/0.3564, allocations: 265 kB / 0.9082 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.3565, allocations: 6.031 kB / 0.9082 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3565, allocations: 7.969 kB / 0.9082 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.3566, allocations: 4 kB / 0.9082 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.357, allocations: 35.86 kB / 0.9083 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.357, allocations: 12.05 kB / 0.9083 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.3575, allocations: 23.89 kB / 0.9083 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.3576, allocations: 8 kB / 0.9083 GB, free: 55.52 MB / 0.6042 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.0004825/0.3581, allocations: 215.4 kB / 0.9085 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.3583, allocations: 55.34 kB / 0.9086 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.3585, allocations: 57.05 kB / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.3585, allocations: 4 kB / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3586, allocations: 0 / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3586, allocations: 224 / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.3592, allocations: 373.3 kB / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.3592, allocations: 7.938 kB / 0.909 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.3593, allocations: 4 kB / 0.909 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.3594, allocations: 0 / 0.909 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.3594, allocations: 15.92 kB / 0.909 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3594, allocations: 0 / 0.909 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3595, allocations: 0 / 0.909 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008324/0.3603, allocations: 221.9 kB / 0.9092 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.3605, allocations: 132.4 kB / 0.9094 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.3607, allocations: 4 kB / 0.9094 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.361, allocations: 15.98 kB / 0.9094 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3612, allocations: 19.97 kB / 0.9094 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.3612, allocations: 8 kB / 0.9094 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001119/0.3624, allocations: 463 kB / 0.9098 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.62e-07/0.3624, allocations: 0 / 0.9098 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007509/0.3632, allocations: 59.84 kB / 0.9099 GB, free: 53.8 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: 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.001895/0.3651, allocations: 427.8 kB / 0.9103 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008658/0.366, allocations: 151.9 kB / 0.9104 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3661, allocations: 3.938 kB / 0.9105 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.3664, allocations: 56.11 kB / 0.9105 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3675, allocations: 92.05 kB / 0.9106 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.3701, allocations: 0.9107 MB / 0.9115 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.3707, allocations: 0.8652 MB / 0.9123 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000373/0.3711, allocations: 46.25 kB / 0.9124 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.3714, allocations: 23.44 kB / 0.9124 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of SimCode: time 1.353e-06/0.3714, allocations: 0 / 0.9124 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.01969/0.3911, allocations: 3.816 MB / 0.9161 GB, free: 47.55 MB / 0.6042 GB