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 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.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.001177/0.001177, allocations: 110.7 kB / 16.42 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.001241/0.001241, allocations: 189.5 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 68.11 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.877/0.8784, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow): time 1.3/2.178, allocations: 490.2 MB / 1.687 GB, free: 49.85 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.06046/2.239, allocations: 47.94 MB / 1.734 GB, free: 45.9 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.012/2.251, allocations: 236 kB / 1.734 GB, free: 45.9 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01142/2.262, allocations: 3.547 MB / 1.738 GB, free: 45.11 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03338/2.296, allocations: 11.24 MB / 1.749 GB, free: 42.04 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01855/2.314, allocations: 6.893 MB / 1.755 GB, free: 37.84 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1723/2.487, allocations: 127.6 MB / 1.88 GB, free: 1.578 MB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1131/2.6, allocations: 60.89 MB / 1.94 GB, free: 5.113 MB / 1.42 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09299/2.693, allocations: 43.67 MB / 1.982 GB, free: 11.55 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07132/2.764, allocations: 37.1 MB / 2.018 GB, free: 9.094 MB / 1.498 GB Notification: Performance of NFPackage.collectConstants: time 0.02082/2.785, allocations: 6.137 MB / 2.024 GB, free: 2.957 MB / 1.498 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05821/2.843, allocations: 15.67 MB / 2.04 GB, free: 4.305 MB / 1.514 GB Notification: Performance of NFScalarize.scalarize: time 0.0369/2.88, allocations: 16.45 MB / 2.056 GB, free: 4.051 MB / 1.529 GB Notification: Performance of NFVerifyModel.verify: time 0.07225/2.953, allocations: 30.37 MB / 2.085 GB, free: 5.789 MB / 1.561 GB Notification: Performance of NFConvertDAE.convert: time 0.1411/3.094, allocations: 95.94 MB / 2.179 GB, free: 7.719 MB / 1.654 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/3.094, allocations: 4 kB / 2.179 GB, free: 7.715 MB / 1.654 GB Notification: Performance of FrontEnd: time 2.544e-06/3.094, allocations: 0 / 2.179 GB, free: 7.715 MB / 1.654 GB Notification: Performance of Transformations before backend: time 0.002873/3.097, allocations: 0 / 2.179 GB, free: 7.715 MB / 1.654 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.604/4.7, allocations: 54.05 MB / 2.232 GB, free: 0.6097 GB / 1.654 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/4.7, allocations: 7.094 kB / 2.232 GB, free: 0.6097 GB / 1.654 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08981/4.79, allocations: 13.4 MB / 2.245 GB, free: 0.5978 GB / 1.654 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09215/4.882, allocations: 46.88 MB / 2.291 GB, free: 0.5527 GB / 1.654 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002661/4.885, allocations: 2.565 MB / 2.293 GB, free: 0.5502 GB / 1.654 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01554/4.901, allocations: 3.389 MB / 2.297 GB, free: 0.5469 GB / 1.654 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1329/5.034, allocations: 53.01 MB / 2.348 GB, free: 0.4941 GB / 1.654 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001767/5.036, allocations: 103.1 kB / 2.348 GB, free: 0.494 GB / 1.654 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.013/5.049, allocations: 1.367 MB / 2.35 GB, free: 0.4927 GB / 1.654 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001403/5.05, allocations: 1.523 MB / 2.351 GB, free: 0.4912 GB / 1.654 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1121/5.162, allocations: 48.21 MB / 2.398 GB, free: 454.8 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.3471/5.509, allocations: 225.6 MB / 2.619 GB, free: 217.4 MB / 1.654 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05158/5.561, allocations: 29.67 MB / 2.648 GB, free: 187.5 MB / 1.654 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03532/5.596, allocations: 21 MB / 2.668 GB, free: 166.5 MB / 1.654 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1324/5.729, allocations: 62.86 MB / 2.729 GB, free: 103.1 MB / 1.654 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03207/5.761, allocations: 15.78 MB / 2.745 GB, free: 87.02 MB / 1.654 GB Notification: Performance of pre-optimization done (n=1797): time 2.733e-05/5.761, allocations: 0 / 2.745 GB, free: 87.02 MB / 1.654 GB Notification: Performance of matching and sorting (n=1799): time 0.2044/5.965, allocations: 72.99 MB / 2.816 GB, free: 13.67 MB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004758/5.966, allocations: 1.804 MB / 2.818 GB, free: 11.47 MB / 1.654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.558/7.524, allocations: 39.49 MB / 2.857 GB, free: 0.5527 GB / 1.655 GB Notification: Performance of collectPreVariables (initialization): time 0.006079/7.53, allocations: 446.6 kB / 2.857 GB, free: 0.5524 GB / 1.655 GB Notification: Performance of collectInitialEqns (initialization): time 0.02724/7.558, allocations: 19.97 MB / 2.876 GB, free: 0.5427 GB / 1.655 GB Notification: Performance of collectInitialBindings (initialization): time 0.01071/7.568, allocations: 6.412 MB / 2.883 GB, free: 0.5395 GB / 1.655 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02294/7.591, allocations: 5.28 MB / 2.888 GB, free: 0.5373 GB / 1.655 GB Notification: Performance of setup shared object (initialization): time 4.88e-05/7.592, allocations: 301.1 kB / 2.888 GB, free: 0.537 GB / 1.655 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03238/7.624, allocations: 14.68 MB / 2.902 GB, free: 0.5321 GB / 1.655 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03975/7.664, allocations: 22.32 MB / 2.924 GB, free: 0.5189 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.2967/7.96, allocations: 96.2 MB / 3.018 GB, free: 449.8 MB / 1.655 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001811/7.961, allocations: 44 kB / 3.018 GB, free: 449.7 MB / 1.655 GB Notification: Performance of matching and sorting (n=3275) (initialization): time 0.1115/8.072, allocations: 40.93 MB / 3.058 GB, free: 408.7 MB / 1.655 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003417/8.073, allocations: 80.72 kB / 3.058 GB, free: 408.7 MB / 1.655 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003841/8.073, allocations: 156 kB / 3.058 GB, free: 408.5 MB / 1.655 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004405/8.077, allocations: 1.214 MB / 3.06 GB, free: 407.3 MB / 1.655 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03185/8.109, allocations: 6.626 MB / 3.066 GB, free: 400.6 MB / 1.655 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/8.125, allocations: 14.8 MB / 3.081 GB, free: 384.8 MB / 1.655 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04346/8.168, allocations: 2.767 MB / 3.083 GB, free: 382 MB / 1.655 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006947/8.175, allocations: 1.019 MB / 3.084 GB, free: 381 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.03525/8.21, allocations: 16.3 MB / 3.1 GB, free: 364.7 MB / 1.655 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01367/8.224, allocations: 3.462 MB / 3.104 GB, free: 361.2 MB / 1.655 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08132/8.305, allocations: 30.86 MB / 3.134 GB, free: 330.3 MB / 1.655 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06178/8.367, allocations: 24.97 MB / 3.158 GB, free: 305.2 MB / 1.655 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.499e-05/8.367, allocations: 0 / 3.158 GB, free: 305.2 MB / 1.655 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02186/8.389, allocations: 7.402 MB / 3.165 GB, free: 297.8 MB / 1.655 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01385/8.403, allocations: 431.9 kB / 3.166 GB, free: 297.3 MB / 1.655 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03343/8.436, allocations: 1.869 MB / 3.168 GB, free: 295.5 MB / 1.655 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004883/8.441, allocations: 0.9812 MB / 3.169 GB, free: 294.5 MB / 1.655 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0782/8.52, allocations: 31.88 MB / 3.2 GB, free: 262.8 MB / 1.655 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.09189/8.612, allocations: 46.84 MB / 3.245 GB, free: 215.9 MB / 1.655 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02188/8.633, allocations: 13.87 MB / 3.259 GB, free: 202 MB / 1.655 GB Notification: Performance of sorting global known variables: time 0.05528/8.689, allocations: 27.97 MB / 3.286 GB, free: 174.2 MB / 1.655 GB Notification: Performance of Backend: time 9.92e-07/8.689, allocations: 0 / 3.286 GB, free: 174.2 MB / 1.655 GB Notification: Performance of simCode: created initialization part: time 0.08327/8.772, allocations: 24.24 MB / 3.31 GB, free: 150.6 MB / 1.655 GB Notification: Performance of SimCode: time 0.2248/8.997, allocations: 102 MB / 3.409 GB, free: 49.11 MB / 1.655 GB Notification: Performance of Templates: time 3.585/12.58, allocations: 0.7919 GB / 4.201 GB, free: 0.4916 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)