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.001061/0.001061, allocations: 99.12 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 179.8 kB / 16.92 MB, free: 6.707 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: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6896/0.6896, allocations: 115.4 MB / 407.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 8.594 kB / 495.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 77.51 MB / 0.5598 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.027/1.169, allocations: 362.2 MB / 0.9135 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04003/1.209, allocations: 33.3 MB / 0.946 GB, free: 22.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006923/1.216, allocations: 136.2 kB / 0.9462 GB, free: 22.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006414/1.223, allocations: 1.932 MB / 0.948 GB, free: 21.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02051/1.243, allocations: 6.944 MB / 0.9548 GB, free: 18.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01067/1.254, allocations: 4.161 MB / 0.9589 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01673/1.271, allocations: 13.66 MB / 0.9722 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005586/1.276, allocations: 3.198 MB / 0.9753 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01517/1.292, allocations: 4.626 MB / 0.9799 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007257/1.299, allocations: 3.228 MB / 0.983 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001672/1.301, allocations: 195.9 kB / 0.9832 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/1.316, allocations: 7.204 MB / 0.9902 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002466/1.318, allocations: 1.088 MB / 0.9913 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005579/1.324, allocations: 2.44 MB / 0.9937 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01976/1.344, allocations: 9.603 MB / 1.003 GB, free: 11.05 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.344, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.885e-06/1.344, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002727/1.344, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.67 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.01382/1.358, allocations: 4.975 MB / 1.008 GB, free: 6.023 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/1.358, allocations: 8.031 kB / 1.008 GB, free: 6.016 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03262/1.391, allocations: 4.571 MB / 1.012 GB, free: 1.445 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0087/1.399, allocations: 3.614 MB / 1.016 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001788/1.401, allocations: 0.5518 MB / 1.016 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/1.403, allocations: 363.8 kB / 1.017 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01794/1.42, allocations: 5.81 MB / 1.022 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.392e-05/1.421, allocations: 3.938 kB / 1.022 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005791/1.421, allocations: 138.9 kB / 1.023 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/1.421, allocations: 130.5 kB / 1.023 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/1.446, allocations: 7.031 MB / 1.03 GB, free: 15.75 MB / 0.7012 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.04286/1.488, allocations: 22.54 MB / 1.052 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/1.5, allocations: 4.109 MB / 1.056 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007232/1.508, allocations: 2.32 MB / 1.058 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01531/1.523, allocations: 8.201 MB / 1.066 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00768/1.531, allocations: 2.551 MB / 1.068 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 5.08e-06/1.531, allocations: 0 / 1.068 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.03531/1.566, allocations: 8.689 MB / 1.077 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/1.566, allocations: 128.8 kB / 1.077 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.577, allocations: 4.349 MB / 1.081 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000864/1.577, allocations: 77.7 kB / 1.081 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002187/1.58, allocations: 1.815 MB / 1.083 GB, free: 7.535 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001548/1.581, allocations: 0.8019 MB / 1.084 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/1.583, allocations: 309.2 kB / 1.084 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.583, allocations: 309.1 kB / 1.084 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01055/1.593, allocations: 2.825 MB / 1.087 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01105/1.604, allocations: 3.549 MB / 1.091 GB, free: 15.51 MB / 0.7637 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.02111/1.625, allocations: 6.111 MB / 1.097 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-05/1.626, allocations: 7.938 kB / 1.097 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03227/1.658, allocations: 7.815 MB / 1.104 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/1.658, allocations: 12 kB / 1.104 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/1.658, allocations: 16 kB / 1.104 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004605/1.663, allocations: 0.9872 MB / 1.105 GB, free: 244 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009574/1.672, allocations: 1.439 MB / 1.107 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3083/1.98, allocations: 13.79 MB / 1.12 GB, free: 351.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/1.992, allocations: 1.39 MB / 1.122 GB, free: 351.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.994, allocations: 184.9 kB / 1.122 GB, free: 351.8 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.003266/1.997, allocations: 0.8638 MB / 1.123 GB, free: 351.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001729/1.999, allocations: 425.9 kB / 1.123 GB, free: 351.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02448/2.023, allocations: 5.934 MB / 1.129 GB, free: 351.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.57e-05/2.023, allocations: 23.94 kB / 1.129 GB, free: 351.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/2.023, allocations: 1.094 kB / 1.129 GB, free: 351.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.362e-05/2.023, allocations: 12 kB / 1.129 GB, free: 351.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03503/2.058, allocations: 11.04 MB / 1.14 GB, free: 347.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/2.058, allocations: 3.406 kB / 1.14 GB, free: 347.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005136/2.063, allocations: 0.7045 MB / 1.14 GB, free: 347.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003714/2.067, allocations: 0.7972 MB / 1.141 GB, free: 347.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007536/2.068, allocations: 82.7 kB / 1.141 GB, free: 347.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/2.081, allocations: 11.02 MB / 1.152 GB, free: 337.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/2.081, allocations: 16.19 kB / 1.152 GB, free: 337.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02973/2.11, allocations: 8.399 MB / 1.16 GB, free: 334.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003594/2.114, allocations: 1.146 MB / 1.161 GB, free: 333.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/2.116, allocations: 47.81 kB / 1.161 GB, free: 333.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007203/2.123, allocations: 0.6654 MB / 1.162 GB, free: 333.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005976/2.123, allocations: 171.6 kB / 1.162 GB, free: 333.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000494/2.124, allocations: 109.6 kB / 1.162 GB, free: 333.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.006771/2.131, allocations: 3.001 MB / 1.165 GB, free: 332.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7.01e-07/2.131, allocations: 0 / 1.165 GB, free: 332.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007642/2.138, allocations: 1.56 MB / 1.167 GB, free: 332.4 MB / 0.7794 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.003141/2.142, allocations: 1.04 MB / 1.168 GB, free: 332.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02206/2.164, allocations: 6.582 MB / 1.174 GB, free: 329.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/2.164, allocations: 2.344 kB / 1.174 GB, free: 329.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.008408/2.172, allocations: 3.076 MB / 1.177 GB, free: 327.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01561/2.188, allocations: 2.051 MB / 1.179 GB, free: 326.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02956/2.217, allocations: 10.95 MB / 1.19 GB, free: 317.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/2.22, allocations: 2.299 MB / 1.192 GB, free: 315.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.007952/2.228, allocations: 1.045 MB / 1.193 GB, free: 314.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002285/2.23, allocations: 383.2 kB / 1.193 GB, free: 313.9 MB / 0.7794 GB Notification: Performance of SimCode: time 1.483e-06/2.23, allocations: 0 / 1.193 GB, free: 313.9 MB / 0.7794 GB Notification: Performance of Templates: time 0.1364/2.367, allocations: 99.05 MB / 1.29 GB, free: 215.8 MB / 0.7794 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)