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.0011/0.001101, allocations: 105.3 kB / 15.98 MB, free: 6.328 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.001054/0.001054, allocations: 191 kB / 16.91 MB, free: 6.188 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7528/0.7528, allocations: 122.9 MB / 413.6 MB, free: 24 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 0.4906 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.334, allocations: 77.92 MB / 0.5667 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6393/0.9734, allocations: 365.6 MB / 0.9237 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04657/1.02, allocations: 33.14 MB / 0.956 GB, free: 8.395 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00664/1.027, allocations: 139.1 kB / 0.9562 GB, free: 8.258 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006448/1.033, allocations: 2.056 MB / 0.9582 GB, free: 6.191 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01947/1.053, allocations: 6.994 MB / 0.965 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01087/1.064, allocations: 4.217 MB / 0.9691 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01547/1.079, allocations: 11.08 MB / 0.9799 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007703/1.087, allocations: 3.945 MB / 0.9838 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01604/1.103, allocations: 5.484 MB / 0.9891 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006591/1.11, allocations: 3.58 MB / 0.9926 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001851/1.111, allocations: 0.5508 MB / 0.9932 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/1.125, allocations: 7.012 MB / 1 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002426/1.127, allocations: 1.476 MB / 1.001 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005469/1.133, allocations: 2.842 MB / 1.004 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01742/1.15, allocations: 10.01 MB / 1.014 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.15, allocations: 4 kB / 1.014 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/1.15, allocations: 0 / 1.014 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002235/1.15, allocations: 0 / 1.014 GB, free: 12.89 MB / 0.7325 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.01636/1.167, allocations: 5.955 MB / 1.02 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.167, allocations: 8.625 kB / 1.02 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03206/1.199, allocations: 4.29 MB / 1.024 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2753/1.474, allocations: 3.598 MB / 1.028 GB, free: 312.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001571/1.476, allocations: 0.5175 MB / 1.028 GB, free: 312.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/1.477, allocations: 358.8 kB / 1.028 GB, free: 312.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/1.493, allocations: 5.713 MB / 1.034 GB, free: 310.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.777e-05/1.493, allocations: 1.094 kB / 1.034 GB, free: 310.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004688/1.494, allocations: 137.6 kB / 1.034 GB, free: 310.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/1.494, allocations: 139.7 kB / 1.034 GB, free: 310.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02161/1.516, allocations: 6.825 MB / 1.041 GB, free: 308.4 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.04485/1.56, allocations: 22.28 MB / 1.063 GB, free: 292.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/1.571, allocations: 4.031 MB / 1.067 GB, free: 290.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006224/1.578, allocations: 2.249 MB / 1.069 GB, free: 289.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01425/1.592, allocations: 8.168 MB / 1.077 GB, free: 283 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00694/1.599, allocations: 2.5 MB / 1.079 GB, free: 281.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 6.853e-06/1.599, allocations: 0 / 1.079 GB, free: 281.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.03192/1.631, allocations: 8.411 MB / 1.087 GB, free: 276.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/1.631, allocations: 132.8 kB / 1.088 GB, free: 276.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007507/1.638, allocations: 4.321 MB / 1.092 GB, free: 272 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007817/1.639, allocations: 77.7 kB / 1.092 GB, free: 271.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001527/1.641, allocations: 1.829 MB / 1.094 GB, free: 270.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/1.642, allocations: 0.7965 MB / 1.094 GB, free: 269.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003188/1.645, allocations: 0.8275 MB / 1.095 GB, free: 268.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.917e-05/1.645, allocations: 301.1 kB / 1.096 GB, free: 268.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008657/1.654, allocations: 2.739 MB / 1.098 GB, free: 265.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009513/1.664, allocations: 3.463 MB / 1.102 GB, free: 261.7 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.01779/1.681, allocations: 5.955 MB / 1.107 GB, free: 255.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.093e-05/1.682, allocations: 4 kB / 1.107 GB, free: 255.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.0264/1.708, allocations: 7.603 MB / 1.115 GB, free: 247.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/1.708, allocations: 12 kB / 1.115 GB, free: 247.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/1.708, allocations: 16 kB / 1.115 GB, free: 247.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00381/1.712, allocations: 0.9776 MB / 1.116 GB, free: 246.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008689/1.721, allocations: 1.408 MB / 1.117 GB, free: 245.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/1.735, allocations: 14.53 MB / 1.131 GB, free: 229.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/1.746, allocations: 1.32 MB / 1.133 GB, free: 228.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009914/1.747, allocations: 183.8 kB / 1.133 GB, free: 228.4 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.002547/1.749, allocations: 0.8669 MB / 1.134 GB, free: 227.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.751, allocations: 418.8 kB / 1.134 GB, free: 227.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02227/1.773, allocations: 5.771 MB / 1.14 GB, free: 221.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/1.773, allocations: 24 kB / 1.14 GB, free: 221.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.773, allocations: 7.938 kB / 1.14 GB, free: 221.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-05/1.773, allocations: 11.95 kB / 1.14 GB, free: 221.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02791/1.801, allocations: 10.89 MB / 1.15 GB, free: 210.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.801, allocations: 4 kB / 1.15 GB, free: 210.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004495/1.806, allocations: 0.6713 MB / 1.151 GB, free: 209.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/1.809, allocations: 0.7682 MB / 1.152 GB, free: 208.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004132/1.809, allocations: 79.91 kB / 1.152 GB, free: 208.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/1.82, allocations: 11.69 MB / 1.163 GB, free: 196.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.82, allocations: 8.062 kB / 1.163 GB, free: 196.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02666/1.847, allocations: 8.166 MB / 1.171 GB, free: 187.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002739/1.85, allocations: 1.065 MB / 1.172 GB, free: 186.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001437/1.851, allocations: 48 kB / 1.172 GB, free: 186.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006866/1.858, allocations: 0.6132 MB / 1.173 GB, free: 186.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005031/1.859, allocations: 169.7 kB / 1.173 GB, free: 185.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004141/1.859, allocations: 107.9 kB / 1.173 GB, free: 185.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00557/1.865, allocations: 2.985 MB / 1.176 GB, free: 182.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.71e-07/1.865, allocations: 0 / 1.176 GB, free: 182.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005089/1.87, allocations: 1.552 MB / 1.178 GB, free: 181.3 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.002123/1.872, allocations: 1.042 MB / 1.179 GB, free: 180.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02449/1.896, allocations: 7.104 MB / 1.186 GB, free: 173.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/1.896, allocations: 0 / 1.186 GB, free: 173.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008544/1.905, allocations: 3.008 MB / 1.189 GB, free: 170.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01057/1.916, allocations: 2.104 MB / 1.191 GB, free: 168.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02484/1.94, allocations: 10.76 MB / 1.201 GB, free: 157.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/1.942, allocations: 2.302 MB / 1.203 GB, free: 155.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.006352/1.948, allocations: 1.04 MB / 1.204 GB, free: 154.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/1.95, allocations: 367.2 kB / 1.205 GB, free: 153.8 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/1.95, allocations: 0 / 1.205 GB, free: 153.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.1292/2.079, allocations: 99.8 MB / 1.302 GB, free: 54.82 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)