Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.183/2.183, allocations: 248.5 MB / 261.1 MB, free: 5.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 166.7 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.2 MB / 0.571 GB, free: 11.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 97.92 kB / 0.6754 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.641e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1956, allocations: 106.3 MB / 0.8907 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.835/1.031, allocations: 137.7 MB / 1.025 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/1.031, allocations: 96.11 kB / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06202/1.093, allocations: 13.59 MB / 1.038 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.793e-06/1.093, allocations: 4 kB / 1.038 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.245e-05/1.093, allocations: 12 kB / 1.039 GB, free: 1.871 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.001406/1.095, allocations: 0.6767 MB / 1.039 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/1.095, allocations: 12.03 kB / 1.039 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.425e-05/1.095, allocations: 41.92 kB / 1.039 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/1.095, allocations: 62.44 kB / 1.039 GB, free: 1.047 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/1.096, allocations: 419.2 kB / 1.04 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/1.096, allocations: 7.312 kB / 1.04 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/1.096, allocations: 11.81 kB / 1.04 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/1.097, allocations: 142.4 kB / 1.04 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.097, allocations: 0 / 1.04 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/1.097, allocations: 0 / 1.04 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/1.097, allocations: 4 kB / 1.04 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/1.097, allocations: 73.34 kB / 1.04 GB, free: 464 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/1.099, allocations: 0.5846 MB / 1.04 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/1.099, allocations: 133.1 kB / 1.041 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/1.099, allocations: 45.61 kB / 1.041 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/1.099, allocations: 4 kB / 1.041 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/1.1, allocations: 102.2 kB / 1.041 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 4.098e-06/1.1, allocations: 0 / 1.041 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13): time 0.0006203/1.1, allocations: 193.6 kB / 1.041 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/1.1, allocations: 92.36 kB / 1.041 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/1.102, allocations: 0.5964 MB / 1.042 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/1.102, allocations: 28.33 kB / 1.042 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/1.102, allocations: 271.9 kB / 1.042 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/1.102, allocations: 35.11 kB / 1.042 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/1.102, allocations: 3.688 kB / 1.042 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.102, allocations: 369.5 kB / 1.042 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/1.103, allocations: 79.84 kB / 1.042 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/1.103, allocations: 131.4 kB / 1.042 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/1.103, allocations: 81.16 kB / 1.043 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.103, allocations: 0 / 1.043 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007523/1.104, allocations: 291 kB / 1.043 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/1.104, allocations: 7.984 kB / 1.043 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.104, allocations: 0 / 1.043 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/1.104, allocations: 4 kB / 1.043 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/1.104, allocations: 35.92 kB / 1.043 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.104, allocations: 0 / 1.043 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/1.105, allocations: 26.95 kB / 1.043 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/1.105, allocations: 11.86 kB / 1.043 GB, free: 13.87 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.0001607/1.105, allocations: 136.5 kB / 1.043 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/1.105, allocations: 59.3 kB / 1.043 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006651/1.106, allocations: 200 kB / 1.043 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.106, allocations: 4 kB / 1.043 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.106, allocations: 3.938 kB / 1.043 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.106, allocations: 0 / 1.043 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/1.106, allocations: 389.9 kB / 1.044 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.106, allocations: 224 / 1.044 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/1.107, allocations: 12 kB / 1.044 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.107, allocations: 3.938 kB / 1.044 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/1.107, allocations: 10.77 kB / 1.044 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/1.107, allocations: 3.984 kB / 1.044 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.107, allocations: 0 / 1.044 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/1.107, allocations: 221 kB / 1.044 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/1.108, allocations: 135.9 kB / 1.044 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.349e-05/1.108, allocations: 15.3 kB / 1.044 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/1.108, allocations: 19.64 kB / 1.044 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/1.108, allocations: 19.41 kB / 1.044 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/1.108, allocations: 7.984 kB / 1.044 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009348/1.109, allocations: 456.4 kB / 1.045 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.91e-07/1.109, allocations: 0 / 1.045 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006201/1.11, allocations: 78.73 kB / 1.045 GB, free: 12.31 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.002053/1.112, allocations: 1.06 MB / 1.046 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005515/1.112, allocations: 158.7 kB / 1.046 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.112, allocations: 4 kB / 1.046 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/1.113, allocations: 57.73 kB / 1.046 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/1.113, allocations: 93.12 kB / 1.046 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/1.115, allocations: 0.7289 MB / 1.047 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/1.116, allocations: 0.883 MB / 1.048 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003098/1.116, allocations: 45.67 kB / 1.048 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/1.117, allocations: 163.8 kB / 1.048 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of SimCode: time 1.222e-06/1.117, allocations: 0 / 1.048 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/1.163, allocations: 9.885 MB / 1.057 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000386/1.163, allocations: 203.7 kB / 1.058 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.838, allocations: 4 kB / 1.058 GB, free: 15.53 MB / 0.6823 GB