Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001367/0.001367, allocations: 112.5 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.001303/0.001303, allocations: 187.9 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 59.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.759, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow): time 0.4863/1.245, allocations: 490.2 MB / 1.567 GB, free: 2.453 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.8125/2.058, allocations: 47.9 MB / 1.614 GB, free: 75.53 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01084/2.069, allocations: 235.3 kB / 1.614 GB, free: 75.53 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01047/2.079, allocations: 3.674 MB / 1.618 GB, free: 75.52 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.03219/2.112, allocations: 11.73 MB / 1.629 GB, free: 75.18 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.01831/2.13, allocations: 6.924 MB / 1.636 GB, free: 75.02 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.1605/2.29, allocations: 127.8 MB / 1.761 GB, free: 44.32 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09715/2.388, allocations: 60.88 MB / 1.82 GB, free: 15.89 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09406/2.482, allocations: 43.77 MB / 1.863 GB, free: 6.254 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07249/2.554, allocations: 37.09 MB / 1.899 GB, free: 3.895 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.02177/2.576, allocations: 6.133 MB / 1.905 GB, free: 13.76 MB / 1.42 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06156/2.638, allocations: 15.7 MB / 1.921 GB, free: 15.08 MB / 1.436 GB Notification: Performance of NFScalarize.scalarize: time 0.03143/2.669, allocations: 16.44 MB / 1.937 GB, free: 14.94 MB / 1.451 GB Notification: Performance of NFVerifyModel.verify: time 0.07226/2.741, allocations: 30.36 MB / 1.966 GB, free: 0.6953 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.1299/2.871, allocations: 95.92 MB / 2.06 GB, free: 2.633 MB / 1.561 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/2.871, allocations: 0 / 2.06 GB, free: 2.633 MB / 1.561 GB Notification: Performance of FrontEnd: time 2.474e-06/2.871, allocations: 0 / 2.06 GB, free: 2.633 MB / 1.561 GB Notification: Performance of Transformations before backend: time 0.002895/2.874, allocations: 0 / 2.06 GB, free: 2.633 MB / 1.561 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 0.164/3.038, allocations: 54.05 MB / 2.113 GB, free: 12.81 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/3.038, allocations: 8.031 kB / 2.113 GB, free: 12.8 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09206/3.13, allocations: 13.4 MB / 2.126 GB, free: 15.39 MB / 1.639 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1174/3.248, allocations: 46.87 MB / 2.172 GB, free: 1.195 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116/4.364, allocations: 2.56 MB / 2.174 GB, free: 0.6798 GB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01569/4.38, allocations: 3.383 MB / 2.177 GB, free: 0.6798 GB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1553/4.536, allocations: 53.01 MB / 2.229 GB, free: 0.6602 GB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001829/4.537, allocations: 98.02 kB / 2.229 GB, free: 0.6602 GB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01235/4.55, allocations: 1.376 MB / 2.231 GB, free: 0.6592 GB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/4.552, allocations: 1.519 MB / 2.232 GB, free: 0.6591 GB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1261/4.678, allocations: 48.23 MB / 2.279 GB, free: 0.6389 GB / 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.3397/5.018, allocations: 225.5 MB / 2.5 GB, free: 429.9 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04795/5.066, allocations: 29.7 MB / 2.529 GB, free: 400.1 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03357/5.1, allocations: 21.02 MB / 2.549 GB, free: 379.1 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1381/5.238, allocations: 62.88 MB / 2.61 GB, free: 316.3 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03052/5.268, allocations: 15.79 MB / 2.626 GB, free: 300.4 MB / 1.67 GB Notification: Performance of pre-optimization done (n=1799): time 2.331e-05/5.268, allocations: 0 / 2.626 GB, free: 300.4 MB / 1.67 GB Notification: Performance of matching and sorting (n=1801): time 0.1786/5.447, allocations: 73.01 MB / 2.697 GB, free: 227.3 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003835/5.447, allocations: 1.762 MB / 2.699 GB, free: 225.2 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0691/5.517, allocations: 39.46 MB / 2.737 GB, free: 186 MB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.004503/5.521, allocations: 444.4 kB / 2.738 GB, free: 185.5 MB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.01949/5.541, allocations: 19.98 MB / 2.757 GB, free: 165.5 MB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.008206/5.549, allocations: 6.42 MB / 2.764 GB, free: 159.2 MB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01245/5.561, allocations: 5.256 MB / 2.769 GB, free: 153.9 MB / 1.67 GB Notification: Performance of setup shared object (initialization): time 4.001e-05/5.561, allocations: 305.1 kB / 2.769 GB, free: 153.6 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02654/5.588, allocations: 14.67 MB / 2.783 GB, free: 139 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03278/5.621, allocations: 22.28 MB / 2.805 GB, free: 114.1 MB / 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.2823/5.903, allocations: 96.19 MB / 2.899 GB, free: 15.76 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001874/5.903, allocations: 47.94 kB / 2.899 GB, free: 15.71 MB / 1.67 GB Notification: Performance of matching and sorting (n=3269) (initialization): time 1.287/7.19, allocations: 40.92 MB / 2.939 GB, free: 0.6017 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004374/7.191, allocations: 72.12 kB / 2.939 GB, free: 0.6017 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00059/7.191, allocations: 155.3 kB / 2.939 GB, free: 0.6017 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005352/7.196, allocations: 1.214 MB / 2.94 GB, free: 0.6016 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03449/7.231, allocations: 6.635 MB / 2.947 GB, free: 0.6016 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/7.248, allocations: 14.79 MB / 2.961 GB, free: 0.5901 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04379/7.292, allocations: 2.749 MB / 2.964 GB, free: 0.5901 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007119/7.299, allocations: 1.015 MB / 2.965 GB, free: 0.5901 GB / 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: 708 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3209): * Single equations (assignments): 3164 * 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.04266/7.342, allocations: 16.3 MB / 2.981 GB, free: 0.584 GB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01565/7.358, allocations: 3.46 MB / 2.984 GB, free: 0.584 GB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08737/7.445, allocations: 30.87 MB / 3.015 GB, free: 0.5728 GB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06466/7.51, allocations: 24.99 MB / 3.039 GB, free: 0.5641 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001137/7.51, allocations: 3.75 kB / 3.039 GB, free: 0.5641 GB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02554/7.536, allocations: 7.397 MB / 3.046 GB, free: 0.5617 GB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01712/7.553, allocations: 437.8 kB / 3.047 GB, free: 0.5614 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03379/7.587, allocations: 1.852 MB / 3.048 GB, free: 0.5612 GB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005394/7.592, allocations: 0.9847 MB / 3.049 GB, free: 0.561 GB / 1.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.08717/7.679, allocations: 31.89 MB / 3.08 GB, free: 0.5511 GB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1058/7.785, allocations: 46.89 MB / 3.126 GB, free: 0.5246 GB / 1.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02532/7.81, allocations: 13.87 MB / 3.14 GB, free: 0.511 GB / 1.67 GB Notification: Performance of sorting global known variables: time 0.06733/7.878, allocations: 27.96 MB / 3.167 GB, free: 495.6 MB / 1.67 GB Notification: Performance of Backend: time 1.202e-06/7.878, allocations: 0 / 3.167 GB, free: 495.6 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.09955/7.977, allocations: 24.3 MB / 3.191 GB, free: 472.3 MB / 1.67 GB Notification: Performance of SimCode: time 0.2586/8.236, allocations: 102 MB / 3.29 GB, free: 371 MB / 1.67 GB Notification: Performance of Templates: time 2.446/10.68, allocations: 0.7916 GB / 4.082 GB, free: 220.3 MB / 1.67 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTUCounterFlow.pipe 2>&1)