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.001579/0.001579, allocations: 111.5 kB / 16.37 MB, free: 6.012 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.001719/0.00172, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 292 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9308/0.9308, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001769, allocations: 95.38 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1536, allocations: 86.97 MB / 0.6816 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9261/1.08, allocations: 369.7 MB / 1.043 GB, free: 25.47 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03833/1.118, allocations: 33.36 MB / 1.075 GB, free: 24.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007569/1.126, allocations: 151.1 kB / 1.075 GB, free: 24.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006508/1.132, allocations: 2.363 MB / 1.078 GB, free: 24.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01839/1.151, allocations: 7.508 MB / 1.085 GB, free: 21.83 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/1.162, allocations: 4.58 MB / 1.089 GB, free: 19.03 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01303/1.175, allocations: 11.08 MB / 1.1 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00513/1.18, allocations: 3.995 MB / 1.104 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/1.193, allocations: 5.442 MB / 1.11 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005489/1.198, allocations: 3.472 MB / 1.113 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00161/1.2, allocations: 0.5469 MB / 1.113 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/1.214, allocations: 6.798 MB / 1.12 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002235/1.217, allocations: 1.476 MB / 1.122 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004735/1.221, allocations: 2.837 MB / 1.124 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01655/1.238, allocations: 9.799 MB / 1.134 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.238, allocations: 4 kB / 1.134 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.963e-06/1.238, allocations: 0 / 1.134 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002061/1.238, allocations: 0 / 1.134 GB, free: 14.9 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.01475/1.253, allocations: 5.948 MB / 1.14 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.253, allocations: 12.02 kB / 1.14 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02991/1.283, allocations: 4.289 MB / 1.144 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009154/1.292, allocations: 3.697 MB / 1.147 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/1.293, allocations: 317.2 kB / 1.148 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/1.294, allocations: 358.8 kB / 1.148 GB, free: 368 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/1.309, allocations: 5.689 MB / 1.154 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-05/1.31, allocations: 4 kB / 1.154 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006496/1.31, allocations: 138.5 kB / 1.154 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/1.31, allocations: 142.5 kB / 1.154 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/1.331, allocations: 6.789 MB / 1.161 GB, free: 3.539 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.04365/1.375, allocations: 22.19 MB / 1.182 GB, free: 12.55 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/1.386, allocations: 4.024 MB / 1.186 GB, free: 8.551 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006771/1.393, allocations: 2.25 MB / 1.188 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/1.408, allocations: 8.168 MB / 1.196 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007482/1.416, allocations: 2.489 MB / 1.199 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=228): time 5.701e-06/1.416, allocations: 4 kB / 1.199 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=228): time 0.03371/1.45, allocations: 8.412 MB / 1.207 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/1.45, allocations: 136.7 kB / 1.207 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008677/1.459, allocations: 4.312 MB / 1.211 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006842/1.459, allocations: 73.7 kB / 1.211 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001789/1.461, allocations: 1.827 MB / 1.213 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.462, allocations: 0.7898 MB / 1.214 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002553/1.465, allocations: 0.8229 MB / 1.215 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/1.465, allocations: 309.1 kB / 1.215 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009038/1.474, allocations: 2.716 MB / 1.218 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009687/1.484, allocations: 3.45 MB / 1.221 GB, free: 4.043 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.01931/1.503, allocations: 5.929 MB / 1.227 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-05/1.503, allocations: 4 kB / 1.227 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.0287/1.532, allocations: 7.569 MB / 1.234 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/1.532, allocations: 12 kB / 1.234 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.074e-05/1.532, allocations: 16 kB / 1.234 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004058/1.536, allocations: 0.968 MB / 1.235 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009049/1.545, allocations: 1.415 MB / 1.237 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/1.563, allocations: 14.47 MB / 1.251 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/1.573, allocations: 1.177 MB / 1.252 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.574, allocations: 184.8 kB / 1.252 GB, free: 2.91 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.002932/1.577, allocations: 0.8701 MB / 1.253 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/1.579, allocations: 426.7 kB / 1.253 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02219/1.601, allocations: 5.768 MB / 1.259 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/1.601, allocations: 27.94 kB / 1.259 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/1.601, allocations: 0 / 1.259 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/1.601, allocations: 11.95 kB / 1.259 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0339/1.635, allocations: 10.9 MB / 1.27 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/1.635, allocations: 4.469 kB / 1.27 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004866/1.64, allocations: 0.6631 MB / 1.27 GB, free: 112 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00329/1.644, allocations: 0.7715 MB / 1.271 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005726/1.644, allocations: 83.91 kB / 1.271 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/1.659, allocations: 11.68 MB / 1.283 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/1.659, allocations: 4 kB / 1.283 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3211/1.98, allocations: 8.172 MB / 1.291 GB, free: 397.2 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/1.983, allocations: 1.063 MB / 1.292 GB, free: 397 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.984, allocations: 51.89 kB / 1.292 GB, free: 396.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006106/1.99, allocations: 0.5306 MB / 1.292 GB, free: 396.9 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004533/1.99, allocations: 168.5 kB / 1.292 GB, free: 396.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003431/1.991, allocations: 111.9 kB / 1.292 GB, free: 396.9 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.005868/1.997, allocations: 2.967 MB / 1.295 GB, free: 395.8 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8.11e-07/1.997, allocations: 0 / 1.295 GB, free: 395.8 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004891/2.002, allocations: 1.548 MB / 1.297 GB, free: 395.7 MB / 0.8887 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.002227/2.004, allocations: 1.047 MB / 1.298 GB, free: 395.5 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0206/2.024, allocations: 6.448 MB / 1.304 GB, free: 393.4 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/2.025, allocations: 1.5 kB / 1.304 GB, free: 393.4 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007993/2.033, allocations: 3.011 MB / 1.307 GB, free: 392 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008793/2.041, allocations: 2.086 MB / 1.309 GB, free: 391.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/2.068, allocations: 9.165 MB / 1.318 GB, free: 387.9 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/2.07, allocations: 2.3 MB / 1.32 GB, free: 387.1 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.005353/2.075, allocations: 1.049 MB / 1.321 GB, free: 386.9 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/2.077, allocations: 364.3 kB / 1.322 GB, free: 386.9 MB / 0.8887 GB Notification: Performance of SimCode: time 8.92e-07/2.077, allocations: 0 / 1.322 GB, free: 386.9 MB / 0.8887 GB Notification: Performance of Templates: time 0.1191/2.196, allocations: 96.86 MB / 1.416 GB, free: 308.6 MB / 0.8887 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)