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.001287/0.001287, allocations: 100.3 kB / 15.98 MB, free: 6.34 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.001077/0.001077, allocations: 197.8 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7907/0.7907, allocations: 122.9 MB / 413.6 MB, free: 60 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.89 kB / 0.4906 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3832, allocations: 77.92 MB / 0.5667 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6456/1.029, allocations: 365.6 MB / 0.9237 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04988/1.079, allocations: 33.12 MB / 0.9561 GB, free: 8.352 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006833/1.086, allocations: 143.1 kB / 0.9562 GB, free: 8.211 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007545/1.093, allocations: 2.06 MB / 0.9582 GB, free: 6.141 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0252/1.119, allocations: 7.008 MB / 0.9651 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01186/1.13, allocations: 4.213 MB / 0.9692 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01561/1.146, allocations: 11.09 MB / 0.98 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006785/1.153, allocations: 3.933 MB / 0.9838 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0164/1.169, allocations: 5.479 MB / 0.9892 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006732/1.176, allocations: 3.575 MB / 0.9927 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002132/1.178, allocations: 0.5508 MB / 0.9932 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01357/1.192, allocations: 7.008 MB / 1 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002451/1.194, allocations: 1.48 MB / 1.002 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005357/1.2, allocations: 2.846 MB / 1.004 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01831/1.218, allocations: 10.01 MB / 1.014 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.218, allocations: 0 / 1.014 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.697e-06/1.218, allocations: 0 / 1.014 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002375/1.218, allocations: 7.938 kB / 1.014 GB, free: 12.84 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.01734/1.236, allocations: 5.954 MB / 1.02 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/1.236, allocations: 8.625 kB / 1.02 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0326/1.268, allocations: 4.29 MB / 1.024 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2649/1.533, allocations: 3.598 MB / 1.028 GB, free: 311.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001565/1.535, allocations: 0.5157 MB / 1.028 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/1.536, allocations: 363.1 kB / 1.028 GB, free: 311.6 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/1.553, allocations: 5.712 MB / 1.034 GB, free: 309.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.212e-05/1.553, allocations: 7.125 kB / 1.034 GB, free: 309.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005045/1.554, allocations: 137.3 kB / 1.034 GB, free: 309.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/1.554, allocations: 138.3 kB / 1.034 GB, free: 309.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/1.576, allocations: 6.832 MB / 1.041 GB, free: 307.5 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.04011/1.616, allocations: 22.27 MB / 1.063 GB, free: 292 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/1.627, allocations: 4.035 MB / 1.067 GB, free: 290 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006208/1.633, allocations: 2.251 MB / 1.069 GB, free: 289 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01417/1.648, allocations: 8.168 MB / 1.077 GB, free: 282.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007053/1.655, allocations: 2.487 MB / 1.079 GB, free: 280.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 6.392e-06/1.655, allocations: 0 / 1.079 GB, free: 280.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.03195/1.687, allocations: 8.414 MB / 1.087 GB, free: 275.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/1.687, allocations: 132.8 kB / 1.088 GB, free: 275.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006731/1.693, allocations: 4.314 MB / 1.092 GB, free: 270.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007696/1.694, allocations: 81.7 kB / 1.092 GB, free: 270.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/1.696, allocations: 1.835 MB / 1.094 GB, free: 268.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009384/1.697, allocations: 0.7958 MB / 1.094 GB, free: 268.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/1.698, allocations: 0.8237 MB / 1.095 GB, free: 267.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.569e-05/1.698, allocations: 301.1 kB / 1.096 GB, free: 267 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007941/1.706, allocations: 2.736 MB / 1.098 GB, free: 264.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009033/1.715, allocations: 3.467 MB / 1.102 GB, free: 260.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.01758/1.733, allocations: 5.951 MB / 1.107 GB, free: 254.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/1.733, allocations: 4 kB / 1.107 GB, free: 254.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.0262/1.759, allocations: 7.604 MB / 1.115 GB, free: 246.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/1.759, allocations: 20.03 kB / 1.115 GB, free: 246.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/1.759, allocations: 15.94 kB / 1.115 GB, free: 246.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003967/1.763, allocations: 0.9697 MB / 1.116 GB, free: 245.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009002/1.772, allocations: 1.42 MB / 1.117 GB, free: 244.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/1.787, allocations: 14.52 MB / 1.131 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/1.798, allocations: 1.316 MB / 1.133 GB, free: 227.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/1.799, allocations: 179.8 kB / 1.133 GB, free: 227.2 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.002264/1.802, allocations: 0.8671 MB / 1.134 GB, free: 226.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.803, allocations: 426.8 kB / 1.134 GB, free: 225.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/1.823, allocations: 5.775 MB / 1.14 GB, free: 220.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/1.823, allocations: 24 kB / 1.14 GB, free: 220.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.823, allocations: 0 / 1.14 GB, free: 220.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-05/1.823, allocations: 11.95 kB / 1.14 GB, free: 220.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/1.849, allocations: 10.89 MB / 1.15 GB, free: 209.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/1.849, allocations: 4.031 kB / 1.15 GB, free: 209.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004611/1.854, allocations: 0.6631 MB / 1.151 GB, free: 208.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003043/1.857, allocations: 0.7642 MB / 1.152 GB, free: 207.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004281/1.857, allocations: 83.91 kB / 1.152 GB, free: 207.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/1.869, allocations: 11.7 MB / 1.163 GB, free: 194.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.869, allocations: 4 kB / 1.163 GB, free: 194.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02585/1.895, allocations: 8.173 MB / 1.171 GB, free: 186.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/1.897, allocations: 1.073 MB / 1.172 GB, free: 185.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.898, allocations: 44 kB / 1.172 GB, free: 185.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006746/1.905, allocations: 0.6132 MB / 1.173 GB, free: 184.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004605/1.905, allocations: 161.7 kB / 1.173 GB, free: 184.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000328/1.906, allocations: 119.9 kB / 1.173 GB, free: 184.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005453/1.911, allocations: 2.971 MB / 1.176 GB, free: 181.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/1.911, allocations: 0 / 1.176 GB, free: 181.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00654/1.918, allocations: 1.562 MB / 1.178 GB, free: 180.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.002561/1.92, allocations: 1.041 MB / 1.179 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02418/1.945, allocations: 7.093 MB / 1.186 GB, free: 172.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.945, allocations: 4.062 kB / 1.186 GB, free: 172.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007957/1.953, allocations: 3.018 MB / 1.189 GB, free: 169.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0106/1.963, allocations: 2.102 MB / 1.191 GB, free: 167.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/1.989, allocations: 10.74 MB / 1.201 GB, free: 156.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.991, allocations: 2.305 MB / 1.203 GB, free: 154 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.006619/1.997, allocations: 1.044 MB / 1.204 GB, free: 153 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/1.999, allocations: 367.2 kB / 1.205 GB, free: 152.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.172e-06/1.999, allocations: 3.938 kB / 1.205 GB, free: 152.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.1289/2.128, allocations: 99.8 MB / 1.302 GB, free: 53.64 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)