Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009954/0.009959, allocations: 89.86 kB / 15.04 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001261/0.001261, allocations: 172.3 kB / 15.92 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.48/2.48, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.424/2.424, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005498/0.0005498, allocations: 15.72 kB / 0.6243 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2317, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004177/0.2359, allocations: 2.08 MB / 0.7301 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.2391, allocations: 1.2 MB / 0.7313 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.2394, allocations: 11.94 kB / 0.7313 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.2407, allocations: 287.1 kB / 0.7316 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006717/0.2414, allocations: 187.5 kB / 0.7317 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008167/0.2422, allocations: 183.6 kB / 0.7319 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.2428, allocations: 235.5 kB / 0.7321 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.243, allocations: 64.88 kB / 0.7322 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.2433, allocations: 139.4 kB / 0.7323 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.2436, allocations: 135.4 kB / 0.7325 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.2436, allocations: 11.94 kB / 0.7325 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.2439, allocations: 39.92 kB / 0.7325 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.2441, allocations: 111.6 kB / 0.7326 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2442, allocations: 101.5 kB / 0.7327 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006071/0.2448, allocations: 355.4 kB / 0.733 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2448, allocations: 0 / 0.733 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2448, allocations: 0 / 0.733 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.2449, allocations: 0 / 0.733 GB, free: 5.016 MB / 0.5573 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.001545/0.2464, allocations: 0.7599 MB / 0.7338 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2465, allocations: 8.031 kB / 0.7338 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.192e-05/0.2466, allocations: 50.5 kB / 0.7338 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.2467, allocations: 59.25 kB / 0.7339 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.2475, allocations: 399.9 kB / 0.7343 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2475, allocations: 8.188 kB / 0.7343 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.2476, allocations: 16 kB / 0.7343 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.248, allocations: 135.8 kB / 0.7344 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2481, allocations: 0 / 0.7344 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.2481, allocations: 8 kB / 0.7344 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.2481, allocations: 3.953 kB / 0.7344 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.2484, allocations: 72.45 kB / 0.7345 GB, free: 3.398 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.2497, allocations: 0.5783 MB / 0.7351 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.2502, allocations: 130.7 kB / 0.7352 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.2502, allocations: 0 / 0.7352 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/0.2506, allocations: 111.3 kB / 0.7353 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 2.835e-06/0.2506, allocations: 0 / 0.7353 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0008655/0.2515, allocations: 229 kB / 0.7355 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.2516, allocations: 81.11 kB / 0.7356 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.2529, allocations: 0.6758 MB / 0.7363 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.253, allocations: 33.7 kB / 0.7363 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.2533, allocations: 260.3 kB / 0.7365 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.2533, allocations: 35.53 kB / 0.7366 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.2534, allocations: 8 kB / 0.7366 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.2536, allocations: 374.7 kB / 0.7369 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.2539, allocations: 67.97 kB / 0.737 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.2542, allocations: 127.5 kB / 0.7371 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.2545, allocations: 71.98 kB / 0.7372 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2545, allocations: 0 / 0.7372 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007646/0.2553, allocations: 260 kB / 0.7375 GB, free: 256 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2553, allocations: 12.06 kB / 0.7375 GB, free: 244 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2553, allocations: 3.938 kB / 0.7375 GB, free: 240 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2553, allocations: 0 / 0.7375 GB, free: 240 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.2556, allocations: 39.92 kB / 0.7375 GB, free: 200 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2557, allocations: 0 / 0.7375 GB, free: 200 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.256, allocations: 31.83 kB / 0.7375 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.256, allocations: 7.984 kB / 0.7375 GB, free: 160 kB / 0.5573 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.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,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.0004057/0.2565, allocations: 219.4 kB / 0.7378 GB, free: 15.93 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.2566, allocations: 51.34 kB / 0.7378 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.2567, allocations: 57.05 kB / 0.7379 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2567, allocations: 4.219 kB / 0.7379 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2568, allocations: 0 / 0.7379 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2568, allocations: 3.938 kB / 0.7379 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.2573, allocations: 369.3 kB / 0.7382 GB, free: 15.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.2573, allocations: 4 kB / 0.7382 GB, free: 15.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/0.2574, allocations: 8 kB / 0.7382 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.475e-06/0.2574, allocations: 4 kB / 0.7382 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2574, allocations: 7.984 kB / 0.7382 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2574, allocations: 4 kB / 0.7382 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2574, allocations: 0 / 0.7382 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.258, allocations: 220.9 kB / 0.7385 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.2582, allocations: 136.2 kB / 0.7386 GB, free: 14.99 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.2583, allocations: 11.98 kB / 0.7386 GB, free: 14.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.2585, allocations: 15.98 kB / 0.7386 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.2586, allocations: 15.98 kB / 0.7386 GB, free: 14.95 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.2587, allocations: 7.984 kB / 0.7386 GB, free: 14.94 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000845/0.2595, allocations: 459 kB / 0.7391 GB, free: 14.49 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2596, allocations: 0 / 0.7391 GB, free: 14.49 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000497/0.2601, allocations: 56 kB / 0.7391 GB, free: 14.44 MB / 0.573 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.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002134/0.2622, allocations: 1.112 MB / 0.7402 GB, free: 13.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006059/0.2629, allocations: 151.1 kB / 0.7404 GB, free: 13.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2629, allocations: 0 / 0.7404 GB, free: 13.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.2631, allocations: 52.11 kB / 0.7404 GB, free: 13.25 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.2638, allocations: 86.88 kB / 0.7405 GB, free: 13.16 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.2665, allocations: 1.56 MB / 0.742 GB, free: 11.54 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.2671, allocations: 0.8778 MB / 0.7429 GB, free: 10.63 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002806/0.2674, allocations: 46.2 kB / 0.7429 GB, free: 10.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.2677, allocations: 167.4 kB / 0.7431 GB, free: 10.42 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/0.2678, allocations: 0 / 0.7431 GB, free: 10.42 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.3063, allocations: 9.002 MB / 0.7519 GB, free: 1.609 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003542/0.3067, allocations: 238.5 kB / 0.7521 GB, free: 1.367 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/3.21, allocations: 0 / 0.7521 GB, free: 1.367 MB / 0.573 GB