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.924/4.924, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 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.002678/0.002678, allocations: 361.2 kB / 0.6447 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.432/4.432, allocations: 410.7 MB / 1.113 GB, free: 5.938 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.001909/0.001908, allocations: 189.8 kB / 1.226 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005045, allocations: 20 kB / 1.349 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.7422, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003171/0.7454, allocations: 2.094 MB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002832/0.7483, allocations: 1.345 MB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.7486, allocations: 4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.7497, allocations: 291.3 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.7503, allocations: 183.7 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/0.7511, allocations: 189.1 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.7516, allocations: 342.8 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.7518, allocations: 65.2 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.7521, allocations: 135.3 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.7523, allocations: 147.3 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.7523, allocations: 4 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.7526, allocations: 59.89 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.7528, allocations: 111.6 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.7529, allocations: 97.89 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.7533, allocations: 374.7 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.7534, allocations: 4 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7534, allocations: 0 / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.7534, allocations: 0 / 1.467 GB, free: 278.9 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.001354/0.7548, allocations: 0.7674 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.7548, allocations: 11.62 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.7549, allocations: 59.2 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.7556, allocations: 408 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.7557, allocations: 9.406 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.7557, allocations: 8 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.7561, allocations: 145.8 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7561, allocations: 4 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.7562, allocations: 4.906 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.7562, allocations: 1.547 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.7564, allocations: 73.53 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.7576, allocations: 0.5729 MB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.758, allocations: 129.9 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.7582, allocations: 50.59 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.7583, allocations: 4.609 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.7586, allocations: 116.8 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.346e-06/0.7586, allocations: 0 / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0007547/0.7594, allocations: 227.3 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.7594, allocations: 86.72 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.7605, allocations: 0.6797 MB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.7605, allocations: 37.64 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.7608, allocations: 261.1 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.7609, allocations: 38.11 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.7609, allocations: 0 / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.761, allocations: 378.8 kB / 1.471 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.7613, allocations: 63.97 kB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.7616, allocations: 128.9 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.7618, allocations: 76.75 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7618, allocations: 0.7188 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006797/0.7625, allocations: 269.6 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7626, allocations: 5.219 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7626, allocations: 0 / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.7626, allocations: 4 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.7629, allocations: 32.62 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.7629, allocations: 7.938 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.7632, allocations: 30.27 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.7633, allocations: 12 kB / 1.471 GB, free: 274 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.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.000306/0.7636, allocations: 213.6 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.7637, allocations: 51.34 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.7638, allocations: 57.55 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7638, allocations: 0 / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.7638, allocations: 4.781 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.764, allocations: 132.3 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.7641, allocations: 9.234 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.7643, allocations: 12.5 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.7644, allocations: 25.72 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005427/0.7649, allocations: 238 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005498/0.7655, allocations: 362.8 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000201/0.7657, allocations: 58.72 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007208/0.7665, allocations: 470.9 kB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of Backend: time 1.042e-06/0.7665, allocations: 0 / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.7685, allocations: 0.5275 MB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.002114/0.7707, allocations: 1.396 MB / 1.475 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01334/0.7841, allocations: 4.041 MB / 1.479 GB, free: 266.9 MB / 0.8542 GB