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.509/2.509, allocations: 252.6 MB / 265.2 MB, free: 5.684 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 175.8 kB / 324.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 0.5754 GB, free: 10.31 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.001104/0.001104, allocations: 102.9 kB / 0.6797 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.849e-05, allocations: 4 kB / 0.7911 GB, free: 96.54 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2128, allocations: 106.2 MB / 0.8949 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.88/1.093, allocations: 137.7 MB / 1.029 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/1.093, allocations: 90.02 kB / 1.029 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06036/1.154, allocations: 13.59 MB / 1.043 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.883e-06/1.154, allocations: 0 / 1.043 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.359e-05/1.154, allocations: 12 kB / 1.043 GB, free: 1.137 MB / 0.6511 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.001239/1.155, allocations: 0.6828 MB / 1.043 GB, free: 432 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.155, allocations: 8.031 kB / 1.043 GB, free: 424 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/1.155, allocations: 63.23 kB / 1.043 GB, free: 360 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/1.156, allocations: 418.1 kB / 1.044 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/1.156, allocations: 11.98 kB / 1.044 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/1.156, allocations: 8 kB / 1.044 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/1.157, allocations: 140.3 kB / 1.044 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.157, allocations: 8 kB / 1.044 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/1.157, allocations: 7.188 kB / 1.044 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.157, allocations: 0 / 1.044 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/1.157, allocations: 65.8 kB / 1.044 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/1.158, allocations: 0.5981 MB / 1.045 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/1.159, allocations: 126.4 kB / 1.045 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/1.159, allocations: 47.84 kB / 1.045 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/1.159, allocations: 4 kB / 1.045 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002833/1.159, allocations: 106.9 kB / 1.045 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 2.414e-06/1.159, allocations: 0 / 1.045 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13): time 0.0005381/1.16, allocations: 182.5 kB / 1.045 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/1.16, allocations: 89.03 kB / 1.045 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/1.161, allocations: 0.5971 MB / 1.046 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/1.161, allocations: 28.95 kB / 1.046 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/1.161, allocations: 269.2 kB / 1.046 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/1.161, allocations: 35.44 kB / 1.046 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/1.162, allocations: 9 kB / 1.046 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002252/1.162, allocations: 364.9 kB / 1.046 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/1.162, allocations: 80.53 kB / 1.046 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/1.162, allocations: 135.7 kB / 1.047 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/1.163, allocations: 87.84 kB / 1.047 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.163, allocations: 0 / 1.047 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000681/1.163, allocations: 285.3 kB / 1.047 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.163, allocations: 5.562 kB / 1.047 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.163, allocations: 0 / 1.047 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/1.163, allocations: 7.984 kB / 1.047 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/1.164, allocations: 31.92 kB / 1.047 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.164, allocations: 4 kB / 1.047 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/1.164, allocations: 31.27 kB / 1.047 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/1.164, allocations: 11.38 kB / 1.047 GB, free: 13.16 MB / 0.6667 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.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete 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.000141/1.164, allocations: 121.7 kB / 1.047 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.164, allocations: 55.3 kB / 1.047 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/1.165, allocations: 207 kB / 1.047 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.165, allocations: 3.938 kB / 1.047 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.165, allocations: 4.047 kB / 1.047 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/1.165, allocations: 7.984 kB / 1.047 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/1.166, allocations: 386.2 kB / 1.048 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.166, allocations: 3.984 kB / 1.048 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-05/1.166, allocations: 11.94 kB / 1.048 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.166, allocations: 0 / 1.048 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.166, allocations: 11.27 kB / 1.048 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.166, allocations: 0 / 1.048 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.166, allocations: 4 kB / 1.048 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/1.166, allocations: 222.3 kB / 1.048 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/1.166, allocations: 148 kB / 1.048 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-05/1.167, allocations: 3.875 kB / 1.048 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/1.167, allocations: 19.94 kB / 1.048 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/1.167, allocations: 19.72 kB / 1.048 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/1.167, allocations: 7.984 kB / 1.048 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008212/1.168, allocations: 455.5 kB / 1.049 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.71e-07/1.168, allocations: 0 / 1.049 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005092/1.168, allocations: 82.48 kB / 1.049 GB, free: 11.61 MB / 0.6667 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.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001278/1.17, allocations: 412.9 kB / 1.049 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000516/1.17, allocations: 162.3 kB / 1.049 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.17, allocations: 0 / 1.049 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/1.17, allocations: 62.66 kB / 1.049 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/1.171, allocations: 75.38 kB / 1.049 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/1.173, allocations: 0.6095 MB / 1.05 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/1.173, allocations: 0.8666 MB / 1.051 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002586/1.174, allocations: 54 kB / 1.051 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/1.174, allocations: 26.94 kB / 1.051 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of SimCode: time 1.022e-06/1.174, allocations: 0 / 1.051 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of Templates: time 0.01675/1.19, allocations: 4.523 MB / 1.055 GB, free: 5.117 MB / 0.6667 GB