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.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002156/0.002155, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 274.7 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9236/0.9236, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 95.62 kB / 0.5945 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1723, allocations: 86.99 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6535/0.8258, allocations: 367.2 MB / 1.038 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.4886/1.314, allocations: 33.63 MB / 1.071 GB, free: 46.32 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00834/1.323, allocations: 143.2 kB / 1.071 GB, free: 46.31 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.009194/1.332, allocations: 1.939 MB / 1.073 GB, free: 46.31 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02715/1.359, allocations: 6.944 MB / 1.08 GB, free: 46.17 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01632/1.376, allocations: 4.157 MB / 1.084 GB, free: 46.05 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02484/1.4, allocations: 13.67 MB / 1.097 GB, free: 46.04 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007654/1.408, allocations: 3.284 MB / 1.1 GB, free: 45.64 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01917/1.427, allocations: 4.746 MB / 1.105 GB, free: 45.56 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009778/1.437, allocations: 3.358 MB / 1.108 GB, free: 45.01 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002948/1.44, allocations: 242.2 kB / 1.108 GB, free: 45.01 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02438/1.465, allocations: 7.254 MB / 1.116 GB, free: 44.93 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003123/1.468, allocations: 1.17 MB / 1.117 GB, free: 44.74 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.006976/1.475, allocations: 2.519 MB / 1.119 GB, free: 44.01 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02081/1.496, allocations: 9.788 MB / 1.129 GB, free: 41.8 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.496, allocations: 0 / 1.129 GB, free: 41.8 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.443e-06/1.496, allocations: 4 kB / 1.129 GB, free: 41.79 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002034/1.496, allocations: 0 / 1.129 GB, free: 41.79 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.02566/1.522, allocations: 5.955 MB / 1.135 GB, free: 38.53 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.522, allocations: 12.28 kB / 1.135 GB, free: 38.53 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04747/1.569, allocations: 4.289 MB / 1.139 GB, free: 36.84 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00837/1.577, allocations: 3.598 MB / 1.142 GB, free: 35.39 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00142/1.579, allocations: 0.5299 MB / 1.143 GB, free: 35.25 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/1.581, allocations: 355.8 kB / 1.143 GB, free: 35.25 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/1.597, allocations: 5.705 MB / 1.149 GB, free: 33.64 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.263e-05/1.597, allocations: 6.062 kB / 1.149 GB, free: 33.64 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000756/1.598, allocations: 141.4 kB / 1.149 GB, free: 33.63 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/1.598, allocations: 138.1 kB / 1.149 GB, free: 33.62 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/1.618, allocations: 6.823 MB / 1.156 GB, free: 29.48 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.03614/1.654, allocations: 22.26 MB / 1.177 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/1.664, allocations: 4.051 MB / 1.181 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005963/1.67, allocations: 2.251 MB / 1.183 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01443/1.684, allocations: 8.166 MB / 1.191 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007301/1.692, allocations: 2.489 MB / 1.194 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=228): time 5.17e-06/1.692, allocations: 0 / 1.194 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of matching and sorting (n=228): time 0.03351/1.725, allocations: 8.42 MB / 1.202 GB, free: 15.29 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/1.725, allocations: 128.8 kB / 1.202 GB, free: 15.13 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008111/1.733, allocations: 4.321 MB / 1.206 GB, free: 10.79 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006391/1.734, allocations: 77.7 kB / 1.207 GB, free: 10.71 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001632/1.736, allocations: 1.818 MB / 1.208 GB, free: 8.891 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009758/1.737, allocations: 0.7979 MB / 1.209 GB, free: 8.102 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001707/1.738, allocations: 0.8198 MB / 1.21 GB, free: 7.273 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/1.738, allocations: 309 kB / 1.21 GB, free: 6.969 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008799/1.747, allocations: 2.738 MB / 1.213 GB, free: 4.23 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00965/1.757, allocations: 3.462 MB / 1.216 GB, free: 0.5312 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.01891/1.776, allocations: 5.959 MB / 1.222 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-05/1.776, allocations: 4 kB / 1.222 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02932/1.805, allocations: 7.599 MB / 1.229 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/1.805, allocations: 14.97 kB / 1.229 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/1.805, allocations: 12 kB / 1.23 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004315/1.81, allocations: 0.9672 MB / 1.23 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009282/1.819, allocations: 1.412 MB / 1.232 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/1.836, allocations: 13.73 MB / 1.245 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/1.847, allocations: 1.312 MB / 1.247 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/1.848, allocations: 191.1 kB / 1.247 GB, free: 280 kB / 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.00231/1.851, allocations: 0.8758 MB / 1.248 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/1.852, allocations: 426.8 kB / 1.248 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02191/1.874, allocations: 5.77 MB / 1.254 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/1.874, allocations: 24 kB / 1.254 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/1.874, allocations: 0 / 1.254 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.287e-05/1.874, allocations: 19.89 kB / 1.254 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02939/1.904, allocations: 10.89 MB / 1.264 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/1.904, allocations: 4 kB / 1.264 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004799/1.909, allocations: 0.6731 MB / 1.265 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003546/1.912, allocations: 0.7865 MB / 1.266 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005611/1.913, allocations: 79.91 kB / 1.266 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/1.926, allocations: 10.96 MB / 1.276 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-05/1.926, allocations: 6.625 kB / 1.276 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02889/1.955, allocations: 8.175 MB / 1.284 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/1.958, allocations: 1.065 MB / 1.286 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000866/1.959, allocations: 47.98 kB / 1.286 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006157/1.965, allocations: 0.6093 MB / 1.286 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003904/1.965, allocations: 168.9 kB / 1.286 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/1.965, allocations: 111.9 kB / 1.286 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.005656/1.971, allocations: 2.971 MB / 1.289 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/1.971, allocations: 11.03 kB / 1.289 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004781/1.976, allocations: 1.557 MB / 1.291 GB, free: 2.129 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.002287/1.978, allocations: 1.04 MB / 1.292 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02097/1.999, allocations: 6.421 MB / 1.298 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.999, allocations: 4 kB / 1.298 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.008121/2.007, allocations: 3.007 MB / 1.301 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/2.018, allocations: 1.971 MB / 1.303 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02793/2.046, allocations: 10.76 MB / 1.314 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/2.048, allocations: 2.298 MB / 1.316 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.006438/2.054, allocations: 1.042 MB / 1.317 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/2.056, allocations: 367.2 kB / 1.317 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of SimCode: time 9.12e-07/2.056, allocations: 0 / 1.317 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of Templates: time 0.3929/2.449, allocations: 96.17 MB / 1.411 GB, free: 488.9 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)