Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001358/0.001358, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.649/1.649, allocations: 251.9 MB / 0.51 GB, free: 4.812 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005563/0.0005564, allocations: 16 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5124, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.08301/0.5955, allocations: 72.43 MB / 0.7987 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6813/1.277, allocations: 141.9 MB / 0.9372 GB, free: 29.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004189/1.281, allocations: 73.06 kB / 0.9373 GB, free: 29.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004573/1.286, allocations: 1.003 MB / 0.9383 GB, free: 29.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01069/1.296, allocations: 2.81 MB / 0.941 GB, free: 29.61 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01131/1.308, allocations: 3.3 MB / 0.9442 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008146/1.316, allocations: 3.691 MB / 0.9478 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003656/1.32, allocations: 1.963 MB / 0.9498 GB, free: 29.3 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/1.324, allocations: 1.577 MB / 0.9513 GB, free: 29.3 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/1.326, allocations: 1.171 MB / 0.9524 GB, free: 29.29 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003425/1.327, allocations: 91.34 kB / 0.9525 GB, free: 29.29 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005539/1.332, allocations: 1.359 MB / 0.9539 GB, free: 29.29 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008026/1.333, allocations: 0.5348 MB / 0.9544 GB, free: 29.29 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009612/1.334, allocations: 0.5448 MB / 0.9549 GB, free: 29.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005489/1.34, allocations: 3.461 MB / 0.9583 GB, free: 28.69 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.34, allocations: 0 / 0.9583 GB, free: 28.69 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/1.34, allocations: 0 / 0.9583 GB, free: 28.69 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.825e-05/1.34, allocations: 3.25 kB / 0.9583 GB, free: 28.69 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.006079/1.346, allocations: 2.885 MB / 0.9611 GB, free: 26.85 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.346, allocations: 14.67 kB / 0.9611 GB, free: 26.85 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/1.348, allocations: 485.2 kB / 0.9616 GB, free: 26.63 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/1.352, allocations: 2.047 MB / 0.9636 GB, free: 25.72 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/1.352, allocations: 155.4 kB / 0.9637 GB, free: 25.72 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/1.352, allocations: 202.8 kB / 0.9639 GB, free: 25.71 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/1.356, allocations: 2.09 MB / 0.966 GB, free: 25.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/1.356, allocations: 8.625 kB / 0.966 GB, free: 25.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/1.356, allocations: 78.62 kB / 0.9661 GB, free: 25.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/1.356, allocations: 47.56 kB / 0.9661 GB, free: 25.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/1.359, allocations: 2 MB / 0.9681 GB, free: 24.59 MB / 0.7169 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.01167/1.371, allocations: 8.373 MB / 0.9762 GB, free: 19.78 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/1.373, allocations: 1.315 MB / 0.9775 GB, free: 19.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004818/1.378, allocations: 3.191 MB / 0.9806 GB, free: 17.89 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/1.379, allocations: 0.7435 MB / 0.9814 GB, free: 17.64 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008512/1.38, allocations: 144.2 kB / 0.9815 GB, free: 17.55 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=127): time 3.066e-06/1.38, allocations: 0 / 0.9815 GB, free: 17.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=127): time 0.004185/1.384, allocations: 1.92 MB / 0.9834 GB, free: 17.03 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/1.384, allocations: 274.1 kB / 0.9836 GB, free: 16.71 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/1.387, allocations: 1.964 MB / 0.9856 GB, free: 16.17 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/1.387, allocations: 55.88 kB / 0.9856 GB, free: 16.14 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008699/1.388, allocations: 1.117 MB / 0.9867 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/1.388, allocations: 433.8 kB / 0.9871 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/1.388, allocations: 36.72 kB / 0.9871 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.389, allocations: 360 kB / 0.9875 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009982/1.39, allocations: 0.5075 MB / 0.988 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/1.391, allocations: 0.9494 MB / 0.9889 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/1.392, allocations: 0.6379 MB / 0.9895 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/1.392, allocations: 2.781 kB / 0.9895 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00363/1.396, allocations: 1.763 MB / 0.9913 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006999/1.396, allocations: 4.07 MB / 0.9952 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/1.396, allocations: 10.66 kB / 0.9952 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/1.397, allocations: 107.1 kB / 0.9953 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.398, allocations: 364.7 kB / 0.9957 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/1.4, allocations: 1.553 MB / 0.9972 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/1.402, allocations: 158.4 kB / 0.9974 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/1.403, allocations: 73.97 kB / 0.9974 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/1.403, allocations: 5.75 kB / 0.9974 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003122/1.406, allocations: 1.489 MB / 0.9989 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/1.406, allocations: 9.938 kB / 0.9989 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/1.406, allocations: 101.8 kB / 0.999 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.407, allocations: 350.1 kB / 0.9993 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/1.409, allocations: 1.55 MB / 1.001 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/1.411, allocations: 150.2 kB / 1.001 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.411, allocations: 73.34 kB / 1.001 GB, free: 6.25 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001683/1.413, allocations: 0.6179 MB / 1.002 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005637/1.414, allocations: 226.2 kB / 1.002 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/1.417, allocations: 1.807 MB / 1.004 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/1.417, allocations: 20.45 kB / 1.004 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.418, allocations: 2.531 kB / 1.004 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002539/1.42, allocations: 1.5 MB / 1.005 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006965/1.427, allocations: 3.733 MB / 1.009 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.427, allocations: 0 / 1.009 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.428, allocations: 279 kB / 1.009 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/1.429, allocations: 87.45 kB / 1.009 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.074e-05/1.429, allocations: 45.3 kB / 1.009 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/1.43, allocations: 1.562 MB / 1.011 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.43, allocations: 0 / 1.011 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004443/1.435, allocations: 2.456 MB / 1.013 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/1.436, allocations: 0.5044 MB / 1.014 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/1.436, allocations: 36.94 kB / 1.014 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.438, allocations: 167.4 kB / 1.014 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/1.438, allocations: 101.8 kB / 1.014 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.438, allocations: 60.39 kB / 1.014 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002096/1.44, allocations: 1.324 MB / 1.015 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.513e-06/1.44, allocations: 0 / 1.015 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004154/1.445, allocations: 1.336 MB / 1.017 GB, free: 12.64 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 3 (onOffCon.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002605/1.447, allocations: 1.018 MB / 1.018 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004808/1.452, allocations: 2.427 MB / 1.02 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.452, allocations: 4 kB / 1.02 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/1.454, allocations: 0.8241 MB / 1.021 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/1.458, allocations: 1.048 MB / 1.022 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.469, allocations: 5.316 MB / 1.027 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/1.47, allocations: 1.703 MB / 1.029 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00335/1.474, allocations: 0.7075 MB / 1.029 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/1.474, allocations: 228.7 kB / 1.029 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of SimCode: time 1.253e-06/1.474, allocations: 0 / 1.029 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of Templates: time 0.08373/1.558, allocations: 46.04 MB / 1.074 GB, free: 3.918 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1) Environment - environmentSimulation: