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.001049/0.001049, allocations: 89.19 kB / 16.66 MB, free: 5.867 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.001111/0.001111, allocations: 177.6 kB / 17.58 MB, free: 5.539 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.373/1.373, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7346/0.7346, allocations: 115.5 MB / 408.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003538, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4318, allocations: 77.51 MB / 0.5606 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7575/1.189, allocations: 362.2 MB / 0.9143 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04812/1.238, allocations: 33.3 MB / 0.9468 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007697/1.245, allocations: 131.1 kB / 0.947 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007092/1.252, allocations: 1.935 MB / 0.9488 GB, free: 360 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02164/1.274, allocations: 6.95 MB / 0.9556 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01173/1.286, allocations: 4.161 MB / 0.9597 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02189/1.308, allocations: 13.66 MB / 0.973 GB, free: 7.562 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006465/1.314, allocations: 3.189 MB / 0.9761 GB, free: 4.316 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01553/1.33, allocations: 4.617 MB / 0.9807 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007665/1.338, allocations: 3.234 MB / 0.9838 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002033/1.34, allocations: 192 kB / 0.984 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01635/1.356, allocations: 7.206 MB / 0.991 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002603/1.359, allocations: 1.093 MB / 0.9921 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005109/1.364, allocations: 2.446 MB / 0.9945 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01242/1.376, allocations: 7.233 MB / 1.002 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.376, allocations: 0 / 1.002 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.334e-06/1.376, allocations: 0 / 1.002 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002174/1.376, allocations: 4 kB / 1.002 GB, free: 10.27 MB / 0.7012 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.01368/1.39, allocations: 4.973 MB / 1.006 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.39, allocations: 15.91 kB / 1.006 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03112/1.421, allocations: 4.563 MB / 1.011 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009887/1.431, allocations: 3.61 MB / 1.014 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001676/1.433, allocations: 0.5596 MB / 1.015 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/1.435, allocations: 363.8 kB / 1.015 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/1.451, allocations: 5.808 MB / 1.021 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-05/1.451, allocations: 3.938 kB / 1.021 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004681/1.452, allocations: 140 kB / 1.021 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/1.452, allocations: 138.5 kB / 1.021 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3547/1.807, allocations: 7.024 MB / 1.028 GB, free: 299.2 MB / 0.7169 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.04876/1.855, allocations: 22.54 MB / 1.05 GB, free: 285.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/1.868, allocations: 4.108 MB / 1.054 GB, free: 284.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007251/1.875, allocations: 2.321 MB / 1.056 GB, free: 283.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/1.89, allocations: 8.19 MB / 1.064 GB, free: 278.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007225/1.897, allocations: 2.562 MB / 1.067 GB, free: 276.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=228): time 4.579e-06/1.897, allocations: 1.344 kB / 1.067 GB, free: 276.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=228): time 0.0337/1.931, allocations: 8.679 MB / 1.075 GB, free: 272.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/1.931, allocations: 124.5 kB / 1.075 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008535/1.94, allocations: 4.349 MB / 1.08 GB, free: 270.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009962/1.941, allocations: 77.52 kB / 1.08 GB, free: 270.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.942, allocations: 1.826 MB / 1.082 GB, free: 268.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.943, allocations: 0.7982 MB / 1.082 GB, free: 267.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000658/1.944, allocations: 311.5 kB / 1.083 GB, free: 267.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.387e-05/1.944, allocations: 301.1 kB / 1.083 GB, free: 267.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008773/1.953, allocations: 2.832 MB / 1.086 GB, free: 266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009913/1.963, allocations: 3.556 MB / 1.089 GB, free: 263.8 MB / 0.7169 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.01893/1.982, allocations: 6.099 MB / 1.095 GB, free: 259.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.53e-05/1.982, allocations: 4 kB / 1.095 GB, free: 259.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02873/2.011, allocations: 7.819 MB / 1.103 GB, free: 251.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/2.011, allocations: 20 kB / 1.103 GB, free: 251.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/2.011, allocations: 16 kB / 1.103 GB, free: 251.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/2.015, allocations: 0.9772 MB / 1.104 GB, free: 250.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009061/2.024, allocations: 1.436 MB / 1.105 GB, free: 248.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/2.038, allocations: 13.82 MB / 1.119 GB, free: 234.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01178/2.05, allocations: 1.385 MB / 1.12 GB, free: 232.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/2.051, allocations: 183.8 kB / 1.12 GB, free: 232.6 MB / 0.7169 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.002733/2.054, allocations: 0.8593 MB / 1.121 GB, free: 231.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/2.055, allocations: 430.7 kB / 1.121 GB, free: 231.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/2.075, allocations: 5.931 MB / 1.127 GB, free: 225.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/2.075, allocations: 27.94 kB / 1.127 GB, free: 225.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/2.075, allocations: 0 / 1.127 GB, free: 225.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-05/2.075, allocations: 11.95 kB / 1.127 GB, free: 225.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02875/2.104, allocations: 11.04 MB / 1.138 GB, free: 214.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/2.104, allocations: 4.984 kB / 1.138 GB, free: 214.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004656/2.109, allocations: 0.6983 MB / 1.139 GB, free: 213.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003351/2.112, allocations: 0.8047 MB / 1.14 GB, free: 212.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005904/2.113, allocations: 83.91 kB / 1.14 GB, free: 212.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/2.124, allocations: 11.02 MB / 1.15 GB, free: 200.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/2.124, allocations: 7.938 kB / 1.15 GB, free: 200.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02737/2.151, allocations: 8.397 MB / 1.159 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003801/2.155, allocations: 1.151 MB / 1.16 GB, free: 191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/2.157, allocations: 56.17 kB / 1.16 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007563/2.164, allocations: 0.6565 MB / 1.16 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006841/2.165, allocations: 169.7 kB / 1.161 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004392/2.165, allocations: 107.9 kB / 1.161 GB, free: 190 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006102/2.171, allocations: 3.007 MB / 1.164 GB, free: 187 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/2.171, allocations: 0 / 1.164 GB, free: 187 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00688/2.178, allocations: 1.557 MB / 1.165 GB, free: 185.5 MB / 0.7169 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.002639/2.181, allocations: 1.051 MB / 1.166 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02056/2.202, allocations: 6.576 MB / 1.173 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/2.202, allocations: 0 / 1.173 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008045/2.21, allocations: 3.077 MB / 1.176 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01313/2.223, allocations: 2.038 MB / 1.178 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/2.249, allocations: 11.07 MB / 1.188 GB, free: 161.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/2.251, allocations: 2.299 MB / 1.191 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002919/2.254, allocations: 439.1 kB / 1.191 GB, free: 159 MB / 0.7169 GB Notification: Performance of SimCode: time 4.7e-07/2.254, allocations: 4 kB / 1.191 GB, free: 159 MB / 0.7169 GB Notification: Performance of Templates: time 0.5536/2.808, allocations: 259.2 MB / 1.444 GB, free: 219.3 MB / 0.7169 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)