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.001353/0.001353, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001387/0.001387, allocations: 191.4 kB / 16.25 MB, free: 6.637 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 286.7 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.096/1.096, allocations: 178.6 MB / 0.507 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 104.7 kB / 0.6059 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1691, allocations: 89.15 MB / 0.693 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.028/1.197, allocations: 365.6 MB / 1.05 GB, free: 48.69 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04169/1.239, allocations: 33.13 MB / 1.082 GB, free: 48.49 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007194/1.246, allocations: 142.5 kB / 1.082 GB, free: 48.49 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006418/1.253, allocations: 2.058 MB / 1.084 GB, free: 48.45 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01966/1.272, allocations: 7.001 MB / 1.091 GB, free: 48.22 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01096/1.283, allocations: 4.215 MB / 1.095 GB, free: 48.11 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0149/1.298, allocations: 11.09 MB / 1.106 GB, free: 48.09 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006394/1.305, allocations: 3.934 MB / 1.11 GB, free: 47.66 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/1.321, allocations: 5.491 MB / 1.115 GB, free: 47.49 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007124/1.328, allocations: 3.572 MB / 1.119 GB, free: 46.9 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001392/1.329, allocations: 0.5528 MB / 1.119 GB, free: 46.89 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/1.344, allocations: 7.009 MB / 1.126 GB, free: 46.82 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002096/1.346, allocations: 1.476 MB / 1.128 GB, free: 46.64 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004923/1.351, allocations: 2.843 MB / 1.131 GB, free: 45.9 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01758/1.368, allocations: 10.02 MB / 1.14 GB, free: 41.21 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.368, allocations: 0 / 1.14 GB, free: 41.21 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.833e-06/1.368, allocations: 2.625 kB / 1.14 GB, free: 41.21 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001934/1.369, allocations: 0 / 1.14 GB, free: 41.21 MB / 0.7637 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.01398/1.383, allocations: 5.952 MB / 1.146 GB, free: 36.52 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.383, allocations: 12.03 kB / 1.146 GB, free: 36.51 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03064/1.413, allocations: 4.286 MB / 1.15 GB, free: 32.22 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006994/1.42, allocations: 3.6 MB / 1.154 GB, free: 28.73 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001352/1.422, allocations: 0.5203 MB / 1.154 GB, free: 28.2 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009888/1.423, allocations: 363.1 kB / 1.155 GB, free: 27.85 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/1.437, allocations: 5.712 MB / 1.16 GB, free: 22.07 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.576e-05/1.437, allocations: 0 / 1.16 GB, free: 22.07 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004641/1.438, allocations: 143.7 kB / 1.16 GB, free: 21.93 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.509e-05/1.438, allocations: 137.5 kB / 1.161 GB, free: 21.8 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/1.458, allocations: 6.825 MB / 1.167 GB, free: 14.98 MB / 0.7637 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.04115/1.499, allocations: 22.27 MB / 1.189 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/1.512, allocations: 4.03 MB / 1.193 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00755/1.519, allocations: 2.253 MB / 1.195 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0171/1.537, allocations: 8.169 MB / 1.203 GB, free: 9.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008136/1.545, allocations: 2.493 MB / 1.206 GB, free: 7.078 MB / 0.795 GB Notification: Performance of pre-optimization done (n=228): time 4.649e-06/1.545, allocations: 4 kB / 1.206 GB, free: 7.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=228): time 0.03667/1.581, allocations: 8.411 MB / 1.214 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.582, allocations: 132.8 kB / 1.214 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009292/1.591, allocations: 4.322 MB / 1.218 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0007134/1.592, allocations: 77.7 kB / 1.218 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00196/1.594, allocations: 1.826 MB / 1.22 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/1.595, allocations: 0.7949 MB / 1.221 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001931/1.597, allocations: 0.8279 MB / 1.222 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.597, allocations: 305.1 kB / 1.222 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009634/1.607, allocations: 2.736 MB / 1.224 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01058/1.617, allocations: 3.461 MB / 1.228 GB, free: 15.79 MB / 0.8262 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.02007/1.637, allocations: 5.947 MB / 1.234 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/1.637, allocations: 4 kB / 1.234 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02851/1.666, allocations: 7.615 MB / 1.241 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/1.666, allocations: 10.34 kB / 1.241 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/1.666, allocations: 16 kB / 1.241 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00436/1.67, allocations: 0.9698 MB / 1.242 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009205/1.679, allocations: 1.42 MB / 1.243 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/1.7, allocations: 14.54 MB / 1.258 GB, free: 144 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/1.712, allocations: 1.306 MB / 1.259 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.713, allocations: 183.8 kB / 1.259 GB, free: 14.65 MB / 0.8575 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.004463/1.718, allocations: 0.8651 MB / 1.26 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002157/1.72, allocations: 426.7 kB / 1.26 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0249/1.745, allocations: 5.772 MB / 1.266 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.302e-05/1.745, allocations: 27.92 kB / 1.266 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.745, allocations: 4 kB / 1.266 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.025e-05/1.745, allocations: 15.95 kB / 1.266 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03436/1.779, allocations: 10.89 MB / 1.277 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.78, allocations: 0 / 1.277 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005259/1.785, allocations: 0.6689 MB / 1.277 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003565/1.788, allocations: 0.7642 MB / 1.278 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006659/1.789, allocations: 79.91 kB / 1.278 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/1.805, allocations: 11.68 MB / 1.29 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/1.805, allocations: 7.188 kB / 1.29 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03177/1.837, allocations: 8.186 MB / 1.298 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003552/1.841, allocations: 1.069 MB / 1.299 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/1.843, allocations: 40 kB / 1.299 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008032/1.851, allocations: 0.6094 MB / 1.299 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008102/1.851, allocations: 170.8 kB / 1.299 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006806/1.852, allocations: 107.9 kB / 1.3 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.007846/1.86, allocations: 2.979 MB / 1.302 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.21e-07/1.86, allocations: 0 / 1.302 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00719/1.867, allocations: 1.557 MB / 1.304 GB, free: 15.76 MB / 0.9044 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.003696/1.871, allocations: 1.04 MB / 1.305 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.02875/1.9, allocations: 7.103 MB / 1.312 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/1.9, allocations: 4 kB / 1.312 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00979/1.91, allocations: 3.015 MB / 1.315 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01229/1.922, allocations: 2.098 MB / 1.317 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03196/1.954, allocations: 10.76 MB / 1.327 GB, free: 8.066 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/1.957, allocations: 2.298 MB / 1.33 GB, free: 5.738 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.007862/1.965, allocations: 1.054 MB / 1.331 GB, free: 4.695 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/1.967, allocations: 367.2 kB / 1.331 GB, free: 4.336 MB / 0.92 GB Notification: Performance of SimCode: time 7.82e-07/1.967, allocations: 0 / 1.331 GB, free: 4.336 MB / 0.92 GB Notification: Performance of Templates: time 0.4676/2.435, allocations: 99.84 MB / 1.429 GB, free: 457.8 MB / 0.9825 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)