Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexDis.Q1_flow|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexDis.sta_b2.T|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_dis.phi|relHumOut_eps.phi|hexDis.SHR|hexWetNTU.SHR|hexWetNTU.dryFra|hexDis.UA_nominal|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexDis.Q1_flow|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexDis.sta_b2.T|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_dis.phi|relHumOut_eps.phi|hexDis.SHR|hexWetNTU.SHR|hexWetNTU.dryFra|hexDis.UA_nominal|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 109.1 kB / 16.41 MB, free: 6.512 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.001811/0.001811, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.467/1.467, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8566/0.858, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow): time 1.276/2.134, allocations: 490.2 MB / 1.646 GB, free: 50.73 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.06397/2.198, allocations: 47.95 MB / 1.693 GB, free: 49.95 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01332/2.211, allocations: 236.8 kB / 1.693 GB, free: 49.95 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/2.223, allocations: 3.663 MB / 1.697 GB, free: 49.89 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.036/2.259, allocations: 11.73 MB / 1.708 GB, free: 49.4 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01974/2.279, allocations: 6.967 MB / 1.715 GB, free: 49.18 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1502/2.429, allocations: 127.8 MB / 1.84 GB, free: 11.06 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1042/2.533, allocations: 60.89 MB / 1.899 GB, free: 14.59 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08337/2.616, allocations: 43.79 MB / 1.942 GB, free: 4.918 MB / 1.436 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07837/2.695, allocations: 37.09 MB / 1.978 GB, free: 2.465 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.02109/2.716, allocations: 6.137 MB / 1.984 GB, free: 12.32 MB / 1.482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06343/2.779, allocations: 15.69 MB / 1.999 GB, free: 13.65 MB / 1.498 GB Notification: Performance of NFScalarize.scalarize: time 0.03886/2.818, allocations: 16.44 MB / 2.016 GB, free: 13.4 MB / 1.514 GB Notification: Performance of NFVerifyModel.verify: time 0.07597/2.894, allocations: 30.36 MB / 2.045 GB, free: 15.15 MB / 1.545 GB Notification: Performance of NFConvertDAE.convert: time 0.129/3.023, allocations: 95.94 MB / 2.139 GB, free: 1.074 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/3.023, allocations: 0 / 2.139 GB, free: 1.074 MB / 1.623 GB Notification: Performance of FrontEnd: time 2.164e-06/3.023, allocations: 0 / 2.139 GB, free: 1.074 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.003118/3.027, allocations: 8 kB / 2.139 GB, free: 1.066 MB / 1.623 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8579 * Number of variables: 8579 Notification: Performance of Generate backend data structure: time 1.443/4.47, allocations: 54.05 MB / 2.192 GB, free: 0.6361 GB / 1.654 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/4.47, allocations: 8.5 kB / 2.192 GB, free: 0.6361 GB / 1.654 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08747/4.557, allocations: 13.41 MB / 2.205 GB, free: 0.6331 GB / 1.654 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09287/4.65, allocations: 46.87 MB / 2.251 GB, free: 0.5923 GB / 1.654 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002419/4.652, allocations: 2.557 MB / 2.253 GB, free: 0.5898 GB / 1.654 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01557/4.668, allocations: 3.395 MB / 2.256 GB, free: 0.5865 GB / 1.654 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1314/4.799, allocations: 53.01 MB / 2.308 GB, free: 0.5339 GB / 1.654 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001782/4.801, allocations: 95.11 kB / 2.308 GB, free: 0.5338 GB / 1.654 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0135/4.815, allocations: 1.378 MB / 2.31 GB, free: 0.5325 GB / 1.654 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001245/4.816, allocations: 1.515 MB / 2.311 GB, free: 0.531 GB / 1.654 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1102/4.926, allocations: 48.21 MB / 2.358 GB, free: 495.6 MB / 1.654 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.3462/5.273, allocations: 225.6 MB / 2.578 GB, free: 258.4 MB / 1.654 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04983/5.323, allocations: 29.65 MB / 2.607 GB, free: 228.5 MB / 1.654 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03326/5.356, allocations: 21.01 MB / 2.628 GB, free: 207.5 MB / 1.654 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1461/5.502, allocations: 62.87 MB / 2.689 GB, free: 144.4 MB / 1.654 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03182/5.534, allocations: 15.78 MB / 2.705 GB, free: 128.3 MB / 1.654 GB Notification: Performance of pre-optimization done (n=1797): time 2.602e-05/5.534, allocations: 3.938 kB / 2.705 GB, free: 128.3 MB / 1.654 GB Notification: Performance of matching and sorting (n=1799): time 0.1816/5.715, allocations: 72.99 MB / 2.776 GB, free: 54.96 MB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003804/5.716, allocations: 1.808 MB / 2.778 GB, free: 52.76 MB / 1.654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07042/5.786, allocations: 39.49 MB / 2.816 GB, free: 13.5 MB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.004574/5.791, allocations: 441.7 kB / 2.817 GB, free: 13.06 MB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 1.315/7.106, allocations: 19.97 MB / 2.836 GB, free: 0.5859 GB / 1.655 GB Notification: Performance of collectInitialBindings (initialization): time 0.01065/7.117, allocations: 6.418 MB / 2.843 GB, free: 0.585 GB / 1.655 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01828/7.135, allocations: 5.27 MB / 2.848 GB, free: 0.5847 GB / 1.655 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/7.135, allocations: 304.5 kB / 2.848 GB, free: 0.5844 GB / 1.655 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02998/7.165, allocations: 14.68 MB / 2.862 GB, free: 0.5823 GB / 1.655 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03918/7.204, allocations: 22.32 MB / 2.884 GB, free: 0.5692 GB / 1.655 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hexDis.ele[1].vol2.dynBal.medium.p = hexDis.ele[1].vol2.dynBal.p_start (sinAir.p = hexDis.ele[1].vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.2969/7.501, allocations: 96.18 MB / 2.978 GB, free: 0.5105 GB / 1.655 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002814/7.502, allocations: 44 kB / 2.978 GB, free: 0.5105 GB / 1.655 GB Notification: Performance of matching and sorting (n=3275) (initialization): time 0.104/7.606, allocations: 40.94 MB / 3.018 GB, free: 481.8 MB / 1.655 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002712/7.606, allocations: 72 kB / 3.018 GB, free: 481.7 MB / 1.655 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003118/7.606, allocations: 152 kB / 3.018 GB, free: 481.6 MB / 1.655 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004455/7.611, allocations: 1.214 MB / 3.019 GB, free: 480.3 MB / 1.655 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03223/7.643, allocations: 6.634 MB / 3.026 GB, free: 473.7 MB / 1.655 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/7.658, allocations: 14.81 MB / 3.04 GB, free: 457.8 MB / 1.655 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04326/7.702, allocations: 2.761 MB / 3.043 GB, free: 455 MB / 1.655 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00633/7.708, allocations: 1.019 MB / 3.044 GB, free: 454 MB / 1.655 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15 hexDis.ele[1].vol2.dynBal.medium.p = hexDis.ele[1].vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 706 * Number of states: 0 () * Number of discrete variables: 19 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU.flowRegime_nominal,hexWetNTU.dryWetCalcs.fullyDry.cfg,hexWetNTU.dryWetCalcs.fullyWet.cfg,hexWetNTU.dryWetCalcs.cfg,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.dryWetCalcs.fullyDry.cfg,hexWetNTU_TX.dryWetCalcs.fullyWet.cfg,hexWetNTU_TX.dryWetCalcs.cfg,hexWetNTU_TX.flowRegime,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3215): * Single equations (assignments): 3170 * Array equations: 34 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.03506/7.743, allocations: 16.3 MB / 3.06 GB, free: 437.7 MB / 1.655 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0144/7.758, allocations: 3.466 MB / 3.063 GB, free: 434.2 MB / 1.655 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08441/7.842, allocations: 30.84 MB / 3.094 GB, free: 403.3 MB / 1.655 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06451/7.907, allocations: 24.98 MB / 3.118 GB, free: 378.2 MB / 1.655 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.05e-05/7.907, allocations: 0 / 3.118 GB, free: 378.2 MB / 1.655 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02608/7.933, allocations: 7.406 MB / 3.125 GB, free: 370.8 MB / 1.655 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01707/7.95, allocations: 427.9 kB / 3.126 GB, free: 370.4 MB / 1.655 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03563/7.986, allocations: 1.875 MB / 3.127 GB, free: 368.5 MB / 1.655 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00488/7.991, allocations: 0.985 MB / 3.128 GB, free: 367.5 MB / 1.655 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07887/8.069, allocations: 31.87 MB / 3.159 GB, free: 335.9 MB / 1.655 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.09377/8.163, allocations: 46.85 MB / 3.205 GB, free: 288.9 MB / 1.655 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02212/8.185, allocations: 13.86 MB / 3.219 GB, free: 275 MB / 1.655 GB Notification: Performance of sorting global known variables: time 0.05259/8.238, allocations: 27.97 MB / 3.246 GB, free: 247.2 MB / 1.655 GB Notification: Performance of Backend: time 1.002e-06/8.238, allocations: 4 kB / 3.246 GB, free: 247.2 MB / 1.655 GB Notification: Performance of simCode: created initialization part: time 0.07384/8.312, allocations: 24.24 MB / 3.27 GB, free: 223.6 MB / 1.655 GB Notification: Performance of SimCode: time 0.2173/8.529, allocations: 102 MB / 3.369 GB, free: 121.9 MB / 1.655 GB Notification: Performance of Templates: time 3.061/11.59, allocations: 0.792 GB / 4.161 GB, free: 0.5051 GB / 1.655 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe 2>&1)