Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 192 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 60.11 kB / 0.9115 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3396, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003895/0.3436, allocations: 2.498 MB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002416/0.346, allocations: 1.553 MB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.3462, allocations: 3.938 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009731/0.3473, allocations: 307.5 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.3477, allocations: 203.3 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.3484, allocations: 235.2 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.3488, allocations: 402.7 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.349, allocations: 69 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.3492, allocations: 159.3 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.3494, allocations: 175.2 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.3494, allocations: 20 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.3496, allocations: 71.97 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.3498, allocations: 143.4 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.35, allocations: 190.6 kB / 1.074 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.3505, allocations: 494.2 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3505, allocations: 4 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3505, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3505, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 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.001178/0.3517, allocations: 0.8353 MB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3518, allocations: 12.03 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.3519, allocations: 56.28 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.3525, allocations: 432.8 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.3525, allocations: 23.92 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.3525, allocations: 8 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.3528, allocations: 135.3 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3529, allocations: 3.984 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.3529, allocations: 4 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.3529, allocations: 7.938 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.3531, allocations: 63.97 kB / 1.076 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009738/0.3541, allocations: 0.5783 MB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.3544, allocations: 130.7 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3545, allocations: 44.84 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.3546, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.3548, allocations: 107.3 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3548, allocations: 4 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005449/0.3554, allocations: 248.3 kB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3555, allocations: 77.11 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/0.3562, allocations: 0.6837 MB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3563, allocations: 29.7 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.3565, allocations: 264.3 kB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.3565, allocations: 39.59 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.3566, allocations: 49.7 kB / 1.078 GB, free: 340 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3568, allocations: 370.8 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.357, allocations: 79.91 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.3572, allocations: 123.1 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.3575, allocations: 139 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3575, allocations: 7.938 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005884/0.3581, allocations: 269.5 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3581, allocations: 11.94 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3581, allocations: 0 / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3582, allocations: 0 / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3583, allocations: 39.91 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3584, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3585, allocations: 31.89 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3586, allocations: 8 kB / 1.079 GB, free: 15.23 MB / 0.8419 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 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002246/0.3588, allocations: 211.5 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.3589, allocations: 55.28 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.655e-05/0.359, allocations: 61.05 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.359, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.359, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.359, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.3593, allocations: 373.3 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3594, allocations: 15.92 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.3594, allocations: 8 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3594, allocations: 48 / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3594, allocations: 7.984 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3594, allocations: 0 / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3594, allocations: 0 / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.3598, allocations: 216.4 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3599, allocations: 136.3 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.36, allocations: 8 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3601, allocations: 11.98 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.3602, allocations: 19.98 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3602, allocations: 7.984 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005202/0.3607, allocations: 471 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3607, allocations: 0 / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003189/0.361, allocations: 60 kB / 1.08 GB, free: 13.51 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001169/0.3622, allocations: 433.7 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.3626, allocations: 161.3 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3627, allocations: 0 / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3628, allocations: 63.91 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.3633, allocations: 92.86 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3648, allocations: 0.9423 MB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.3653, allocations: 0.8688 MB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.3654, allocations: 54.92 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.3655, allocations: 23.44 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3655, allocations: 3.938 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.009759/0.3753, allocations: 4.254 MB / 1.087 GB, free: 6.785 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)