Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|tow.cooTowSpeCon.u_s|tow.cooTowSpeCon.u_m|TVol.T|TSwi.y|tow.bypValCon.u_s|tow.bypValCon.u_m|tow.bypValCon.y",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") translateModel(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|tow.cooTowSpeCon.u_s|tow.cooTowSpeCon.u_m|TVol.T|TSwi.y|tow.bypValCon.u_s|tow.bypValCon.u_m|tow.bypValCon.y",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.00141/0.00141, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.84 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass): time 0.2935/1.316, allocations: 273.6 MB / 1.476 GB, free: 10.95 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.05735/1.374, allocations: 36.26 MB / 1.511 GB, free: 6.59 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008735/1.383, allocations: 163.1 kB / 1.511 GB, free: 6.43 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.009173/1.392, allocations: 2.826 MB / 1.514 GB, free: 3.594 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01729/1.409, allocations: 5.92 MB / 1.52 GB, free: 13.66 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.01168/1.421, allocations: 4.482 MB / 1.524 GB, free: 9.203 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.02942/1.45, allocations: 16.12 MB / 1.54 GB, free: 9.055 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01121/1.462, allocations: 6.058 MB / 1.546 GB, free: 2.891 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01248/1.474, allocations: 5.055 MB / 1.551 GB, free: 13.83 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008285/1.482, allocations: 4.031 MB / 1.555 GB, free: 9.781 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002262/1.485, allocations: 0.7148 MB / 1.555 GB, free: 9.066 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/1.496, allocations: 4.528 MB / 1.56 GB, free: 4.531 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003248/1.499, allocations: 1.854 MB / 1.562 GB, free: 2.672 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.9311/2.431, allocations: 3.598 MB / 1.565 GB, free: 47.84 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.04348/2.474, allocations: 12.4 MB / 1.577 GB, free: 47.6 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.359e-05/2.474, allocations: 0 / 1.577 GB, free: 47.6 MB / 1.279 GB Notification: Performance of FrontEnd: time 4.087e-06/2.474, allocations: 0 / 1.577 GB, free: 47.6 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0007178/2.475, allocations: 1.156 kB / 1.577 GB, free: 47.6 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.04175/2.517, allocations: 7.414 MB / 1.584 GB, free: 44.52 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/2.517, allocations: 9.594 kB / 1.584 GB, free: 44.52 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009243/2.526, allocations: 1.352 MB / 1.586 GB, free: 44.18 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01813/2.544, allocations: 6.407 MB / 1.592 GB, free: 43.18 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004483/2.545, allocations: 283.4 kB / 1.592 GB, free: 43.17 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/2.547, allocations: 370.2 kB / 1.593 GB, free: 43.17 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/2.566, allocations: 4.941 MB / 1.598 GB, free: 42.75 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002505/2.566, allocations: 9.938 kB / 1.598 GB, free: 42.75 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001835/2.568, allocations: 145.9 kB / 1.598 GB, free: 42.75 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/2.568, allocations: 131.6 kB / 1.598 GB, free: 42.74 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/2.582, allocations: 5.15 MB / 1.603 GB, free: 42.71 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04853/2.631, allocations: 20.41 MB / 1.623 GB, free: 35.79 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008962/2.64, allocations: 3.856 MB / 1.627 GB, free: 35.63 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004408/2.644, allocations: 1.968 MB / 1.628 GB, free: 35.61 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02258/2.667, allocations: 9.909 MB / 1.638 GB, free: 31.23 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005535/2.672, allocations: 2.226 MB / 1.64 GB, free: 31.1 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003816/2.676, allocations: 367.7 kB / 1.641 GB, free: 30.96 MB / 1.279 GB Notification: Performance of pre-optimization done (n=266): time 6.52e-05/2.676, allocations: 0.6875 kB / 1.641 GB, free: 30.96 MB / 1.279 GB Notification: Performance of matching and sorting (n=266): time 0.02866/2.705, allocations: 9.005 MB / 1.649 GB, free: 30.15 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/2.705, allocations: 263.7 kB / 1.65 GB, free: 29.86 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/2.72, allocations: 5.45 MB / 1.655 GB, free: 29.48 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001312/2.721, allocations: 89.2 kB / 1.655 GB, free: 29.45 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003661/2.725, allocations: 2.332 MB / 1.657 GB, free: 28.82 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001987/2.727, allocations: 0.8979 MB / 1.658 GB, free: 28.25 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004233/2.731, allocations: 0.827 MB / 1.659 GB, free: 28.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/2.731, allocations: 301.8 kB / 1.659 GB, free: 27.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004844/2.736, allocations: 2.103 MB / 1.661 GB, free: 27.88 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005998/2.742, allocations: 3.194 MB / 1.665 GB, free: 27.07 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/2.753, allocations: 4.668 MB / 1.669 GB, free: 26.43 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-05/2.753, allocations: 3.219 kB / 1.669 GB, free: 26.43 MB / 1.279 GB Notification: Performance of matching and sorting (n=477) (initialization): time 0.02237/2.775, allocations: 6.268 MB / 1.675 GB, free: 25.97 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/2.775, allocations: 14.12 kB / 1.675 GB, free: 25.97 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.888e-05/2.775, allocations: 14.34 kB / 1.675 GB, free: 25.97 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273/5.049, allocations: 339.2 MB / 2.006 GB, free: 4.18 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004526/5.053, allocations: 0.7734 MB / 2.007 GB, free: 3.48 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/5.061, allocations: 5.741 MB / 2.013 GB, free: 14.07 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007551/5.069, allocations: 352.2 kB / 2.013 GB, free: 13.79 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/5.07, allocations: 171.5 kB / 2.013 GB, free: 13.65 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01015/5.08, allocations: 3.436 MB / 2.017 GB, free: 11.54 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006581/5.087, allocations: 3.126 MB / 2.02 GB, free: 8.766 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0102/5.097, allocations: 4.538 MB / 2.024 GB, free: 4.051 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.29e-05/5.097, allocations: 7.75 kB / 2.024 GB, free: 4.047 MB / 1.592 GB Notification: Performance of matching and sorting (n=477) (initialization_lambda0): time 0.01789/5.115, allocations: 6.11 MB / 2.03 GB, free: 13.99 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/5.115, allocations: 14.03 kB / 2.03 GB, free: 13.98 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/5.115, allocations: 16 kB / 2.03 GB, free: 13.96 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107/8.222, allocations: 339.1 MB / 2.361 GB, free: 0.6381 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004171/8.226, allocations: 0.748 MB / 2.362 GB, free: 0.6375 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007412/8.234, allocations: 7.135 MB / 2.369 GB, free: 0.631 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007727/8.242, allocations: 384.1 kB / 2.369 GB, free: 0.6307 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001435/8.243, allocations: 171.2 kB / 2.37 GB, free: 0.6305 GB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 23 (tow.cooTowSpeCon.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,hys.y,$PRE.hys.y,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,tow.hys.y,$PRE.tow.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (421): * Single equations (assignments): 413 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,6), (1,6), (1,1), (1,1), (3,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002762/8.246, allocations: 395.3 kB / 2.37 GB, free: 0.6302 GB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004842/8.251, allocations: 0.4938 MB / 2.37 GB, free: 0.63 GB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02241/8.273, allocations: 5.468 MB / 2.376 GB, free: 0.6256 GB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01017/8.283, allocations: 4.323 MB / 2.38 GB, free: 0.6213 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/8.283, allocations: 0 / 2.38 GB, free: 0.6213 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004503/8.288, allocations: 1.082 MB / 2.381 GB, free: 0.6205 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002904/8.291, allocations: 67.98 kB / 2.381 GB, free: 0.6204 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00578/8.297, allocations: 278.5 kB / 2.381 GB, free: 0.6202 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009272/8.298, allocations: 214.1 kB / 2.382 GB, free: 0.62 GB / 1.748 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01508/8.313, allocations: 5.743 MB / 2.387 GB, free: 0.6144 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01365/8.326, allocations: 7.026 MB / 2.394 GB, free: 0.6076 GB / 1.748 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003434/8.33, allocations: 2.022 MB / 2.396 GB, free: 0.6056 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.009006/8.339, allocations: 3.75 MB / 2.4 GB, free: 0.6019 GB / 1.748 GB Notification: Performance of Backend: time 9.32e-07/8.339, allocations: 0 / 2.4 GB, free: 0.6019 GB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.02811/8.367, allocations: 8.148 MB / 2.408 GB, free: 0.5945 GB / 1.748 GB Notification: Performance of SimCode: time 0.03443/8.402, allocations: 12.2 MB / 2.42 GB, free: 0.5827 GB / 1.748 GB Notification: Performance of Templates: time 0.189/8.591, allocations: 136 MB / 2.552 GB, free: 461.8 MB / 1.748 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.sim & ./Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe 2>&1)