Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001633/0.001633, allocations: 114.5 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.001762/0.001763, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.387/1.387, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.89 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.8669, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow): time 1.316/2.183, allocations: 490.2 MB / 1.705 GB, free: 33.85 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.06198/2.245, allocations: 47.97 MB / 1.752 GB, free: 27.43 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01282/2.258, allocations: 234 kB / 1.752 GB, free: 27.43 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01023/2.268, allocations: 3.669 MB / 1.756 GB, free: 26.59 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03149/2.299, allocations: 11.72 MB / 1.767 GB, free: 22.35 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01859/2.318, allocations: 6.975 MB / 1.774 GB, free: 18.1 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1709/2.489, allocations: 127.7 MB / 1.899 GB, free: 10.98 MB / 1.389 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09899/2.588, allocations: 60.82 MB / 1.958 GB, free: 14.6 MB / 1.451 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08196/2.67, allocations: 43.73 MB / 2.001 GB, free: 4.977 MB / 1.482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0768/2.747, allocations: 37.09 MB / 2.037 GB, free: 2.523 MB / 1.514 GB Notification: Performance of NFPackage.collectConstants: time 0.01933/2.766, allocations: 6.137 MB / 2.043 GB, free: 12.38 MB / 1.529 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05123/2.817, allocations: 15.69 MB / 2.058 GB, free: 13.71 MB / 1.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02952/2.847, allocations: 16.45 MB / 2.074 GB, free: 13.48 MB / 1.561 GB Notification: Performance of NFVerifyModel.verify: time 0.06765/2.915, allocations: 30.37 MB / 2.104 GB, free: 15.22 MB / 1.592 GB Notification: Performance of NFConvertDAE.convert: time 0.1384/3.053, allocations: 96.21 MB / 2.198 GB, free: 0.8398 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/3.053, allocations: 3.938 kB / 2.198 GB, free: 0.8359 MB / 1.67 GB Notification: Performance of FrontEnd: time 1.793e-06/3.053, allocations: 0 / 2.198 GB, free: 0.8359 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.003019/3.056, allocations: 0 / 2.198 GB, free: 0.8359 MB / 1.67 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.539/4.595, allocations: 55.42 MB / 2.252 GB, free: 0.6083 GB / 1.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/4.595, allocations: 10.22 kB / 2.252 GB, free: 0.6083 GB / 1.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09059/4.686, allocations: 13.65 MB / 2.265 GB, free: 0.5953 GB / 1.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1013/4.787, allocations: 47.15 MB / 2.311 GB, free: 0.5499 GB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002691/4.79, allocations: 2.561 MB / 2.314 GB, free: 0.5475 GB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01353/4.804, allocations: 3.389 MB / 2.317 GB, free: 0.5442 GB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1343/4.938, allocations: 53.02 MB / 2.369 GB, free: 0.4914 GB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001873/4.94, allocations: 95.3 kB / 2.369 GB, free: 0.4913 GB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01268/4.953, allocations: 1.37 MB / 2.37 GB, free: 0.49 GB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00123/4.954, allocations: 1.523 MB / 2.372 GB, free: 0.4885 GB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1094/5.063, allocations: 48.21 MB / 2.419 GB, free: 452 MB / 1.67 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.3279/5.391, allocations: 226 MB / 2.64 GB, free: 214.1 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05039/5.442, allocations: 29.66 MB / 2.669 GB, free: 184.2 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03411/5.476, allocations: 21.01 MB / 2.689 GB, free: 163.1 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1309/5.607, allocations: 62.92 MB / 2.751 GB, free: 99.66 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03265/5.639, allocations: 15.78 MB / 2.766 GB, free: 83.62 MB / 1.67 GB Notification: Performance of pre-optimization done (n=1797): time 3.037e-05/5.639, allocations: 0 / 2.766 GB, free: 83.62 MB / 1.67 GB Notification: Performance of matching and sorting (n=1799): time 0.2036/5.843, allocations: 73.64 MB / 2.838 GB, free: 9.688 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004281/5.843, allocations: 1.812 MB / 2.84 GB, free: 7.477 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8923/6.736, allocations: 39.51 MB / 2.878 GB, free: 0.5608 GB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.005207/6.741, allocations: 440.7 kB / 2.879 GB, free: 0.5605 GB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.02752/6.769, allocations: 20.34 MB / 2.899 GB, free: 0.551 GB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.01034/6.779, allocations: 6.73 MB / 2.905 GB, free: 0.5478 GB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0231/6.802, allocations: 5.293 MB / 2.91 GB, free: 0.5455 GB / 1.67 GB Notification: Performance of setup shared object (initialization): time 5.244e-05/6.802, allocations: 305.1 kB / 2.911 GB, free: 0.5452 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03147/6.834, allocations: 14.68 MB / 2.925 GB, free: 0.5403 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04139/6.875, allocations: 22.32 MB / 2.947 GB, free: 0.5272 GB / 1.67 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.2801/7.155, allocations: 96.2 MB / 3.041 GB, free: 458.1 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002123/7.155, allocations: 51.47 kB / 3.041 GB, free: 458 MB / 1.67 GB Notification: Performance of matching and sorting (n=3275) (initialization): time 0.1016/7.257, allocations: 41.11 MB / 3.081 GB, free: 416.9 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002029/7.257, allocations: 68 kB / 3.081 GB, free: 416.8 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003782/7.258, allocations: 156 kB / 3.081 GB, free: 416.7 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004207/7.262, allocations: 1.21 MB / 3.082 GB, free: 415.4 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03123/7.293, allocations: 6.627 MB / 3.089 GB, free: 408.8 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/7.308, allocations: 14.79 MB / 3.103 GB, free: 392.9 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04262/7.351, allocations: 2.778 MB / 3.106 GB, free: 390.2 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006364/7.357, allocations: 1.019 MB / 3.107 GB, free: 389.2 MB / 1.67 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.03495/7.392, allocations: 16.29 MB / 3.123 GB, free: 372.8 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01473/7.407, allocations: 3.641 MB / 3.126 GB, free: 369.2 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08589/7.493, allocations: 30.85 MB / 3.157 GB, free: 338.3 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06451/7.557, allocations: 24.97 MB / 3.181 GB, free: 313.2 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-05/7.557, allocations: 0 / 3.181 GB, free: 313.2 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02446/7.582, allocations: 7.577 MB / 3.188 GB, free: 305.6 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01494/7.597, allocations: 431.9 kB / 3.189 GB, free: 305.2 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03283/7.63, allocations: 1.873 MB / 3.191 GB, free: 303.3 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005402/7.635, allocations: 0.9851 MB / 3.192 GB, free: 302.3 MB / 1.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07968/7.715, allocations: 31.88 MB / 3.223 GB, free: 270.7 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.08801/7.803, allocations: 47.02 MB / 3.269 GB, free: 223.5 MB / 1.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02195/7.825, allocations: 13.86 MB / 3.282 GB, free: 209.7 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.05837/7.883, allocations: 27.97 MB / 3.309 GB, free: 181.9 MB / 1.67 GB Notification: Performance of Backend: time 1.012e-06/7.883, allocations: 0.6562 kB / 3.309 GB, free: 181.9 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.08344/7.967, allocations: 24.28 MB / 3.333 GB, free: 158 MB / 1.67 GB Notification: Performance of SimCode: time 0.23/8.197, allocations: 103.3 MB / 3.434 GB, free: 55.16 MB / 1.67 GB Notification: Performance of Templates: time 3.385/11.58, allocations: 0.7919 GB / 4.226 GB, free: 0.4901 GB / 1.67 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe 2>&1)