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.272/2.272, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001502/0.001502, allocations: 178.3 kB / 325.6 MB, free: 2.852 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.499/2.499, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001111/0.00111, allocations: 82.41 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004654, allocations: 15.09 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2578/0.4792, allocations: 137.7 MB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/0.4796, allocations: 91.89 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05924/0.5389, allocations: 13.62 MB / 1.047 GB, free: 9.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5389, allocations: 0 / 1.047 GB, free: 9.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.59e-05/0.539, allocations: 12 kB / 1.047 GB, free: 9.719 MB / 0.698 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.001627/0.5407, allocations: 0.7874 MB / 1.048 GB, free: 8.871 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5407, allocations: 8.031 kB / 1.048 GB, free: 8.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.5409, allocations: 63.25 kB / 1.048 GB, free: 8.801 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.542, allocations: 431.9 kB / 1.048 GB, free: 8.336 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.542, allocations: 4.188 kB / 1.048 GB, free: 8.332 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.5421, allocations: 12 kB / 1.048 GB, free: 8.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.5425, allocations: 141 kB / 1.048 GB, free: 8.172 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5425, allocations: 0 / 1.048 GB, free: 8.172 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.5426, allocations: 8 kB / 1.048 GB, free: 8.164 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5426, allocations: 7.938 kB / 1.048 GB, free: 8.156 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.5429, allocations: 77.83 kB / 1.048 GB, free: 8.082 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.5442, allocations: 0.5833 MB / 1.049 GB, free: 7.449 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.5448, allocations: 122.8 kB / 1.049 GB, free: 7.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.5448, allocations: 15.94 kB / 1.049 GB, free: 7.305 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003655/0.5452, allocations: 115.3 kB / 1.049 GB, free: 7.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.5452, allocations: 4 kB / 1.049 GB, free: 7.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0008371/0.546, allocations: 237.1 kB / 1.049 GB, free: 6.938 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.5461, allocations: 77.11 kB / 1.049 GB, free: 6.844 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.5474, allocations: 0.6125 MB / 1.05 GB, free: 6.227 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.5474, allocations: 33.7 kB / 1.05 GB, free: 6.188 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.5478, allocations: 260.3 kB / 1.05 GB, free: 5.926 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.5478, allocations: 47.47 kB / 1.05 GB, free: 5.879 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.5479, allocations: 4 kB / 1.05 GB, free: 5.875 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.5481, allocations: 374.8 kB / 1.051 GB, free: 5.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.5484, allocations: 83.95 kB / 1.051 GB, free: 5.418 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.5487, allocations: 127.5 kB / 1.051 GB, free: 5.277 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.5491, allocations: 87.91 kB / 1.051 GB, free: 5.191 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5491, allocations: 0 / 1.051 GB, free: 5.191 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008077/0.5499, allocations: 294.9 kB / 1.051 GB, free: 4.898 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.5499, allocations: 9.203 kB / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.55, allocations: 0 / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.55, allocations: 4 kB / 1.051 GB, free: 4.887 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.5503, allocations: 35.92 kB / 1.051 GB, free: 4.852 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.5503, allocations: 4 kB / 1.051 GB, free: 4.848 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.5506, allocations: 23.95 kB / 1.051 GB, free: 4.824 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.5507, allocations: 15.98 kB / 1.051 GB, free: 4.809 MB / 0.698 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 () * 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.0003927/0.5511, allocations: 207.5 kB / 1.052 GB, free: 4.598 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.5512, allocations: 59.23 kB / 1.052 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.5519, allocations: 218.6 kB / 1.052 GB, free: 4.316 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5519, allocations: 4 kB / 1.052 GB, free: 4.312 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5519, allocations: 0 / 1.052 GB, free: 4.312 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5519, allocations: 4 kB / 1.052 GB, free: 4.309 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.5525, allocations: 377.4 kB / 1.052 GB, free: 3.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5525, allocations: 4 kB / 1.052 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.932e-05/0.5526, allocations: 15.92 kB / 1.052 GB, free: 3.871 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5526, allocations: 0 / 1.052 GB, free: 3.871 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.5526, allocations: 8 kB / 1.052 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.5527, allocations: 3.953 kB / 1.052 GB, free: 3.859 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5527, allocations: 0 / 1.052 GB, free: 3.859 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.5533, allocations: 231 kB / 1.052 GB, free: 3.617 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.5535, allocations: 144.4 kB / 1.053 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.5536, allocations: 4 kB / 1.053 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.5538, allocations: 15.98 kB / 1.053 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.554, allocations: 27.86 kB / 1.053 GB, free: 3.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.554, allocations: 7.938 kB / 1.053 GB, free: 3.402 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000875/0.5549, allocations: 463 kB / 1.053 GB, free: 2.957 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.4e-07/0.5549, allocations: 0 / 1.053 GB, free: 2.957 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005251/0.5554, allocations: 75.98 kB / 1.053 GB, free: 2.883 MB / 0.698 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) * Number of clocked states: 0 () * 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.001411/0.5568, allocations: 461.5 kB / 1.054 GB, free: 2.582 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006549/0.5575, allocations: 165.9 kB / 1.054 GB, free: 2.422 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5575, allocations: 0 / 1.054 GB, free: 2.422 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.5578, allocations: 63.91 kB / 1.054 GB, free: 2.359 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.5585, allocations: 79.98 kB / 1.054 GB, free: 2.285 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.5607, allocations: 0.9423 MB / 1.055 GB, free: 1.312 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/0.5614, allocations: 0.8691 MB / 1.056 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000266/0.5617, allocations: 50.25 kB / 1.056 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.5618, allocations: 35.42 kB / 1.056 GB, free: 344 kB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/0.5618, allocations: 0 / 1.056 GB, free: 344 kB / 0.698 GB Notification: Performance of Templates: time 0.6103/1.172, allocations: 4.43 MB / 1.06 GB, free: 147.8 MB / 0.698 GB