Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001541/0.001541, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00195/0.00195, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 64.83 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3566, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.135/1.491, allocations: 367.3 MB / 1.426 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05423/1.546, allocations: 33.64 MB / 1.459 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01011/1.556, allocations: 139.1 kB / 1.459 GB, free: 1.012 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008611/1.565, allocations: 1.943 MB / 1.461 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02451/1.589, allocations: 6.941 MB / 1.468 GB, free: 8.086 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01424/1.603, allocations: 4.155 MB / 1.472 GB, free: 3.965 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02082/1.624, allocations: 13.67 MB / 1.485 GB, free: 6.258 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008138/1.632, allocations: 3.286 MB / 1.488 GB, free: 2.91 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/1.649, allocations: 4.741 MB / 1.493 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007933/1.657, allocations: 3.362 MB / 1.496 GB, free: 10.83 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002266/1.66, allocations: 240 kB / 1.497 GB, free: 10.6 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/1.678, allocations: 7.256 MB / 1.504 GB, free: 3.324 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003658/1.682, allocations: 1.163 MB / 1.505 GB, free: 2.156 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007684/1.69, allocations: 2.511 MB / 1.507 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02638/1.716, allocations: 9.8 MB / 1.517 GB, free: 5.805 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.716, allocations: 0 / 1.517 GB, free: 5.805 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.485e-06/1.716, allocations: 0 / 1.517 GB, free: 5.805 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003314/1.717, allocations: 4 kB / 1.517 GB, free: 5.801 MB / 1.123 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.02203/1.739, allocations: 5.947 MB / 1.523 GB, free: 15.75 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.739, allocations: 8.031 kB / 1.523 GB, free: 15.74 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03354/1.772, allocations: 4.29 MB / 1.527 GB, free: 11.44 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/1.783, allocations: 3.603 MB / 1.53 GB, free: 7.773 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001746/1.785, allocations: 0.5244 MB / 1.531 GB, free: 7.242 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/1.787, allocations: 359.9 kB / 1.531 GB, free: 6.891 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/1.808, allocations: 5.708 MB / 1.537 GB, free: 1.098 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/1.808, allocations: 4 kB / 1.537 GB, free: 1.094 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/1.81, allocations: 132 kB / 1.537 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002215/1.81, allocations: 134.5 kB / 1.537 GB, free: 0.832 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02673/1.836, allocations: 6.833 MB / 1.544 GB, free: 9.988 MB / 1.154 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.05267/1.889, allocations: 22.27 MB / 1.565 GB, free: 2.59 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/1.902, allocations: 4.043 MB / 1.569 GB, free: 14.54 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007288/1.909, allocations: 2.25 MB / 1.572 GB, free: 12.29 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01937/1.929, allocations: 8.16 MB / 1.58 GB, free: 3.754 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00829/1.937, allocations: 2.497 MB / 1.582 GB, free: 1.238 MB / 1.186 GB Notification: Performance of pre-optimization done (n=228): time 9.237e-06/1.937, allocations: 3.938 kB / 1.582 GB, free: 1.234 MB / 1.186 GB Notification: Performance of matching and sorting (n=228): time 0.0357/1.973, allocations: 8.414 MB / 1.59 GB, free: 8.68 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/1.973, allocations: 124.8 kB / 1.59 GB, free: 8.531 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.983, allocations: 4.321 MB / 1.595 GB, free: 4.191 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0009173/1.984, allocations: 77.7 kB / 1.595 GB, free: 4.109 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002271/1.987, allocations: 1.825 MB / 1.596 GB, free: 2.266 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001485/1.988, allocations: 0.7934 MB / 1.597 GB, free: 1.461 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003291/1.992, allocations: 0.8159 MB / 1.598 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.992, allocations: 305.1 kB / 1.598 GB, free: 344 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009441/2.001, allocations: 2.747 MB / 1.601 GB, free: 13.58 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01048/2.012, allocations: 3.463 MB / 1.604 GB, free: 9.875 MB / 1.217 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.02061/2.032, allocations: 5.95 MB / 1.61 GB, free: 3.691 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.113e-05/2.032, allocations: 4 kB / 1.61 GB, free: 3.688 MB / 1.217 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03144/2.064, allocations: 7.612 MB / 1.618 GB, free: 12.01 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/2.064, allocations: 8 kB / 1.618 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/2.064, allocations: 16 kB / 1.618 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004386/2.068, allocations: 0.9676 MB / 1.619 GB, free: 10.99 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009776/2.078, allocations: 1.416 MB / 1.62 GB, free: 9.57 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/2.096, allocations: 13.72 MB / 1.633 GB, free: 10.81 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/2.109, allocations: 1.311 MB / 1.635 GB, free: 9.496 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/2.11, allocations: 183.8 kB / 1.635 GB, free: 9.316 MB / 1.248 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: 65 * 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 (424): * Single equations (assignments): 409 * 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.003774/2.114, allocations: 0.8724 MB / 1.636 GB, free: 8.434 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002823/2.117, allocations: 422.8 kB / 1.636 GB, free: 8.016 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02472/2.142, allocations: 5.776 MB / 1.642 GB, free: 2.203 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/2.142, allocations: 24 kB / 1.642 GB, free: 2.18 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/2.142, allocations: 0 / 1.642 GB, free: 2.18 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.914e-05/2.142, allocations: 15.89 kB / 1.642 GB, free: 2.164 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03336/2.175, allocations: 10.89 MB / 1.652 GB, free: 7.113 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.88e-05/2.175, allocations: 4 kB / 1.652 GB, free: 7.109 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005517/2.181, allocations: 0.6714 MB / 1.653 GB, free: 6.438 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003916/2.185, allocations: 0.7871 MB / 1.654 GB, free: 5.625 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007865/2.186, allocations: 79.91 kB / 1.654 GB, free: 5.547 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/2.2, allocations: 10.97 MB / 1.665 GB, free: 9.703 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/2.2, allocations: 4 kB / 1.665 GB, free: 9.699 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03145/2.232, allocations: 8.183 MB / 1.673 GB, free: 1.41 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003342/2.235, allocations: 1.061 MB / 1.674 GB, free: 332 kB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001983/2.237, allocations: 51.98 kB / 1.674 GB, free: 280 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008077/2.245, allocations: 0.6016 MB / 1.674 GB, free: 15.67 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007418/2.246, allocations: 173.6 kB / 1.674 GB, free: 15.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006542/2.247, allocations: 107.9 kB / 1.675 GB, free: 15.39 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007357/2.254, allocations: 2.975 MB / 1.677 GB, free: 12.42 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.41e-07/2.254, allocations: 4 kB / 1.677 GB, free: 12.41 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.006643/2.261, allocations: 1.557 MB / 1.679 GB, free: 10.86 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 3 ($whenCondition1,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 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): 8 systems {(1,4), (1,2), (1,4), (1,2), (1,1), (1,1), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002955/2.264, allocations: 1.039 MB / 1.68 GB, free: 9.984 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02259/2.286, allocations: 6.436 MB / 1.686 GB, free: 3.484 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/2.286, allocations: 0 / 1.686 GB, free: 3.484 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.008974/2.295, allocations: 3.003 MB / 1.689 GB, free: 412 kB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01185/2.307, allocations: 1.969 MB / 1.691 GB, free: 14.46 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/2.338, allocations: 10.75 MB / 1.702 GB, free: 3.66 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002926/2.34, allocations: 2.302 MB / 1.704 GB, free: 1.328 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.007979/2.348, allocations: 1.044 MB / 1.705 GB, free: 300 kB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002355/2.351, allocations: 367.2 kB / 1.705 GB, free: 15.93 MB / 1.326 GB Notification: Performance of SimCode: time 8.22e-07/2.351, allocations: 0 / 1.705 GB, free: 15.93 MB / 1.326 GB Notification: Performance of Templates: time 0.7986/3.149, allocations: 96.13 MB / 1.799 GB, free: 0.5018 GB / 1.373 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)