Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 108.5 kB / 16.41 MB, free: 6.406 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.002028/0.002029, allocations: 192.3 kB / 17.35 MB, free: 5.691 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.07 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.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8567/0.858, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.3856/1.244, allocations: 369.8 MB / 1.45 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04737/1.291, allocations: 33.31 MB / 1.482 GB, free: 9.84 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006513/1.298, allocations: 155.1 kB / 1.482 GB, free: 9.688 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006909/1.305, allocations: 2.438 MB / 1.485 GB, free: 7.234 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02243/1.327, allocations: 7.829 MB / 1.492 GB, free: 15.37 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01213/1.339, allocations: 4.574 MB / 1.497 GB, free: 10.82 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0168/1.356, allocations: 11.08 MB / 1.508 GB, free: 15.71 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007943/1.364, allocations: 3.976 MB / 1.512 GB, free: 11.67 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01445/1.379, allocations: 5.572 MB / 1.517 GB, free: 6.148 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007398/1.386, allocations: 3.449 MB / 1.52 GB, free: 2.695 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.00222/1.388, allocations: 0.5508 MB / 1.521 GB, free: 2.145 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/1.404, allocations: 6.822 MB / 1.528 GB, free: 11.31 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002753/1.407, allocations: 1.46 MB / 1.529 GB, free: 9.844 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.006122/1.413, allocations: 2.835 MB / 1.532 GB, free: 6.996 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02095/1.434, allocations: 9.75 MB / 1.541 GB, free: 13.22 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/1.434, allocations: 3.984 kB / 1.541 GB, free: 13.21 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.094e-06/1.434, allocations: 0 / 1.541 GB, free: 13.21 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002823/1.434, allocations: 4 kB / 1.541 GB, free: 13.21 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01824/1.452, allocations: 5.941 MB / 1.547 GB, free: 7.168 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/1.452, allocations: 8.031 kB / 1.547 GB, free: 7.16 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03144/1.484, allocations: 4.29 MB / 1.551 GB, free: 2.859 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/1.494, allocations: 3.704 MB / 1.555 GB, free: 15.09 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004673/1.495, allocations: 309 kB / 1.555 GB, free: 14.78 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/1.496, allocations: 352 kB / 1.556 GB, free: 14.43 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/1.516, allocations: 5.689 MB / 1.561 GB, free: 8.66 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/1.516, allocations: 3.938 kB / 1.561 GB, free: 8.656 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/1.517, allocations: 132 kB / 1.561 GB, free: 8.527 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/1.517, allocations: 134.5 kB / 1.561 GB, free: 8.395 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02394/1.541, allocations: 6.81 MB / 1.568 GB, free: 1.574 MB / 1.295 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.6583/2.2, allocations: 22.12 MB / 1.59 GB, free: 436.4 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/2.213, allocations: 4.059 MB / 1.594 GB, free: 435.3 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008013/2.221, allocations: 2.268 MB / 1.596 GB, free: 434.6 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01647/2.237, allocations: 8.187 MB / 1.604 GB, free: 429.7 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007504/2.245, allocations: 2.393 MB / 1.606 GB, free: 429 MB / 1.311 GB Notification: Performance of pre-optimization done (n=230): time 5.149e-06/2.245, allocations: 0 / 1.606 GB, free: 429 MB / 1.311 GB Notification: Performance of matching and sorting (n=230): time 0.03387/2.279, allocations: 8.44 MB / 1.614 GB, free: 426.5 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/2.279, allocations: 76 kB / 1.614 GB, free: 426.4 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009313/2.288, allocations: 4.284 MB / 1.619 GB, free: 424.9 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.000807/2.289, allocations: 75.17 kB / 1.619 GB, free: 424.8 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/2.291, allocations: 1.815 MB / 1.621 GB, free: 423.4 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/2.292, allocations: 0.8037 MB / 1.621 GB, free: 422.8 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002109/2.294, allocations: 0.8062 MB / 1.622 GB, free: 422.5 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 4.255e-05/2.294, allocations: 310.9 kB / 1.622 GB, free: 422.2 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009284/2.304, allocations: 2.713 MB / 1.625 GB, free: 421.4 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/2.314, allocations: 3.41 MB / 1.628 GB, free: 419.8 MB / 1.311 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. Notification: Performance of analyzeInitialSystem (initialization): time 0.01893/2.333, allocations: 5.939 MB / 1.634 GB, free: 417.2 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.824e-05/2.333, allocations: 4.312 kB / 1.634 GB, free: 417.2 MB / 1.311 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.0288/2.362, allocations: 7.548 MB / 1.642 GB, free: 414.7 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/2.362, allocations: 11.53 kB / 1.642 GB, free: 414.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/2.362, allocations: 18.41 kB / 1.642 GB, free: 414.7 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/2.366, allocations: 0.9713 MB / 1.643 GB, free: 414.4 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009392/2.375, allocations: 1.406 MB / 1.644 GB, free: 414.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/2.391, allocations: 14.46 MB / 1.658 GB, free: 401.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/2.403, allocations: 1.164 MB / 1.659 GB, free: 400.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/2.404, allocations: 182.9 kB / 1.659 GB, free: 400.7 MB / 1.311 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (418): * Single equations (assignments): 403 * Array equations: 4 * 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.003463/2.408, allocations: 0.8672 MB / 1.66 GB, free: 400.2 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002112/2.41, allocations: 421.6 kB / 1.661 GB, free: 400 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/2.431, allocations: 5.798 MB / 1.666 GB, free: 397.8 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-05/2.432, allocations: 13.33 kB / 1.666 GB, free: 397.8 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/2.432, allocations: 0 / 1.666 GB, free: 397.8 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003386/2.435, allocations: 1.055 MB / 1.667 GB, free: 396.9 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001927/2.437, allocations: 45.56 kB / 1.667 GB, free: 396.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00731/2.444, allocations: 0.5275 MB / 1.668 GB, free: 396.6 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008609/2.445, allocations: 166.2 kB / 1.668 GB, free: 396.5 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0222/2.467, allocations: 5.292 MB / 1.673 GB, free: 393.9 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02172/2.489, allocations: 7.336 MB / 1.68 GB, free: 390 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006339/2.495, allocations: 2.134 MB / 1.682 GB, free: 388.9 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00694/2.502, allocations: 2.953 MB / 1.685 GB, free: 387.4 MB / 1.311 GB Notification: Performance of Backend: time 8.51e-07/2.502, allocations: 0 / 1.685 GB, free: 387.4 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02361/2.526, allocations: 6.39 MB / 1.692 GB, free: 384.4 MB / 1.311 GB Notification: Performance of SimCode: time 0.01897/2.545, allocations: 8.635 MB / 1.7 GB, free: 378.1 MB / 1.311 GB Notification: Performance of Templates: time 0.1526/2.698, allocations: 117.9 MB / 1.815 GB, free: 261.1 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)