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.358/2.358, allocations: 253.2 MB / 260.6 MB, free: 7.477 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.001396/0.001396, allocations: 176.9 kB / 319.9 MB, free: 3.059 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.049/2.049, allocations: 205.6 MB / 0.5709 GB, free: 15.26 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.001187/0.001187, allocations: 100.3 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.412e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2233, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9677/1.191, allocations: 137.9 MB / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/1.192, allocations: 84.2 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05715/1.249, allocations: 13.45 MB / 1.037 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.753e-06/1.249, allocations: 0 / 1.037 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.587e-05/1.249, allocations: 11.98 kB / 1.037 GB, free: 4.129 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.001241/1.25, allocations: 0.6823 MB / 1.037 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.25, allocations: 8.031 kB / 1.037 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/1.25, allocations: 59.25 kB / 1.037 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/1.251, allocations: 417.7 kB / 1.038 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/1.251, allocations: 4 kB / 1.038 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/1.251, allocations: 8 kB / 1.038 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002274/1.252, allocations: 64.67 kB / 1.038 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/1.252, allocations: 129.6 kB / 1.038 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.252, allocations: 0 / 1.038 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/1.252, allocations: 3.562 kB / 1.038 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.252, allocations: 11.92 kB / 1.038 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/1.253, allocations: 0.5551 MB / 1.038 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/1.254, allocations: 114.5 kB / 1.039 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/1.254, allocations: 42.25 kB / 1.039 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/1.254, allocations: 7.938 kB / 1.039 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/1.254, allocations: 111.6 kB / 1.039 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 3.166e-06/1.254, allocations: 3.938 kB / 1.039 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.000537/1.255, allocations: 175.1 kB / 1.039 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/1.255, allocations: 81.11 kB / 1.039 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.256, allocations: 0.571 MB / 1.04 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/1.256, allocations: 25.7 kB / 1.04 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/1.256, allocations: 263.7 kB / 1.04 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/1.256, allocations: 42.75 kB / 1.04 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/1.256, allocations: 0 / 1.04 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002181/1.257, allocations: 367.7 kB / 1.04 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/1.257, allocations: 72.73 kB / 1.04 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.257, allocations: 117.9 kB / 1.04 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/1.257, allocations: 91.7 kB / 1.04 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.257, allocations: 0 / 1.04 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006333/1.258, allocations: 265.1 kB / 1.041 GB, free: 384 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.258, allocations: 4 kB / 1.041 GB, free: 380 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.258, allocations: 11.89 kB / 1.041 GB, free: 368 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.258, allocations: 0 / 1.041 GB, free: 368 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/1.258, allocations: 35.23 kB / 1.041 GB, free: 336 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/1.258, allocations: 0 / 1.041 GB, free: 336 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/1.259, allocations: 27.89 kB / 1.041 GB, free: 308 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/1.259, allocations: 15.23 kB / 1.041 GB, free: 296 kB / 0.6511 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.0001415/1.259, allocations: 115.2 kB / 1.041 GB, free: 176 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.259, allocations: 51.34 kB / 1.041 GB, free: 124 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005743/1.26, allocations: 194.8 kB / 1.041 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/1.26, allocations: 7.953 kB / 1.041 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.26, allocations: 3.984 kB / 1.041 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.26, allocations: 4 kB / 1.041 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/1.26, allocations: 349.3 kB / 1.042 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.26, allocations: 0 / 1.042 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/1.26, allocations: 11.98 kB / 1.042 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.26, allocations: 0 / 1.042 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/1.26, allocations: 4 kB / 1.042 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.26, allocations: 7.938 kB / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.26, allocations: 0 / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/1.261, allocations: 226.4 kB / 1.042 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/1.261, allocations: 132.1 kB / 1.042 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/1.261, allocations: 7.234 kB / 1.042 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/1.261, allocations: 19.91 kB / 1.042 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/1.261, allocations: 19.47 kB / 1.042 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/1.261, allocations: 4 kB / 1.042 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007264/1.262, allocations: 432.7 kB / 1.042 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.51e-07/1.262, allocations: 0 / 1.042 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005418/1.263, allocations: 71.25 kB / 1.042 GB, free: 14.83 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.001216/1.264, allocations: 398.2 kB / 1.043 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004923/1.265, allocations: 141.3 kB / 1.043 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.265, allocations: 4 kB / 1.043 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/1.265, allocations: 51.94 kB / 1.043 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/1.265, allocations: 83.48 kB / 1.043 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.267, allocations: 0.5832 MB / 1.044 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/1.268, allocations: 0.8787 MB / 1.044 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002899/1.268, allocations: 46.03 kB / 1.045 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.268, allocations: 27.42 kB / 1.045 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of SimCode: time 1.232e-06/1.268, allocations: 3.938 kB / 1.045 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of Templates: time 0.01521/1.283, allocations: 3.891 MB / 1.048 GB, free: 8.977 MB / 0.6667 GB