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.001162/0.001162, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.01034/0.01034, allocations: 172 kB / 16.26 MB, free: 6.613 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 13.47 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.055/1.408, allocations: 362.3 MB / 1.428 GB, free: 4.914 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05228/1.46, allocations: 33.3 MB / 1.46 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009948/1.47, allocations: 129.8 kB / 1.461 GB, free: 9.867 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007603/1.478, allocations: 1.943 MB / 1.462 GB, free: 8.262 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0239/1.502, allocations: 6.938 MB / 1.469 GB, free: 2.777 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01277/1.514, allocations: 4.16 MB / 1.473 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01987/1.534, allocations: 13.66 MB / 1.487 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006531/1.541, allocations: 3.189 MB / 1.49 GB, free: 13.7 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01567/1.556, allocations: 4.635 MB / 1.494 GB, free: 9.09 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007351/1.564, allocations: 3.223 MB / 1.497 GB, free: 5.863 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00147/1.565, allocations: 192 kB / 1.498 GB, free: 5.676 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01703/1.582, allocations: 7.206 MB / 1.505 GB, free: 14.45 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002654/1.585, allocations: 1.085 MB / 1.506 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00549/1.591, allocations: 2.446 MB / 1.508 GB, free: 10.9 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01957/1.61, allocations: 9.599 MB / 1.517 GB, free: 1.27 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.61, allocations: 0 / 1.517 GB, free: 1.27 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.354e-06/1.61, allocations: 0 / 1.517 GB, free: 1.27 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002433/1.611, allocations: 0 / 1.517 GB, free: 1.27 MB / 1.107 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.01342/1.624, allocations: 4.977 MB / 1.522 GB, free: 12.19 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.624, allocations: 8.031 kB / 1.522 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03286/1.657, allocations: 4.567 MB / 1.527 GB, free: 7.602 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008683/1.666, allocations: 3.603 MB / 1.53 GB, free: 3.934 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00168/1.667, allocations: 0.5557 MB / 1.531 GB, free: 3.371 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/1.669, allocations: 359.9 kB / 1.531 GB, free: 3.02 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/1.686, allocations: 5.814 MB / 1.537 GB, free: 13.12 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.552e-05/1.686, allocations: 11.88 kB / 1.537 GB, free: 13.11 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005284/1.686, allocations: 135.9 kB / 1.537 GB, free: 12.98 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/1.686, allocations: 134.5 kB / 1.537 GB, free: 12.84 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02313/1.709, allocations: 7.029 MB / 1.544 GB, free: 5.805 MB / 1.139 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.04531/1.755, allocations: 22.54 MB / 1.566 GB, free: 14.14 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/1.767, allocations: 4.106 MB / 1.57 GB, free: 10.02 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00729/1.775, allocations: 2.324 MB / 1.572 GB, free: 7.695 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01591/1.79, allocations: 8.184 MB / 1.58 GB, free: 15.14 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007756/1.798, allocations: 2.563 MB / 1.583 GB, free: 12.56 MB / 1.186 GB Notification: Performance of pre-optimization done (n=228): time 5.27e-06/1.798, allocations: 0 / 1.583 GB, free: 12.56 MB / 1.186 GB Notification: Performance of matching and sorting (n=228): time 0.03604/1.834, allocations: 8.687 MB / 1.591 GB, free: 3.73 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/1.834, allocations: 128.8 kB / 1.591 GB, free: 3.582 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/1.845, allocations: 4.353 MB / 1.596 GB, free: 15.21 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0007824/1.846, allocations: 73.7 kB / 1.596 GB, free: 15.13 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002003/1.848, allocations: 1.826 MB / 1.598 GB, free: 13.29 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001384/1.849, allocations: 0.7895 MB / 1.598 GB, free: 12.49 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/1.85, allocations: 313.2 kB / 1.599 GB, free: 12.18 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/1.85, allocations: 301.1 kB / 1.599 GB, free: 11.88 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01034/1.861, allocations: 2.837 MB / 1.602 GB, free: 9.039 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/1.871, allocations: 3.549 MB / 1.605 GB, free: 5.246 MB / 1.201 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.02037/1.892, allocations: 6.103 MB / 1.611 GB, free: 14.91 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.495e-05/1.892, allocations: 4 kB / 1.611 GB, free: 14.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03087/1.923, allocations: 7.815 MB / 1.619 GB, free: 7.02 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/1.923, allocations: 12 kB / 1.619 GB, free: 7.008 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/1.923, allocations: 12.5 kB / 1.619 GB, free: 6.996 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004428/1.927, allocations: 0.9909 MB / 1.62 GB, free: 5.977 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009465/1.937, allocations: 1.436 MB / 1.621 GB, free: 4.539 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/1.955, allocations: 13.82 MB / 1.635 GB, free: 5.688 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/1.968, allocations: 1.39 MB / 1.636 GB, free: 4.293 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.969, allocations: 187.8 kB / 1.636 GB, free: 4.109 MB / 1.232 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.003531/1.972, allocations: 0.8585 MB / 1.637 GB, free: 3.238 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001836/1.974, allocations: 426.7 kB / 1.637 GB, free: 2.816 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02432/1.999, allocations: 5.935 MB / 1.643 GB, free: 12.84 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/1.999, allocations: 31.98 kB / 1.643 GB, free: 12.81 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.999, allocations: 0 / 1.643 GB, free: 12.81 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.898e-05/1.999, allocations: 15.89 kB / 1.643 GB, free: 12.8 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03234/2.031, allocations: 11.04 MB / 1.654 GB, free: 1.598 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/2.031, allocations: 4 kB / 1.654 GB, free: 1.594 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004913/2.036, allocations: 0.7026 MB / 1.655 GB, free: 0.8906 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003744/2.04, allocations: 0.7949 MB / 1.655 GB, free: 72 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005513/2.041, allocations: 79.98 kB / 1.656 GB, free: 15.99 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/2.055, allocations: 11.04 MB / 1.666 GB, free: 4.078 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/2.055, allocations: 7.938 kB / 1.666 GB, free: 4.07 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03061/2.085, allocations: 8.398 MB / 1.675 GB, free: 11.57 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003582/2.089, allocations: 1.147 MB / 1.676 GB, free: 10.39 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001693/2.091, allocations: 55.98 kB / 1.676 GB, free: 10.34 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00758/2.098, allocations: 0.6564 MB / 1.676 GB, free: 9.684 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005902/2.099, allocations: 169.7 kB / 1.676 GB, free: 9.516 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004918/2.099, allocations: 107.9 kB / 1.677 GB, free: 9.41 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007919/2.107, allocations: 3.003 MB / 1.68 GB, free: 6.406 MB / 1.279 GB Notification: Performance of sort global known variables: time 5.61e-07/2.107, allocations: 4 kB / 1.68 GB, free: 6.402 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.006849/2.114, allocations: 1.561 MB / 1.681 GB, free: 4.84 MB / 1.279 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.002918/2.117, allocations: 1.055 MB / 1.682 GB, free: 3.957 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02367/2.141, allocations: 6.58 MB / 1.689 GB, free: 13.31 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/2.141, allocations: 1.188 kB / 1.689 GB, free: 13.31 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009105/2.15, allocations: 3.069 MB / 1.692 GB, free: 10.17 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01614/2.166, allocations: 2.055 MB / 1.694 GB, free: 8.152 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/2.203, allocations: 10.95 MB / 1.704 GB, free: 13.13 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003691/2.207, allocations: 2.303 MB / 1.706 GB, free: 10.8 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.008072/2.215, allocations: 1.046 MB / 1.707 GB, free: 9.766 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/2.217, allocations: 379.2 kB / 1.708 GB, free: 9.395 MB / 1.311 GB Notification: Performance of SimCode: time 7.82e-07/2.217, allocations: 0 / 1.708 GB, free: 9.395 MB / 1.311 GB Notification: Performance of Templates: time 0.7794/2.996, allocations: 99.04 MB / 1.805 GB, free: 500 MB / 1.357 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)