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.176/2.176, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001595, allocations: 182 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.426/2.426, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001125/0.001125, allocations: 97.75 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004953, allocations: 18.5 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2301, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2601/0.4903, allocations: 137.7 MB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/0.4907, allocations: 95.94 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06101/0.5517, allocations: 13.61 MB / 1.047 GB, free: 9.754 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5518, allocations: 4 kB / 1.047 GB, free: 9.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.702e-05/0.5519, allocations: 8 kB / 1.047 GB, free: 9.742 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.001684/0.5536, allocations: 0.803 MB / 1.048 GB, free: 8.879 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.5536, allocations: 8.031 kB / 1.048 GB, free: 8.871 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.425e-05/0.5537, allocations: 42.56 kB / 1.048 GB, free: 8.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.5539, allocations: 59.25 kB / 1.048 GB, free: 8.762 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.555, allocations: 423.9 kB / 1.048 GB, free: 8.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.555, allocations: 8.188 kB / 1.048 GB, free: 8.297 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.5551, allocations: 11.98 kB / 1.048 GB, free: 8.285 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.5555, allocations: 145 kB / 1.048 GB, free: 8.133 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5556, allocations: 0 / 1.048 GB, free: 8.133 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.5556, allocations: 4 kB / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.5556, allocations: 8 kB / 1.048 GB, free: 8.121 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.5559, allocations: 72.52 kB / 1.048 GB, free: 8.051 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.5574, allocations: 0.5988 MB / 1.049 GB, free: 7.402 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.5579, allocations: 138.6 kB / 1.049 GB, free: 7.258 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.558, allocations: 224 / 1.049 GB, free: 7.258 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.5583, allocations: 111.3 kB / 1.049 GB, free: 7.137 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/0.5584, allocations: 4 kB / 1.049 GB, free: 7.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0009048/0.5593, allocations: 236.8 kB / 1.049 GB, free: 6.895 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.5594, allocations: 85.11 kB / 1.049 GB, free: 6.793 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.5607, allocations: 0.601 MB / 1.05 GB, free: 6.188 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.5608, allocations: 33.7 kB / 1.05 GB, free: 6.148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.5612, allocations: 264.3 kB / 1.05 GB, free: 5.883 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.5613, allocations: 35.53 kB / 1.05 GB, free: 5.848 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.5613, allocations: 8 kB / 1.05 GB, free: 5.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.5615, allocations: 374.8 kB / 1.051 GB, free: 5.465 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.5619, allocations: 79.95 kB / 1.051 GB, free: 5.387 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.5622, allocations: 132.5 kB / 1.051 GB, free: 5.242 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.5625, allocations: 93.77 kB / 1.051 GB, free: 5.152 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5626, allocations: 0 / 1.051 GB, free: 5.152 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008904/0.5635, allocations: 292.7 kB / 1.051 GB, free: 4.859 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.5635, allocations: 4 kB / 1.051 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5635, allocations: 3.938 kB / 1.051 GB, free: 4.852 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.5636, allocations: 8 kB / 1.051 GB, free: 4.844 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.5639, allocations: 31.98 kB / 1.051 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5639, allocations: 4 kB / 1.051 GB, free: 4.809 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.5643, allocations: 24.05 kB / 1.051 GB, free: 4.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.5643, allocations: 11.98 kB / 1.051 GB, free: 4.773 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.0004462/0.5648, allocations: 215.4 kB / 1.052 GB, free: 4.555 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.5649, allocations: 59.2 kB / 1.052 GB, free: 4.496 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006947/0.5656, allocations: 216.6 kB / 1.052 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.5656, allocations: 8 kB / 1.052 GB, free: 4.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5657, allocations: 0 / 1.052 GB, free: 4.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5657, allocations: 0 / 1.052 GB, free: 4.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.5662, allocations: 381.3 kB / 1.052 GB, free: 3.848 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5663, allocations: 0 / 1.052 GB, free: 3.848 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.5664, allocations: 11.98 kB / 1.052 GB, free: 3.836 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5664, allocations: 0 / 1.052 GB, free: 3.836 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.5664, allocations: 11.95 kB / 1.052 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5664, allocations: 0 / 1.052 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5664, allocations: 0 / 1.052 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.5671, allocations: 236.2 kB / 1.052 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.5673, allocations: 144.3 kB / 1.053 GB, free: 3.414 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.008e-05/0.5674, allocations: 8 kB / 1.053 GB, free: 3.406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.5677, allocations: 15.94 kB / 1.053 GB, free: 3.391 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.5678, allocations: 23.91 kB / 1.053 GB, free: 3.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.5678, allocations: 4 kB / 1.053 GB, free: 3.363 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009519/0.5688, allocations: 467 kB / 1.053 GB, free: 2.914 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.31e-07/0.5688, allocations: 0 / 1.053 GB, free: 2.914 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005896/0.5694, allocations: 79.92 kB / 1.053 GB, free: 2.836 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.002318/0.5717, allocations: 1.12 MB / 1.054 GB, free: 1.848 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007089/0.5725, allocations: 166.3 kB / 1.054 GB, free: 1.688 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5725, allocations: 0 / 1.054 GB, free: 1.688 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.5728, allocations: 71.89 kB / 1.054 GB, free: 1.617 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/0.5736, allocations: 91.33 kB / 1.055 GB, free: 1.527 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6002/1.174, allocations: 1.588 MB / 1.056 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/1.174, allocations: 0.8787 MB / 1.057 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003298/1.175, allocations: 46.45 kB / 1.057 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/1.175, allocations: 167.3 kB / 1.057 GB, free: 147.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.175, allocations: 0 / 1.057 GB, free: 147.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04072/1.216, allocations: 9.738 MB / 1.067 GB, free: 146.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003197/1.216, allocations: 235.1 kB / 1.067 GB, free: 146.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/4.033, allocations: 0 / 1.067 GB, free: 146.5 MB / 0.698 GB