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 4.839/4.839, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00249/0.00249, allocations: 357.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.328/4.328, allocations: 410.7 MB / 1.113 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001812/0.001812, allocations: 195.7 kB / 1.226 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005378, allocations: 12 kB / 1.349 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7768/0.7774, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.9833, allocations: 144.1 MB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.9837, allocations: 107.9 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0531/1.037, allocations: 13.81 MB / 1.616 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/1.037, allocations: 0 / 1.616 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.166e-05/1.037, allocations: 14 kB / 1.616 GB, free: 126.3 MB / 0.8542 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.001418/1.038, allocations: 0.8086 MB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.038, allocations: 15.62 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/1.039, allocations: 55.25 kB / 1.617 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/1.039, allocations: 438.9 kB / 1.617 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/1.04, allocations: 8.172 kB / 1.617 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/1.04, allocations: 12.5 kB / 1.617 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/1.04, allocations: 139.5 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/1.04, allocations: 0.5312 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/1.04, allocations: 8.875 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.04, allocations: 0 / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/1.04, allocations: 81.7 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/1.041, allocations: 0.6006 MB / 1.618 GB, free: 124 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/1.042, allocations: 132.2 kB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/1.042, allocations: 51.23 kB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/1.042, allocations: 7.953 kB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/1.042, allocations: 111.8 kB / 1.618 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.505e-06/1.043, allocations: 0.6562 kB / 1.618 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0007445/1.043, allocations: 237.5 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/1.043, allocations: 86.03 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.044, allocations: 0.676 MB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/1.044, allocations: 34.98 kB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/1.045, allocations: 272.2 kB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/1.045, allocations: 43.47 kB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/1.045, allocations: 5.375 kB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.045, allocations: 374.8 kB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/1.045, allocations: 81.97 kB / 1.62 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/1.045, allocations: 131.2 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/1.046, allocations: 90.88 kB / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.046, allocations: 0 / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007104/1.046, allocations: 304.4 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.047, allocations: 4 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.047, allocations: 0 / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.047, allocations: 6.094 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/1.047, allocations: 31.92 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.047, allocations: 4 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/1.047, allocations: 25.33 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/1.047, allocations: 8 kB / 1.62 GB, free: 121.2 MB / 0.8542 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.0003136/1.048, allocations: 216.3 kB / 1.621 GB, free: 121 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/1.048, allocations: 59.2 kB / 1.621 GB, free: 121 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005908/1.048, allocations: 218.6 kB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.048, allocations: 4 kB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.048, allocations: 0 / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.048, allocations: 2.406 kB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/1.049, allocations: 381.4 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.049, allocations: 0 / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/1.049, allocations: 15.92 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.049, allocations: 1.078 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/1.049, allocations: 7.953 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.049, allocations: 0 / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.049, allocations: 1.062 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/1.049, allocations: 241.1 kB / 1.621 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/1.05, allocations: 132.9 kB / 1.622 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/1.05, allocations: 6.219 kB / 1.622 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/1.05, allocations: 19.94 kB / 1.622 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/1.05, allocations: 23.97 kB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/1.05, allocations: 7.938 kB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007152/1.051, allocations: 472.1 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.41e-07/1.051, allocations: 3.938 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004876/1.051, allocations: 86.72 kB / 1.622 GB, free: 119.3 MB / 0.8542 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.001265/1.053, allocations: 467.7 kB / 1.623 GB, free: 119 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005564/1.053, allocations: 169.6 kB / 1.623 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.053, allocations: 3.938 kB / 1.623 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/1.053, allocations: 60.48 kB / 1.623 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/1.054, allocations: 87.95 kB / 1.623 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/1.056, allocations: 0.9428 MB / 1.624 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/1.056, allocations: 0.8723 MB / 1.625 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002523/1.056, allocations: 50.45 kB / 1.625 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.057, allocations: 35.42 kB / 1.625 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/1.057, allocations: 0 / 1.625 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01413/1.071, allocations: 4.598 MB / 1.629 GB, free: 112.4 MB / 0.8542 GB