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.001577/0.001577, allocations: 111.4 kB / 16.37 MB, free: 6.344 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.001646/0.001646, allocations: 192.1 kB / 17.3 MB, free: 5.898 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 290.8 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9076/0.9076, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 99.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4103, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7196/1.13, allocations: 369.7 MB / 1.128 GB, free: 6.676 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04591/1.176, allocations: 33.34 MB / 1.161 GB, free: 5.645 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006751/1.183, allocations: 151.2 kB / 1.161 GB, free: 5.496 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006961/1.19, allocations: 2.364 MB / 1.163 GB, free: 3.117 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02038/1.21, allocations: 7.508 MB / 1.17 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/1.221, allocations: 4.572 MB / 1.175 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01537/1.237, allocations: 11.08 MB / 1.186 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006044/1.243, allocations: 3.98 MB / 1.19 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01331/1.256, allocations: 5.468 MB / 1.195 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006329/1.262, allocations: 3.452 MB / 1.198 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001463/1.264, allocations: 0.5508 MB / 1.199 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/1.278, allocations: 6.803 MB / 1.205 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002272/1.28, allocations: 1.468 MB / 1.207 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004266/1.284, allocations: 2.846 MB / 1.21 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01598/1.3, allocations: 9.793 MB / 1.219 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.3, allocations: 0 / 1.219 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.904e-06/1.3, allocations: 4 kB / 1.219 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001349/1.3, allocations: 0 / 1.219 GB, free: 9.477 MB / 0.8575 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.01283/1.313, allocations: 5.958 MB / 1.225 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.313, allocations: 12.03 kB / 1.225 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03032/1.344, allocations: 4.29 MB / 1.229 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008356/1.352, allocations: 3.702 MB / 1.233 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/1.352, allocations: 309.3 kB / 1.233 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008223/1.353, allocations: 355.9 kB / 1.234 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/1.369, allocations: 5.693 MB / 1.239 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.057e-05/1.369, allocations: 0 / 1.239 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004606/1.37, allocations: 140 kB / 1.239 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/1.37, allocations: 130.5 kB / 1.239 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02078/1.39, allocations: 6.798 MB / 1.246 GB, free: 13.82 MB / 0.8887 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.04068/1.431, allocations: 22.18 MB / 1.268 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/1.442, allocations: 4.035 MB / 1.272 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006732/1.449, allocations: 2.258 MB / 1.274 GB, free: 220 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01407/1.463, allocations: 8.172 MB / 1.282 GB, free: 7.676 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007356/1.471, allocations: 2.489 MB / 1.284 GB, free: 5.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=228): time 4.057e-06/1.471, allocations: 0 / 1.284 GB, free: 5.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=228): time 0.03384/1.505, allocations: 8.422 MB / 1.292 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/1.505, allocations: 128.8 kB / 1.293 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008103/1.513, allocations: 4.321 MB / 1.297 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0007575/1.514, allocations: 73.7 kB / 1.297 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/1.515, allocations: 1.822 MB / 1.299 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001033/1.516, allocations: 0.7934 MB / 1.299 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/1.518, allocations: 0.8198 MB / 1.3 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/1.518, allocations: 305.1 kB / 1.3 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009047/1.527, allocations: 2.72 MB / 1.303 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009423/1.536, allocations: 3.44 MB / 1.307 GB, free: 13.85 MB / 0.9512 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.01837/1.555, allocations: 5.94 MB / 1.312 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/1.555, allocations: 8 kB / 1.312 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02707/1.582, allocations: 7.564 MB / 1.32 GB, free: 44 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/1.582, allocations: 16.03 kB / 1.32 GB, free: 28 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/1.582, allocations: 19.92 kB / 1.32 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3706/1.953, allocations: 0.9647 MB / 1.321 GB, free: 403.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009634/1.962, allocations: 1.406 MB / 1.322 GB, free: 403.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/1.977, allocations: 14.44 MB / 1.336 GB, free: 391.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/1.988, allocations: 1.195 MB / 1.337 GB, free: 391.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009726/1.989, allocations: 182.9 kB / 1.337 GB, free: 391.2 MB / 0.9512 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.002344/1.991, allocations: 0.8721 MB / 1.338 GB, free: 390.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.992, allocations: 423.6 kB / 1.339 GB, free: 390.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01964/2.012, allocations: 5.769 MB / 1.344 GB, free: 388.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/2.012, allocations: 27.16 kB / 1.344 GB, free: 388.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.012, allocations: 0 / 1.344 GB, free: 388.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.046e-05/2.012, allocations: 18.17 kB / 1.344 GB, free: 388.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02599/2.038, allocations: 10.9 MB / 1.355 GB, free: 384.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/2.038, allocations: 3.5 kB / 1.355 GB, free: 384.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004368/2.042, allocations: 0.6649 MB / 1.356 GB, free: 384.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/2.045, allocations: 0.7716 MB / 1.356 GB, free: 384.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003656/2.046, allocations: 80.38 kB / 1.357 GB, free: 384.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/2.057, allocations: 11.68 MB / 1.368 GB, free: 373.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/2.057, allocations: 3.969 kB / 1.368 GB, free: 373.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02519/2.082, allocations: 8.177 MB / 1.376 GB, free: 368.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/2.085, allocations: 1.059 MB / 1.377 GB, free: 367.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007878/2.085, allocations: 48 kB / 1.377 GB, free: 367.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005617/2.091, allocations: 0.5433 MB / 1.378 GB, free: 366.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003618/2.091, allocations: 161.7 kB / 1.378 GB, free: 366.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002542/2.092, allocations: 115.9 kB / 1.378 GB, free: 366.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00496/2.097, allocations: 2.96 MB / 1.381 GB, free: 363.6 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/2.097, allocations: 0 / 1.381 GB, free: 363.6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004938/2.102, allocations: 1.553 MB / 1.382 GB, free: 362.1 MB / 0.9512 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.002089/2.104, allocations: 1.05 MB / 1.383 GB, free: 361.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01937/2.123, allocations: 6.433 MB / 1.39 GB, free: 354.9 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/2.123, allocations: 8 kB / 1.39 GB, free: 354.9 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.007769/2.131, allocations: 3.014 MB / 1.392 GB, free: 351.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009064/2.14, allocations: 2.079 MB / 1.395 GB, free: 349.7 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/2.164, allocations: 9.281 MB / 1.404 GB, free: 340.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/2.165, allocations: 2.298 MB / 1.406 GB, free: 338.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/2.168, allocations: 427.1 kB / 1.406 GB, free: 337.7 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/2.168, allocations: 0 / 1.406 GB, free: 337.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.1731/2.341, allocations: 260.1 MB / 1.66 GB, free: 77.69 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)