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.001906/0.001906, allocations: 105.8 kB / 16.52 MB, free: 6.664 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.0016/0.0016, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7442/0.7442, allocations: 115.3 MB / 406.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.89 kB / 493.5 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4053, allocations: 76.17 MB / 0.5564 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8893/1.295, allocations: 367.2 MB / 0.915 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0842/1.379, allocations: 33.66 MB / 0.9478 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009892/1.389, allocations: 135.2 kB / 0.948 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007752/1.397, allocations: 1.943 MB / 0.9499 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.021/1.418, allocations: 6.944 MB / 0.9567 GB, free: 11 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01168/1.429, allocations: 4.14 MB / 0.9607 GB, free: 6.891 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01821/1.448, allocations: 13.66 MB / 0.974 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006156/1.454, allocations: 3.302 MB / 0.9773 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01568/1.47, allocations: 4.737 MB / 0.9819 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007462/1.477, allocations: 3.359 MB / 0.9852 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.00157/1.479, allocations: 240 kB / 0.9854 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01665/1.495, allocations: 7.262 MB / 0.9925 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0026/1.498, allocations: 1.167 MB / 0.9936 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.005926/1.504, allocations: 2.518 MB / 0.9961 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01288/1.517, allocations: 7.403 MB / 1.003 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/1.517, allocations: 4 kB / 1.003 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/1.517, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002255/1.517, allocations: 0 / 1.003 GB, free: 11.12 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.01631/1.533, allocations: 5.951 MB / 1.009 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.534, allocations: 11.97 kB / 1.009 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03097/1.565, allocations: 4.301 MB / 1.013 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008465/1.573, allocations: 3.592 MB / 1.017 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001468/1.575, allocations: 0.5205 MB / 1.017 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/1.576, allocations: 363.8 kB / 1.018 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/1.592, allocations: 5.716 MB / 1.023 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/1.592, allocations: 0 / 1.023 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004586/1.592, allocations: 136 kB / 1.023 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/1.592, allocations: 130.5 kB / 1.024 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3213/1.914, allocations: 6.831 MB / 1.03 GB, free: 313.7 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.0491/1.963, allocations: 22.27 MB / 1.052 GB, free: 300.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/1.975, allocations: 4.027 MB / 1.056 GB, free: 299.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006638/1.982, allocations: 2.254 MB / 1.058 GB, free: 298.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01519/1.997, allocations: 8.169 MB / 1.066 GB, free: 293.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007342/2.004, allocations: 2.495 MB / 1.069 GB, free: 292.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 4.379e-06/2.004, allocations: 0 / 1.069 GB, free: 292.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.03366/2.038, allocations: 8.418 MB / 1.077 GB, free: 288.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/2.038, allocations: 131.8 kB / 1.077 GB, free: 288 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007976/2.046, allocations: 4.315 MB / 1.081 GB, free: 285.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009967/2.047, allocations: 81.55 kB / 1.081 GB, free: 285.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/2.049, allocations: 1.822 MB / 1.083 GB, free: 284.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/2.05, allocations: 0.7911 MB / 1.084 GB, free: 283.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/2.052, allocations: 0.8271 MB / 1.085 GB, free: 282.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/2.052, allocations: 305.1 kB / 1.085 GB, free: 282.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008252/2.06, allocations: 2.741 MB / 1.087 GB, free: 281.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009237/2.069, allocations: 3.46 MB / 1.091 GB, free: 279.1 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.01774/2.087, allocations: 5.952 MB / 1.097 GB, free: 275.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.109e-05/2.087, allocations: 4.812 kB / 1.097 GB, free: 275.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02623/2.113, allocations: 7.606 MB / 1.104 GB, free: 270 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/2.113, allocations: 12 kB / 1.104 GB, free: 270 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/2.113, allocations: 12 kB / 1.104 GB, free: 269.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/2.117, allocations: 0.9704 MB / 1.105 GB, free: 269 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008722/2.126, allocations: 1.416 MB / 1.106 GB, free: 267.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/2.14, allocations: 13.71 MB / 1.12 GB, free: 252.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/2.151, allocations: 1.316 MB / 1.121 GB, free: 251.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/2.152, allocations: 183.8 kB / 1.121 GB, free: 251.3 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.002751/2.155, allocations: 0.8639 MB / 1.122 GB, free: 250.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/2.157, allocations: 426.7 kB / 1.123 GB, free: 250 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/2.176, allocations: 5.767 MB / 1.128 GB, free: 244.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/2.176, allocations: 27.94 kB / 1.128 GB, free: 244.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/2.176, allocations: 0 / 1.128 GB, free: 244.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-05/2.176, allocations: 15.95 kB / 1.128 GB, free: 244.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.029/2.205, allocations: 10.89 MB / 1.139 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/2.205, allocations: 7.938 kB / 1.139 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004884/2.21, allocations: 0.671 MB / 1.14 GB, free: 232.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003261/2.213, allocations: 0.7849 MB / 1.14 GB, free: 231.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006571/2.214, allocations: 83.89 kB / 1.14 GB, free: 231.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/2.225, allocations: 10.95 MB / 1.151 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.225, allocations: 4 kB / 1.151 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02547/2.25, allocations: 8.174 MB / 1.159 GB, free: 211.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/2.254, allocations: 1.061 MB / 1.16 GB, free: 210.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00158/2.255, allocations: 55.92 kB / 1.16 GB, free: 210.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006898/2.262, allocations: 0.6093 MB / 1.161 GB, free: 209.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/2.263, allocations: 169.6 kB / 1.161 GB, free: 209.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003849/2.263, allocations: 115.8 kB / 1.161 GB, free: 209.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005687/2.269, allocations: 2.975 MB / 1.164 GB, free: 206.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.12e-07/2.269, allocations: 0 / 1.164 GB, free: 206.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006486/2.275, allocations: 1.555 MB / 1.165 GB, free: 205.1 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.002637/2.278, allocations: 1.033 MB / 1.166 GB, free: 204.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02017/2.298, allocations: 6.416 MB / 1.173 GB, free: 197.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/2.298, allocations: 4 kB / 1.173 GB, free: 197.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007764/2.306, allocations: 3.015 MB / 1.176 GB, free: 194.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/2.316, allocations: 1.97 MB / 1.178 GB, free: 192.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/2.342, allocations: 10.87 MB / 1.188 GB, free: 181.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/2.344, allocations: 2.29 MB / 1.19 GB, free: 179.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002925/2.347, allocations: 427.1 kB / 1.191 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/2.347, allocations: 0 / 1.191 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.5118/2.858, allocations: 259.9 MB / 1.445 GB, free: 255 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)