Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007545/0.0007545, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005395/0.005395, allocations: 169.1 kB / 16.26 MB, free: 6.66 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 269.8 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 16.97 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1448, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6627/0.8075, allocations: 362.2 MB / 1.039 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.4244/1.232, allocations: 33.28 MB / 1.071 GB, free: 45.61 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0058/1.238, allocations: 131.4 kB / 1.071 GB, free: 45.61 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005321/1.243, allocations: 1.938 MB / 1.073 GB, free: 45.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01983/1.263, allocations: 6.943 MB / 1.08 GB, free: 45.27 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01164/1.275, allocations: 4.148 MB / 1.084 GB, free: 45.15 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0151/1.29, allocations: 13.66 MB / 1.098 GB, free: 45.12 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005261/1.295, allocations: 3.196 MB / 1.101 GB, free: 44.68 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/1.308, allocations: 4.622 MB / 1.105 GB, free: 44.61 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006112/1.315, allocations: 3.229 MB / 1.108 GB, free: 44.59 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008099/1.315, allocations: 198.7 kB / 1.109 GB, free: 44.59 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0134/1.329, allocations: 7.201 MB / 1.116 GB, free: 44.04 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/1.33, allocations: 1.092 MB / 1.117 GB, free: 43.75 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003572/1.334, allocations: 2.447 MB / 1.119 GB, free: 43.03 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01335/1.347, allocations: 9.595 MB / 1.128 GB, free: 38.44 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.347, allocations: 0 / 1.128 GB, free: 38.44 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.794e-06/1.347, allocations: 3.938 kB / 1.128 GB, free: 38.44 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001633/1.347, allocations: 0 / 1.128 GB, free: 38.44 MB / 0.7481 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.01096/1.358, allocations: 4.972 MB / 1.133 GB, free: 35.36 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.358, allocations: 9.781 kB / 1.133 GB, free: 35.36 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0305/1.389, allocations: 4.57 MB / 1.138 GB, free: 33.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007284/1.396, allocations: 3.617 MB / 1.141 GB, free: 32.2 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001466/1.398, allocations: 0.5639 MB / 1.142 GB, free: 32.06 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008648/1.399, allocations: 352.7 kB / 1.142 GB, free: 32.06 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/1.412, allocations: 5.818 MB / 1.148 GB, free: 30.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.973e-05/1.412, allocations: 0 / 1.148 GB, free: 30.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004314/1.413, allocations: 141.3 kB / 1.148 GB, free: 30 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.85e-05/1.413, allocations: 135 kB / 1.148 GB, free: 29.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01951/1.432, allocations: 7.034 MB / 1.155 GB, free: 23.12 MB / 0.7481 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.03439/1.467, allocations: 22.52 MB / 1.177 GB, free: 192 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/1.478, allocations: 4.119 MB / 1.181 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00669/1.485, allocations: 2.32 MB / 1.183 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01382/1.498, allocations: 8.188 MB / 1.191 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007193/1.506, allocations: 2.564 MB / 1.194 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=228): time 4.097e-06/1.506, allocations: 0 / 1.194 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=228): time 0.03293/1.539, allocations: 8.685 MB / 1.202 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/1.539, allocations: 124.8 kB / 1.202 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007718/1.546, allocations: 4.356 MB / 1.207 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0006206/1.547, allocations: 81.7 kB / 1.207 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001522/1.549, allocations: 1.815 MB / 1.208 GB, free: 15.51 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008896/1.55, allocations: 0.794 MB / 1.209 GB, free: 14.72 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005655/1.55, allocations: 317.2 kB / 1.21 GB, free: 14.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/1.55, allocations: 301.1 kB / 1.21 GB, free: 14.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009235/1.559, allocations: 2.835 MB / 1.213 GB, free: 11.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009893/1.569, allocations: 3.549 MB / 1.216 GB, free: 7.484 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.01946/1.589, allocations: 6.107 MB / 1.222 GB, free: 1.207 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.288e-05/1.589, allocations: 4 kB / 1.222 GB, free: 1.203 MB / 0.795 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02845/1.617, allocations: 7.811 MB / 1.23 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/1.617, allocations: 12.06 kB / 1.23 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/1.617, allocations: 19.94 kB / 1.23 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004455/1.622, allocations: 0.9888 MB / 1.231 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009707/1.632, allocations: 1.436 MB / 1.232 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/1.65, allocations: 13.79 MB / 1.245 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/1.661, allocations: 1.4 MB / 1.247 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009314/1.662, allocations: 179.8 kB / 1.247 GB, free: 6.66 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 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.002435/1.664, allocations: 0.8877 MB / 1.248 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/1.666, allocations: 422.8 kB / 1.248 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02219/1.688, allocations: 5.928 MB / 1.254 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/1.688, allocations: 24 kB / 1.254 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.688, allocations: 0 / 1.254 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.021e-05/1.688, allocations: 11.95 kB / 1.254 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0301/1.718, allocations: 11.05 MB / 1.265 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/1.718, allocations: 4.031 kB / 1.265 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004968/1.723, allocations: 0.7038 MB / 1.266 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003748/1.727, allocations: 0.7999 MB / 1.266 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006664/1.728, allocations: 79.91 kB / 1.266 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/1.741, allocations: 11.04 MB / 1.277 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.742, allocations: 4 kB / 1.277 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02897/1.77, allocations: 8.397 MB / 1.285 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003664/1.774, allocations: 1.147 MB / 1.287 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/1.776, allocations: 44 kB / 1.287 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007515/1.783, allocations: 0.6696 MB / 1.287 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/1.784, allocations: 171.2 kB / 1.287 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003563/1.784, allocations: 111.8 kB / 1.288 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.006623/1.791, allocations: 3.003 MB / 1.29 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/1.791, allocations: 0 / 1.29 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.006162/1.797, allocations: 1.56 MB / 1.292 GB, free: 7.68 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.002562/1.799, allocations: 1.046 MB / 1.293 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02202/1.821, allocations: 6.579 MB / 1.299 GB, free: 324 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.822, allocations: 4 kB / 1.299 GB, free: 320 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.008718/1.83, allocations: 3.07 MB / 1.302 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01441/1.845, allocations: 2.037 MB / 1.304 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/1.873, allocations: 10.95 MB / 1.315 GB, free: 224 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/1.875, allocations: 2.303 MB / 1.317 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.006706/1.882, allocations: 1.04 MB / 1.318 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/1.884, allocations: 383.2 kB / 1.319 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/1.884, allocations: 4 kB / 1.319 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.4636/2.347, allocations: 99.08 MB / 1.416 GB, free: 444 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)