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.001335/0.001335, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001081/0.001081, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 279.9 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9008/0.9008, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 95.17 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.159, allocations: 86.97 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9569/1.116, allocations: 369.7 MB / 1.043 GB, free: 25.45 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03849/1.154, allocations: 33.36 MB / 1.075 GB, free: 24.54 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006814/1.161, allocations: 157.8 kB / 1.075 GB, free: 24.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005955/1.167, allocations: 2.362 MB / 1.078 GB, free: 24.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01779/1.185, allocations: 7.5 MB / 1.085 GB, free: 21.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01007/1.195, allocations: 4.581 MB / 1.089 GB, free: 19.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01447/1.21, allocations: 11.09 MB / 1.1 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004953/1.215, allocations: 3.978 MB / 1.104 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01236/1.227, allocations: 5.454 MB / 1.11 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005712/1.233, allocations: 3.456 MB / 1.113 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00119/1.234, allocations: 0.5508 MB / 1.113 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01424/1.248, allocations: 6.801 MB / 1.12 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002336/1.251, allocations: 1.48 MB / 1.122 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004804/1.255, allocations: 2.839 MB / 1.124 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01917/1.275, allocations: 9.791 MB / 1.134 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.275, allocations: 3.938 kB / 1.134 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.576e-06/1.275, allocations: 3.984 kB / 1.134 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001609/1.275, allocations: 0 / 1.134 GB, free: 14.88 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.01492/1.29, allocations: 5.947 MB / 1.14 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.29, allocations: 8.031 kB / 1.14 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03014/1.32, allocations: 4.292 MB / 1.144 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008746/1.329, allocations: 3.7 MB / 1.147 GB, free: 1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/1.329, allocations: 312.5 kB / 1.148 GB, free: 0.6875 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008785/1.33, allocations: 359.4 kB / 1.148 GB, free: 348 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/1.345, allocations: 5.691 MB / 1.154 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/1.345, allocations: 2.625 kB / 1.154 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004158/1.345, allocations: 134.3 kB / 1.154 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/1.345, allocations: 134.5 kB / 1.154 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/1.366, allocations: 6.792 MB / 1.161 GB, free: 3.527 MB / 0.7637 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.03981/1.406, allocations: 22.2 MB / 1.182 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/1.417, allocations: 4.022 MB / 1.186 GB, free: 8.527 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006365/1.423, allocations: 2.254 MB / 1.188 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/1.437, allocations: 8.163 MB / 1.196 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006775/1.444, allocations: 2.498 MB / 1.199 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=228): time 4.137e-06/1.444, allocations: 0 / 1.199 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=228): time 0.03094/1.475, allocations: 8.417 MB / 1.207 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/1.475, allocations: 124.8 kB / 1.207 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008158/1.483, allocations: 4.314 MB / 1.211 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.484, allocations: 81.64 kB / 1.211 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001679/1.486, allocations: 1.824 MB / 1.213 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/1.487, allocations: 0.7996 MB / 1.214 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/1.489, allocations: 0.8198 MB / 1.215 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.447e-05/1.489, allocations: 301.1 kB / 1.215 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00832/1.497, allocations: 2.722 MB / 1.218 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009266/1.506, allocations: 3.44 MB / 1.221 GB, free: 4.02 MB / 0.8262 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.01772/1.524, allocations: 5.933 MB / 1.227 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-05/1.524, allocations: 4 kB / 1.227 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02489/1.549, allocations: 7.569 MB / 1.234 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/1.549, allocations: 15.94 kB / 1.234 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/1.549, allocations: 16 kB / 1.234 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00373/1.553, allocations: 0.9719 MB / 1.235 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008387/1.561, allocations: 1.411 MB / 1.237 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/1.578, allocations: 14.47 MB / 1.251 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/1.588, allocations: 1.179 MB / 1.252 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000916/1.589, allocations: 183.8 kB / 1.252 GB, free: 2.875 MB / 0.8575 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.002124/1.591, allocations: 0.8687 MB / 1.253 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/1.593, allocations: 430.7 kB / 1.253 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02041/1.613, allocations: 5.761 MB / 1.259 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/1.613, allocations: 27.94 kB / 1.259 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.613, allocations: 0 / 1.259 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/1.613, allocations: 11.95 kB / 1.259 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02695/1.64, allocations: 10.9 MB / 1.27 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.64, allocations: 4 kB / 1.27 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004424/1.644, allocations: 0.6672 MB / 1.27 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/1.648, allocations: 0.7676 MB / 1.271 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003629/1.648, allocations: 79.91 kB / 1.271 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/1.661, allocations: 11.68 MB / 1.283 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.662, allocations: 7.938 kB / 1.283 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3148/1.976, allocations: 8.171 MB / 1.291 GB, free: 398.1 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/1.979, allocations: 1.066 MB / 1.292 GB, free: 397.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008547/1.98, allocations: 46.56 kB / 1.292 GB, free: 397.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005966/1.986, allocations: 0.5346 MB / 1.292 GB, free: 397.8 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004046/1.986, allocations: 175.3 kB / 1.292 GB, free: 397.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/1.987, allocations: 109.1 kB / 1.292 GB, free: 397.7 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.005631/1.992, allocations: 2.965 MB / 1.295 GB, free: 396.7 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.81e-07/1.992, allocations: 0 / 1.295 GB, free: 396.7 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004672/1.997, allocations: 1.539 MB / 1.297 GB, free: 396.6 MB / 0.8887 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.002267/1.999, allocations: 1.064 MB / 1.298 GB, free: 396.4 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01981/2.019, allocations: 6.439 MB / 1.304 GB, free: 394.3 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/2.019, allocations: 1.688 kB / 1.304 GB, free: 394.3 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007478/2.027, allocations: 3.018 MB / 1.307 GB, free: 392.9 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00877/2.036, allocations: 2.075 MB / 1.309 GB, free: 392.3 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/2.061, allocations: 9.169 MB / 1.318 GB, free: 388.8 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/2.062, allocations: 2.299 MB / 1.32 GB, free: 387.9 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.005876/2.068, allocations: 1.044 MB / 1.321 GB, free: 387.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/2.07, allocations: 369.6 kB / 1.322 GB, free: 387.7 MB / 0.8887 GB Notification: Performance of SimCode: time 2.084e-06/2.07, allocations: 1.312 kB / 1.322 GB, free: 387.7 MB / 0.8887 GB Notification: Performance of Templates: time 0.1209/2.191, allocations: 96.86 MB / 1.416 GB, free: 309.8 MB / 0.8887 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)