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.001078/0.001078, allocations: 106.4 kB / 16.4 MB, free: 6.023 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.00104/0.00104, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.343/1.343, allocations: 222.9 MB / 241 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.7332/0.7332, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 65.7 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1297, allocations: 76.18 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7222/0.8519, allocations: 369.7 MB / 0.9931 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04721/0.8992, allocations: 33.34 MB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00632/0.9055, allocations: 151.1 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006743/0.9124, allocations: 2.45 MB / 1.028 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02351/0.9359, allocations: 7.826 MB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01287/0.9488, allocations: 4.624 MB / 1.04 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.4585/1.407, allocations: 11.09 MB / 1.051 GB, free: 52.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007551/1.415, allocations: 3.993 MB / 1.055 GB, free: 51.88 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01432/1.429, allocations: 5.572 MB / 1.061 GB, free: 51.85 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00709/1.436, allocations: 3.46 MB / 1.064 GB, free: 51.66 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001908/1.438, allocations: 0.5499 MB / 1.064 GB, free: 51.66 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01362/1.452, allocations: 6.821 MB / 1.071 GB, free: 51.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002974/1.455, allocations: 1.468 MB / 1.073 GB, free: 51.48 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006559/1.462, allocations: 2.842 MB / 1.075 GB, free: 50.74 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01864/1.48, allocations: 9.781 MB / 1.085 GB, free: 49.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/1.48, allocations: 0 / 1.085 GB, free: 49.84 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.464e-06/1.48, allocations: 0 / 1.085 GB, free: 49.84 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001788/1.48, allocations: 3.344 kB / 1.085 GB, free: 49.84 MB / 0.795 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.01575/1.496, allocations: 5.956 MB / 1.091 GB, free: 47.29 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/1.496, allocations: 9.562 kB / 1.091 GB, free: 47.29 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03173/1.528, allocations: 4.293 MB / 1.095 GB, free: 47.02 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/1.539, allocations: 3.704 MB / 1.099 GB, free: 46.27 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005084/1.54, allocations: 312 kB / 1.099 GB, free: 46.23 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002336/1.542, allocations: 359.7 kB / 1.099 GB, free: 46.23 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/1.559, allocations: 5.693 MB / 1.105 GB, free: 45.94 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-05/1.559, allocations: 1.375 kB / 1.105 GB, free: 45.94 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000534/1.56, allocations: 136.5 kB / 1.105 GB, free: 45.94 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/1.56, allocations: 136.9 kB / 1.105 GB, free: 45.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/1.582, allocations: 6.793 MB / 1.112 GB, free: 45.79 MB / 0.795 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.03997/1.622, allocations: 22.18 MB / 1.133 GB, free: 37.05 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/1.633, allocations: 4.041 MB / 1.137 GB, free: 36.33 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00661/1.639, allocations: 2.251 MB / 1.139 GB, free: 35.92 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/1.653, allocations: 8.168 MB / 1.147 GB, free: 31.82 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006987/1.66, allocations: 2.493 MB / 1.15 GB, free: 31.06 MB / 0.795 GB Notification: Performance of pre-optimization done (n=228): time 3.957e-06/1.66, allocations: 0 / 1.15 GB, free: 31.06 MB / 0.795 GB Notification: Performance of matching and sorting (n=228): time 0.03273/1.693, allocations: 8.411 MB / 1.158 GB, free: 25.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.693, allocations: 128.8 kB / 1.158 GB, free: 25.51 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007464/1.7, allocations: 4.322 MB / 1.162 GB, free: 21.77 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008069/1.701, allocations: 79.97 kB / 1.162 GB, free: 21.69 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.703, allocations: 1.818 MB / 1.164 GB, free: 19.87 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.704, allocations: 0.7915 MB / 1.165 GB, free: 19.08 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/1.705, allocations: 0.8222 MB / 1.166 GB, free: 18.25 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.564e-05/1.705, allocations: 301.1 kB / 1.166 GB, free: 17.96 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008545/1.714, allocations: 2.724 MB / 1.169 GB, free: 15.23 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009332/1.723, allocations: 3.437 MB / 1.172 GB, free: 11.56 MB / 0.795 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.01808/1.741, allocations: 5.947 MB / 1.178 GB, free: 5.438 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-05/1.741, allocations: 4 kB / 1.178 GB, free: 5.434 MB / 0.795 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02811/1.77, allocations: 7.556 MB / 1.185 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/1.77, allocations: 15.94 kB / 1.185 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/1.77, allocations: 12 kB / 1.185 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00424/1.774, allocations: 0.9682 MB / 1.186 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009514/1.783, allocations: 1.411 MB / 1.188 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/1.802, allocations: 14.46 MB / 1.202 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/1.813, allocations: 1.189 MB / 1.203 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.814, allocations: 187.8 kB / 1.203 GB, free: 10.68 MB / 0.8262 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.002888/1.817, allocations: 0.8681 MB / 1.204 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.819, allocations: 426.8 kB / 1.204 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0227/1.842, allocations: 5.765 MB / 1.21 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/1.842, allocations: 28 kB / 1.21 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.842, allocations: 0 / 1.21 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.393e-05/1.842, allocations: 11.95 kB / 1.21 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03072/1.872, allocations: 10.9 MB / 1.221 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/1.873, allocations: 4 kB / 1.221 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005043/1.878, allocations: 0.6649 MB / 1.221 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003451/1.881, allocations: 0.7627 MB / 1.222 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005199/1.882, allocations: 87.84 kB / 1.222 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/1.896, allocations: 11.68 MB / 1.234 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/1.896, allocations: 10.41 kB / 1.234 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03046/1.927, allocations: 8.173 MB / 1.242 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003203/1.93, allocations: 1.071 MB / 1.243 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/1.931, allocations: 43.98 kB / 1.243 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006952/1.938, allocations: 0.5393 MB / 1.243 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004703/1.939, allocations: 164.1 kB / 1.243 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003368/1.939, allocations: 111.9 kB / 1.243 GB, free: 420 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.006439/1.946, allocations: 2.971 MB / 1.246 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/1.946, allocations: 0 / 1.246 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00567/1.951, allocations: 1.539 MB / 1.248 GB, free: 11.9 MB / 0.8731 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.002449/1.954, allocations: 1.044 MB / 1.249 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02239/1.976, allocations: 6.433 MB / 1.255 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.976, allocations: 4 kB / 1.255 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00921/1.985, allocations: 3.027 MB / 1.258 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01167/1.997, allocations: 2.084 MB / 1.26 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/2.026, allocations: 9.166 MB / 1.269 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/2.028, allocations: 2.298 MB / 1.271 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.006364/2.034, allocations: 1.044 MB / 1.272 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/2.036, allocations: 367.2 kB / 1.273 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of SimCode: time 6.41e-07/2.036, allocations: 2.438 kB / 1.273 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of Templates: time 0.153/2.189, allocations: 97.75 MB / 1.368 GB, free: 2.18 MB / 0.9825 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)