Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001562/0.001562, allocations: 99.56 kB / 16.27 MB, free: 5.977 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.001222/0.001222, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 288.2 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.202/1.202, allocations: 178.5 MB / 0.5079 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 99.84 kB / 0.6071 GB, free: 9.285 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1844, allocations: 89.13 MB / 0.6941 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.175/1.359, allocations: 369.7 MB / 1.055 GB, free: 25.69 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04593/1.405, allocations: 33.34 MB / 1.088 GB, free: 25.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008771/1.414, allocations: 152.7 kB / 1.088 GB, free: 25.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.008131/1.422, allocations: 2.363 MB / 1.09 GB, free: 25.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02289/1.445, allocations: 7.507 MB / 1.098 GB, free: 24.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0143/1.459, allocations: 4.558 MB / 1.102 GB, free: 21.87 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01683/1.476, allocations: 11.06 MB / 1.113 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007122/1.483, allocations: 3.992 MB / 1.117 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01491/1.498, allocations: 5.432 MB / 1.122 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00668/1.505, allocations: 3.443 MB / 1.125 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002239/1.507, allocations: 0.5508 MB / 1.126 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01672/1.524, allocations: 6.749 MB / 1.132 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002614/1.527, allocations: 1.471 MB / 1.134 GB, free: 480 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.007373/1.534, allocations: 2.843 MB / 1.137 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02258/1.557, allocations: 9.676 MB / 1.146 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.557, allocations: 0 / 1.146 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.054e-06/1.557, allocations: 4 kB / 1.146 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002915/1.557, allocations: 0 / 1.146 GB, free: 4.477 MB / 0.7481 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.02337/1.58, allocations: 5.954 MB / 1.152 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/1.58, allocations: 8.031 kB / 1.152 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04611/1.627, allocations: 4.288 MB / 1.156 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/1.639, allocations: 3.558 MB / 1.16 GB, free: 6.73 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002082/1.642, allocations: 0.5346 MB / 1.16 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/1.643, allocations: 355.2 kB / 1.16 GB, free: 5.852 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/1.661, allocations: 5.714 MB / 1.166 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/1.661, allocations: 4 kB / 1.166 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005102/1.662, allocations: 144 kB / 1.166 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/1.662, allocations: 138.5 kB / 1.166 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02314/1.685, allocations: 6.821 MB / 1.173 GB, free: 8.984 MB / 0.7794 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.04744/1.733, allocations: 22.36 MB / 1.195 GB, free: 1.848 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/1.745, allocations: 4.026 MB / 1.199 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007272/1.752, allocations: 2.254 MB / 1.201 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01625/1.769, allocations: 8.179 MB / 1.209 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007617/1.776, allocations: 2.492 MB / 1.211 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=228): time 4.939e-06/1.776, allocations: 0 / 1.211 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=228): time 0.03392/1.81, allocations: 8.412 MB / 1.22 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.81, allocations: 131.3 kB / 1.22 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009071/1.82, allocations: 4.333 MB / 1.224 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008383/1.82, allocations: 81.7 kB / 1.224 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/1.822, allocations: 1.824 MB / 1.226 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001322/1.824, allocations: 0.7944 MB / 1.227 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/1.825, allocations: 0.8299 MB / 1.227 GB, free: 12 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.826, allocations: 305.1 kB / 1.228 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009385/1.835, allocations: 2.736 MB / 1.23 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.846, allocations: 3.466 MB / 1.234 GB, free: 9.273 MB / 0.8419 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.02014/1.866, allocations: 5.954 MB / 1.24 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.293e-05/1.866, allocations: 7.375 kB / 1.24 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03001/1.896, allocations: 7.603 MB / 1.247 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/1.896, allocations: 14.53 kB / 1.247 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/1.896, allocations: 16 kB / 1.247 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004247/1.9, allocations: 0.9707 MB / 1.248 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009313/1.91, allocations: 1.422 MB / 1.249 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/1.929, allocations: 14.47 MB / 1.264 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/1.94, allocations: 1.219 MB / 1.265 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001182/1.941, allocations: 183.8 kB / 1.265 GB, free: 8.289 MB / 0.8731 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.002639/1.944, allocations: 0.8714 MB / 1.266 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.945, allocations: 422.8 kB / 1.266 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02158/1.967, allocations: 5.778 MB / 1.272 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-05/1.967, allocations: 28 kB / 1.272 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.967, allocations: 0 / 1.272 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-05/1.967, allocations: 11.95 kB / 1.272 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03087/1.998, allocations: 10.89 MB / 1.282 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/1.998, allocations: 4 kB / 1.282 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004813/2.003, allocations: 0.6648 MB / 1.283 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003347/2.006, allocations: 0.7626 MB / 1.284 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005904/2.007, allocations: 79.91 kB / 1.284 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/2.022, allocations: 11.7 MB / 1.295 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/2.022, allocations: 7 kB / 1.295 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02953/2.051, allocations: 8.172 MB / 1.303 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003361/2.055, allocations: 1.073 MB / 1.304 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/2.056, allocations: 47.98 kB / 1.304 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006754/2.063, allocations: 0.5432 MB / 1.305 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005048/2.064, allocations: 162.9 kB / 1.305 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003698/2.064, allocations: 111.9 kB / 1.305 GB, free: 13.97 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.007226/2.071, allocations: 2.991 MB / 1.308 GB, free: 10.98 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.41e-07/2.071, allocations: 0 / 1.308 GB, free: 10.98 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00609/2.077, allocations: 1.54 MB / 1.31 GB, free: 9.441 MB / 0.92 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.003282/2.081, allocations: 1.05 MB / 1.311 GB, free: 8.629 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02695/2.108, allocations: 7.097 MB / 1.318 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/2.108, allocations: 320 / 1.318 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.3269/2.435, allocations: 3.007 MB / 1.321 GB, free: 400.9 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/2.445, allocations: 2.096 MB / 1.323 GB, free: 400.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/2.47, allocations: 9.375 MB / 1.332 GB, free: 398.2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/2.472, allocations: 2.296 MB / 1.334 GB, free: 397.4 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002609/2.475, allocations: 426.7 kB / 1.334 GB, free: 397.4 MB / 0.92 GB Notification: Performance of SimCode: time 8.42e-07/2.475, allocations: 2.938 kB / 1.334 GB, free: 397.4 MB / 0.92 GB Notification: Performance of Templates: time 0.2111/2.686, allocations: 260.2 MB / 1.588 GB, free: 188 MB / 0.92 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)