Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001238/0.001238, allocations: 112.2 kB / 17.03 MB, free: 5.656 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.001339/0.001339, allocations: 192.6 kB / 17.97 MB, free: 5.062 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.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7164/0.7164, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 55.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3065, allocations: 76.14 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.5841/0.8907, allocations: 369.7 MB / 0.9186 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0471/0.9378, allocations: 33.34 MB / 0.9512 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006556/0.9444, allocations: 155.1 kB / 0.9513 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00684/0.9513, allocations: 2.36 MB / 0.9536 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02045/0.9718, allocations: 7.509 MB / 0.961 GB, free: 8.465 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/0.9834, allocations: 4.571 MB / 0.9654 GB, free: 3.93 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01583/0.9993, allocations: 11.1 MB / 0.9763 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00624/1.006, allocations: 3.98 MB / 0.9801 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01324/1.019, allocations: 5.459 MB / 0.9855 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006338/1.025, allocations: 3.464 MB / 0.9889 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001407/1.027, allocations: 0.5508 MB / 0.9894 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/1.04, allocations: 6.799 MB / 0.996 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00219/1.042, allocations: 1.472 MB / 0.9975 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004737/1.047, allocations: 2.835 MB / 1 GB, free: 204 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01855/1.066, allocations: 9.793 MB / 1.01 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.066, allocations: 0 / 1.01 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/1.066, allocations: 0 / 1.01 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001832/1.066, allocations: 4 kB / 1.01 GB, free: 6.375 MB / 0.7169 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.01454/1.08, allocations: 5.958 MB / 1.016 GB, free: 320 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.08, allocations: 12.03 kB / 1.016 GB, free: 308 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03114/1.112, allocations: 4.278 MB / 1.02 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009358/1.121, allocations: 3.71 MB / 1.023 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/1.121, allocations: 301.3 kB / 1.024 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/1.123, allocations: 367.9 kB / 1.024 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/1.139, allocations: 5.693 MB / 1.03 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.31e-05/1.139, allocations: 0 / 1.03 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007008/1.14, allocations: 136 kB / 1.03 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/1.14, allocations: 134.5 kB / 1.03 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2458/1.386, allocations: 6.791 MB / 1.037 GB, free: 315.6 MB / 0.7325 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.0411/1.427, allocations: 22.18 MB / 1.058 GB, free: 302.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/1.438, allocations: 4.033 MB / 1.062 GB, free: 300.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006361/1.445, allocations: 2.257 MB / 1.064 GB, free: 300.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01467/1.459, allocations: 8.172 MB / 1.072 GB, free: 294 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007187/1.467, allocations: 2.494 MB / 1.075 GB, free: 292.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 6.993e-06/1.467, allocations: 1.125 kB / 1.075 GB, free: 292.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.03134/1.498, allocations: 8.412 MB / 1.083 GB, free: 288.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/1.498, allocations: 127.9 kB / 1.083 GB, free: 288.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007343/1.505, allocations: 4.313 MB / 1.087 GB, free: 286.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006563/1.506, allocations: 85.2 kB / 1.087 GB, free: 286 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/1.507, allocations: 1.811 MB / 1.089 GB, free: 284.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000972/1.508, allocations: 0.7963 MB / 1.09 GB, free: 283.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002267/1.511, allocations: 0.8238 MB / 1.091 GB, free: 283.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/1.511, allocations: 305.1 kB / 1.091 GB, free: 282.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008162/1.519, allocations: 2.723 MB / 1.094 GB, free: 281.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008591/1.528, allocations: 3.444 MB / 1.097 GB, free: 279.5 MB / 0.7325 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.01663/1.544, allocations: 5.931 MB / 1.103 GB, free: 274.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/1.544, allocations: 4 kB / 1.103 GB, free: 274.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02491/1.569, allocations: 7.565 MB / 1.11 GB, free: 266.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/1.569, allocations: 12 kB / 1.11 GB, free: 266.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/1.569, allocations: 20.48 kB / 1.11 GB, free: 266.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003725/1.573, allocations: 0.9742 MB / 1.111 GB, free: 265.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008424/1.581, allocations: 1.404 MB / 1.113 GB, free: 264.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/1.595, allocations: 14.46 MB / 1.127 GB, free: 248.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/1.606, allocations: 1.192 MB / 1.128 GB, free: 247.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009765/1.607, allocations: 191.8 kB / 1.128 GB, free: 247.5 MB / 0.7325 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.002688/1.609, allocations: 0.8632 MB / 1.129 GB, free: 246.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/1.611, allocations: 418.8 kB / 1.129 GB, free: 246.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01973/1.631, allocations: 5.767 MB / 1.135 GB, free: 240.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/1.631, allocations: 27.98 kB / 1.135 GB, free: 240.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.631, allocations: 0 / 1.135 GB, free: 240.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/1.631, allocations: 11.95 kB / 1.135 GB, free: 240.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.658, allocations: 10.89 MB / 1.146 GB, free: 229.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.658, allocations: 8 kB / 1.146 GB, free: 229.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004569/1.663, allocations: 0.6751 MB / 1.146 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003016/1.666, allocations: 0.7611 MB / 1.147 GB, free: 228 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000442/1.666, allocations: 79.91 kB / 1.147 GB, free: 227.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/1.677, allocations: 11.69 MB / 1.158 GB, free: 215.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.677, allocations: 4 kB / 1.158 GB, free: 215.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02516/1.703, allocations: 8.175 MB / 1.166 GB, free: 207 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/1.705, allocations: 1.064 MB / 1.168 GB, free: 206 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/1.707, allocations: 55.88 kB / 1.168 GB, free: 205.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006291/1.713, allocations: 0.5354 MB / 1.168 GB, free: 205.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004523/1.713, allocations: 169.6 kB / 1.168 GB, free: 205.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000357/1.714, allocations: 115.9 kB / 1.168 GB, free: 205.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005005/1.719, allocations: 2.96 MB / 1.171 GB, free: 202.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.51e-07/1.719, allocations: 4 kB / 1.171 GB, free: 202.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004488/1.723, allocations: 1.543 MB / 1.173 GB, free: 200.6 MB / 0.7325 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.002129/1.725, allocations: 1.048 MB / 1.174 GB, free: 199.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0191/1.745, allocations: 6.442 MB / 1.18 GB, free: 193.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.745, allocations: 0 / 1.18 GB, free: 193.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007779/1.752, allocations: 3.011 MB / 1.183 GB, free: 190.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008527/1.761, allocations: 2.09 MB / 1.185 GB, free: 188.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.784, allocations: 9.16 MB / 1.194 GB, free: 179.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.785, allocations: 2.305 MB / 1.196 GB, free: 176.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004982/1.79, allocations: 1.045 MB / 1.197 GB, free: 175.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/1.792, allocations: 367.2 kB / 1.198 GB, free: 175.3 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/1.792, allocations: 0 / 1.198 GB, free: 175.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.1164/1.909, allocations: 96.8 MB / 1.292 GB, free: 79.34 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)