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.001267/0.001267, allocations: 115.6 kB / 17.08 MB, free: 6.016 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.001168/0.001169, allocations: 196.7 kB / 18.02 MB, free: 5.094 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.288/1.288, 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.6893/0.6893, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 65.28 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1344, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6837/0.8182, allocations: 369.7 MB / 0.9938 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04807/0.8663, allocations: 33.33 MB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007007/0.8733, allocations: 155.1 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.007122/0.8805, allocations: 2.368 MB / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02031/0.9009, allocations: 7.504 MB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.9122, allocations: 4.59 MB / 1.041 GB, free: 10.37 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.4543/1.367, allocations: 11.07 MB / 1.051 GB, free: 52.23 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007552/1.374, allocations: 3.99 MB / 1.055 GB, free: 51.84 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01499/1.389, allocations: 5.516 MB / 1.061 GB, free: 51.81 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007364/1.397, allocations: 3.453 MB / 1.064 GB, free: 51.64 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002506/1.399, allocations: 0.5511 MB / 1.065 GB, free: 51.64 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01428/1.413, allocations: 6.802 MB / 1.071 GB, free: 51.64 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003024/1.416, allocations: 1.471 MB / 1.073 GB, free: 51.46 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006155/1.423, allocations: 2.841 MB / 1.075 GB, free: 50.72 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01912/1.442, allocations: 9.784 MB / 1.085 GB, free: 49.81 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.442, allocations: 0 / 1.085 GB, free: 49.81 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/1.442, allocations: 0.9688 kB / 1.085 GB, free: 49.81 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000254/1.442, allocations: 0.8125 kB / 1.085 GB, free: 49.81 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.01813/1.46, allocations: 5.954 MB / 1.091 GB, free: 47.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.46, allocations: 11 kB / 1.091 GB, free: 47.27 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.029/1.489, allocations: 4.29 MB / 1.095 GB, free: 47 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/1.499, allocations: 3.699 MB / 1.099 GB, free: 46.26 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004771/1.5, allocations: 308.9 kB / 1.099 GB, free: 46.22 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/1.502, allocations: 355.4 kB / 1.099 GB, free: 46.22 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/1.521, allocations: 5.694 MB / 1.105 GB, free: 45.93 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/1.521, allocations: 0 / 1.105 GB, free: 45.93 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001296/1.523, allocations: 137.1 kB / 1.105 GB, free: 45.93 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/1.523, allocations: 134.1 kB / 1.105 GB, free: 45.92 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/1.544, allocations: 6.796 MB / 1.112 GB, free: 45.78 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.04325/1.588, allocations: 22.19 MB / 1.133 GB, free: 37.17 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.599, allocations: 4.036 MB / 1.137 GB, free: 36.45 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006428/1.605, allocations: 2.258 MB / 1.14 GB, free: 36.04 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/1.621, allocations: 8.169 MB / 1.148 GB, free: 31.93 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006912/1.628, allocations: 2.492 MB / 1.15 GB, free: 31.17 MB / 0.795 GB Notification: Performance of pre-optimization done (n=228): time 5.61e-06/1.628, allocations: 2.344 kB / 1.15 GB, free: 31.17 MB / 0.795 GB Notification: Performance of matching and sorting (n=228): time 0.03163/1.659, allocations: 8.406 MB / 1.158 GB, free: 25.97 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/1.659, allocations: 130.3 kB / 1.158 GB, free: 25.82 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009372/1.669, allocations: 4.316 MB / 1.163 GB, free: 22.18 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0009223/1.67, allocations: 85.7 kB / 1.163 GB, free: 22.09 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001793/1.672, allocations: 1.813 MB / 1.164 GB, free: 20.28 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/1.673, allocations: 0.7976 MB / 1.165 GB, free: 19.49 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003367/1.676, allocations: 0.8184 MB / 1.166 GB, free: 18.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.128e-05/1.676, allocations: 305.1 kB / 1.166 GB, free: 18.36 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008686/1.685, allocations: 2.72 MB / 1.169 GB, free: 15.64 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00938/1.695, allocations: 3.44 MB / 1.172 GB, free: 11.97 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.01772/1.712, allocations: 5.939 MB / 1.178 GB, free: 5.852 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-05/1.712, allocations: 4 kB / 1.178 GB, free: 5.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02885/1.741, allocations: 7.563 MB / 1.185 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/1.741, allocations: 16.44 kB / 1.185 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.563e-05/1.741, allocations: 20 kB / 1.185 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004095/1.745, allocations: 0.972 MB / 1.186 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009041/1.755, allocations: 1.406 MB / 1.188 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/1.772, allocations: 14.46 MB / 1.202 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/1.783, allocations: 1.183 MB / 1.203 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/1.784, allocations: 187.8 kB / 1.203 GB, free: 11.1 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.003816/1.788, allocations: 0.8736 MB / 1.204 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002309/1.79, allocations: 426.8 kB / 1.205 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02309/1.814, allocations: 5.761 MB / 1.21 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.591e-05/1.814, allocations: 27.98 kB / 1.21 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.814, allocations: 4 kB / 1.21 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.308e-05/1.814, allocations: 15.95 kB / 1.21 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03353/1.847, allocations: 10.89 MB / 1.221 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/1.847, allocations: 4 kB / 1.221 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004961/1.852, allocations: 0.6727 MB / 1.221 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/1.856, allocations: 0.7549 MB / 1.222 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008505/1.857, allocations: 87.84 kB / 1.222 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/1.871, allocations: 11.68 MB / 1.234 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.871, allocations: 6.344 kB / 1.234 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02958/1.9, allocations: 8.172 MB / 1.242 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003885/1.904, allocations: 1.065 MB / 1.243 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00212/1.906, allocations: 48 kB / 1.243 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007388/1.914, allocations: 0.5413 MB / 1.243 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008166/1.915, allocations: 168.1 kB / 1.243 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007537/1.915, allocations: 111.9 kB / 1.244 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.007767/1.923, allocations: 2.96 MB / 1.246 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.024e-06/1.923, allocations: 0 / 1.246 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.007519/1.931, allocations: 1.551 MB / 1.248 GB, free: 12.31 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.003196/1.934, allocations: 1.042 MB / 1.249 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02283/1.957, allocations: 6.436 MB / 1.255 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.957, allocations: 0 / 1.255 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.009214/1.966, allocations: 3.017 MB / 1.258 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01381/1.98, allocations: 2.091 MB / 1.26 GB, free: 28 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03135/2.011, allocations: 9.285 MB / 1.269 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003201/2.015, allocations: 2.302 MB / 1.272 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003766/2.018, allocations: 427.1 kB / 1.272 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of SimCode: time 1.232e-06/2.018, allocations: 0 / 1.272 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of Templates: time 0.5411/2.56, allocations: 261.2 MB / 1.527 GB, free: 425.5 MB / 1.014 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)