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.001074/0.001074, allocations: 109.2 kB / 16.27 MB, free: 6.004 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.001031/0.001031, allocations: 187 kB / 17.2 MB, free: 5.617 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7757/0.7757, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3749, allocations: 77.93 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6553/1.03, allocations: 369.7 MB / 0.9283 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04721/1.077, allocations: 33.34 MB / 0.9608 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006948/1.084, allocations: 151.1 kB / 0.961 GB, free: 3.297 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006554/1.091, allocations: 2.364 MB / 0.9633 GB, free: 0.918 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02008/1.111, allocations: 7.507 MB / 0.9706 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01193/1.123, allocations: 4.556 MB / 0.9751 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01455/1.138, allocations: 11.06 MB / 0.9859 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006667/1.144, allocations: 3.992 MB / 0.9898 GB, free: 5.703 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01379/1.158, allocations: 5.428 MB / 0.9951 GB, free: 336 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005983/1.164, allocations: 3.441 MB / 0.9984 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001713/1.166, allocations: 0.5508 MB / 0.999 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/1.179, allocations: 6.76 MB / 1.006 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002521/1.182, allocations: 1.468 MB / 1.007 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005455/1.187, allocations: 2.839 MB / 1.01 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01736/1.205, allocations: 9.673 MB / 1.019 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.205, allocations: 7.938 kB / 1.019 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.432e-06/1.205, allocations: 0 / 1.019 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002037/1.205, allocations: 0 / 1.019 GB, free: 7.527 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.01447/1.22, allocations: 5.951 MB / 1.025 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.22, allocations: 12.56 kB / 1.025 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2885/1.508, allocations: 4.292 MB / 1.029 GB, free: 315.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009532/1.518, allocations: 3.552 MB / 1.033 GB, free: 314.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001764/1.52, allocations: 0.5201 MB / 1.033 GB, free: 314.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/1.521, allocations: 358.7 kB / 1.034 GB, free: 314.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/1.539, allocations: 5.719 MB / 1.039 GB, free: 312.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-05/1.539, allocations: 1.594 kB / 1.039 GB, free: 312.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006413/1.539, allocations: 137.4 kB / 1.039 GB, free: 312 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/1.54, allocations: 136.3 kB / 1.039 GB, free: 312 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02126/1.561, allocations: 6.832 MB / 1.046 GB, free: 309.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.04048/1.601, allocations: 22.36 MB / 1.068 GB, free: 291.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/1.613, allocations: 4.022 MB / 1.072 GB, free: 289.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006432/1.619, allocations: 2.257 MB / 1.074 GB, free: 288.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01276/1.632, allocations: 8.173 MB / 1.082 GB, free: 281.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006728/1.639, allocations: 2.489 MB / 1.084 GB, free: 278.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 4.298e-06/1.639, allocations: 0 / 1.084 GB, free: 278.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.03408/1.673, allocations: 8.417 MB / 1.093 GB, free: 270.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/1.673, allocations: 132.8 kB / 1.093 GB, free: 270.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00762/1.68, allocations: 4.329 MB / 1.097 GB, free: 265.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009734/1.681, allocations: 85.7 kB / 1.097 GB, free: 265.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.683, allocations: 1.82 MB / 1.099 GB, free: 263.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/1.684, allocations: 0.7958 MB / 1.1 GB, free: 263 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001742/1.686, allocations: 0.8159 MB / 1.1 GB, free: 262.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.535e-05/1.686, allocations: 305.1 kB / 1.101 GB, free: 261.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008162/1.694, allocations: 2.747 MB / 1.103 GB, free: 259.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008686/1.703, allocations: 3.456 MB / 1.107 GB, free: 255.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.01776/1.721, allocations: 5.953 MB / 1.113 GB, free: 249.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-05/1.721, allocations: 4 kB / 1.113 GB, free: 249.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02694/1.748, allocations: 7.6 MB / 1.12 GB, free: 241.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/1.748, allocations: 12 kB / 1.12 GB, free: 241.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/1.748, allocations: 19.83 kB / 1.12 GB, free: 241.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003884/1.752, allocations: 0.975 MB / 1.121 GB, free: 240.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008829/1.761, allocations: 1.416 MB / 1.122 GB, free: 239.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.775, allocations: 14.47 MB / 1.137 GB, free: 223.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/1.785, allocations: 1.221 MB / 1.138 GB, free: 222.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009044/1.786, allocations: 191.2 kB / 1.138 GB, free: 222.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.002137/1.788, allocations: 0.8673 MB / 1.139 GB, free: 221.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/1.79, allocations: 422.8 kB / 1.139 GB, free: 221 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02109/1.811, allocations: 5.776 MB / 1.145 GB, free: 215.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/1.811, allocations: 22.67 kB / 1.145 GB, free: 215.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.811, allocations: 7.938 kB / 1.145 GB, free: 215.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/1.811, allocations: 11.95 kB / 1.145 GB, free: 215.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02553/1.837, allocations: 10.89 MB / 1.155 GB, free: 204.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.837, allocations: 4 kB / 1.156 GB, free: 204.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004637/1.841, allocations: 0.6707 MB / 1.156 GB, free: 203.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003054/1.844, allocations: 0.7645 MB / 1.157 GB, free: 202.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000423/1.845, allocations: 79.91 kB / 1.157 GB, free: 202.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.856, allocations: 11.69 MB / 1.168 GB, free: 190 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.856, allocations: 4 kB / 1.168 GB, free: 190 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02746/1.884, allocations: 8.175 MB / 1.176 GB, free: 181.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002697/1.886, allocations: 1.069 MB / 1.177 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/1.888, allocations: 44 kB / 1.177 GB, free: 180.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007117/1.895, allocations: 0.5549 MB / 1.178 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006152/1.895, allocations: 165.7 kB / 1.178 GB, free: 179.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004121/1.896, allocations: 111.9 kB / 1.178 GB, free: 179.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00598/1.902, allocations: 2.987 MB / 1.181 GB, free: 176.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.91e-07/1.902, allocations: 0 / 1.181 GB, free: 176.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005874/1.908, allocations: 1.542 MB / 1.183 GB, free: 175.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.0023/1.91, allocations: 1.041 MB / 1.184 GB, free: 174.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02482/1.935, allocations: 7.104 MB / 1.191 GB, free: 167.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.935, allocations: 0 / 1.191 GB, free: 167.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008139/1.943, allocations: 3.011 MB / 1.194 GB, free: 164.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/1.954, allocations: 2.11 MB / 1.196 GB, free: 162.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02471/1.979, allocations: 9.255 MB / 1.205 GB, free: 153 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.98, allocations: 2.309 MB / 1.207 GB, free: 150.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.006591/1.987, allocations: 1.033 MB / 1.208 GB, free: 149.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/1.989, allocations: 371.2 kB / 1.208 GB, free: 149.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.242e-06/1.989, allocations: 0 / 1.208 GB, free: 149.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.1357/2.124, allocations: 100.6 MB / 1.307 GB, free: 49.55 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)