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.001038/0.001038, allocations: 109.3 kB / 17.03 MB, free: 5.66 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.000964/0.000964, allocations: 190.9 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.232/1.232, 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.6631/0.6631, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3091, allocations: 76.14 MB / 0.5575 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6064/0.9156, allocations: 369.7 MB / 0.9186 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0472/0.9628, allocations: 33.34 MB / 0.9512 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008323/0.9712, allocations: 151.2 kB / 0.9513 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006959/0.9782, allocations: 2.372 MB / 0.9536 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02056/0.9988, allocations: 7.496 MB / 0.9609 GB, free: 8.418 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/1.01, allocations: 4.583 MB / 0.9654 GB, free: 3.871 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01578/1.025, allocations: 11.09 MB / 0.9763 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00595/1.031, allocations: 3.992 MB / 0.9802 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01364/1.045, allocations: 5.449 MB / 0.9855 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00698/1.052, allocations: 3.461 MB / 0.9889 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001592/1.054, allocations: 0.5508 MB / 0.9894 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/1.067, allocations: 6.807 MB / 0.996 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002071/1.069, allocations: 1.464 MB / 0.9975 GB, free: 3 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003851/1.073, allocations: 2.846 MB / 1 GB, free: 144 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01521/1.088, allocations: 9.793 MB / 1.01 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.088, allocations: 0 / 1.01 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/1.088, allocations: 4 kB / 1.01 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001129/1.089, allocations: 0 / 1.01 GB, free: 6.316 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.01298/1.102, allocations: 5.958 MB / 1.016 GB, free: 260 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.102, allocations: 12.03 kB / 1.016 GB, free: 248 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02913/1.131, allocations: 4.286 MB / 1.02 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008196/1.139, allocations: 3.701 MB / 1.023 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/1.139, allocations: 305.3 kB / 1.024 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009375/1.14, allocations: 355.9 kB / 1.024 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/1.155, allocations: 5.697 MB / 1.03 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.766e-05/1.155, allocations: 3.938 kB / 1.03 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004157/1.155, allocations: 144 kB / 1.03 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/1.155, allocations: 130.5 kB / 1.03 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2548/1.41, allocations: 6.783 MB / 1.037 GB, free: 314.9 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.03721/1.447, allocations: 22.19 MB / 1.058 GB, free: 301.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.458, allocations: 4.028 MB / 1.062 GB, free: 300.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006019/1.464, allocations: 2.252 MB / 1.064 GB, free: 299.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/1.477, allocations: 8.176 MB / 1.072 GB, free: 293.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0067/1.484, allocations: 2.494 MB / 1.075 GB, free: 291.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 5.861e-06/1.484, allocations: 0 / 1.075 GB, free: 291.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.02926/1.513, allocations: 8.412 MB / 1.083 GB, free: 287.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/1.513, allocations: 140.3 kB / 1.083 GB, free: 287.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007581/1.521, allocations: 4.307 MB / 1.087 GB, free: 285.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006624/1.521, allocations: 85.34 kB / 1.087 GB, free: 285.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/1.523, allocations: 1.815 MB / 1.089 GB, free: 283.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009762/1.524, allocations: 0.7903 MB / 1.09 GB, free: 282.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002504/1.526, allocations: 0.8287 MB / 1.091 GB, free: 282.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.252e-05/1.526, allocations: 308.8 kB / 1.091 GB, free: 282.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00793/1.534, allocations: 2.72 MB / 1.094 GB, free: 280.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008354/1.543, allocations: 3.45 MB / 1.097 GB, free: 278.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.01649/1.559, allocations: 5.926 MB / 1.103 GB, free: 273.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-05/1.559, allocations: 4 kB / 1.103 GB, free: 273.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.0247/1.584, allocations: 7.569 MB / 1.11 GB, free: 265.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/1.584, allocations: 12 kB / 1.11 GB, free: 265.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/1.584, allocations: 16 kB / 1.11 GB, free: 265.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003559/1.587, allocations: 0.9707 MB / 1.111 GB, free: 264.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008001/1.596, allocations: 1.404 MB / 1.113 GB, free: 263.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/1.609, allocations: 14.45 MB / 1.127 GB, free: 247.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00983/1.619, allocations: 1.183 MB / 1.128 GB, free: 246.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.62, allocations: 195.6 kB / 1.128 GB, free: 246.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.002759/1.622, allocations: 0.8696 MB / 1.129 GB, free: 245.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001764/1.624, allocations: 422.8 kB / 1.129 GB, free: 245 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/1.644, allocations: 5.771 MB / 1.135 GB, free: 239.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/1.644, allocations: 24 kB / 1.135 GB, free: 239.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.644, allocations: 0 / 1.135 GB, free: 239.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.416e-05/1.644, allocations: 11.95 kB / 1.135 GB, free: 239.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.67, allocations: 10.9 MB / 1.146 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.67, allocations: 4.469 kB / 1.146 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004229/1.675, allocations: 0.6743 MB / 1.146 GB, free: 227.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002897/1.677, allocations: 0.7605 MB / 1.147 GB, free: 226.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000508/1.678, allocations: 87.89 kB / 1.147 GB, free: 226.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/1.689, allocations: 11.67 MB / 1.158 GB, free: 214 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.689, allocations: 7.984 kB / 1.159 GB, free: 214 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/1.714, allocations: 8.174 MB / 1.166 GB, free: 205.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00269/1.716, allocations: 1.069 MB / 1.168 GB, free: 204.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/1.718, allocations: 51.94 kB / 1.168 GB, free: 204.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006478/1.724, allocations: 0.5315 MB / 1.168 GB, free: 204.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008195/1.725, allocations: 169.7 kB / 1.168 GB, free: 203.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007543/1.726, allocations: 107.9 kB / 1.168 GB, free: 203.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005998/1.732, allocations: 2.967 MB / 1.171 GB, free: 200.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.4e-07/1.732, allocations: 0 / 1.171 GB, free: 200.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005816/1.738, allocations: 1.544 MB / 1.173 GB, free: 199.4 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.002573/1.74, allocations: 1.047 MB / 1.174 GB, free: 198.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01966/1.76, allocations: 6.438 MB / 1.18 GB, free: 192.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.76, allocations: 384 / 1.18 GB, free: 192.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007856/1.768, allocations: 3.017 MB / 1.183 GB, free: 189 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009842/1.778, allocations: 2.093 MB / 1.185 GB, free: 187 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/1.805, allocations: 9.15 MB / 1.194 GB, free: 177.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/1.807, allocations: 2.298 MB / 1.196 GB, free: 175.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.006885/1.814, allocations: 1.034 MB / 1.197 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002386/1.817, allocations: 375.1 kB / 1.198 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/1.817, allocations: 4 kB / 1.198 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.1223/1.939, allocations: 96.81 MB / 1.292 GB, free: 78.06 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)