Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0008773/0.0008773, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005915/0.005916, allocations: 171.3 kB / 16.26 MB, free: 6.676 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.459/1.459, 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/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 473.4 MB / 0.7469 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 13.84 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3611, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.035/1.396, allocations: 362.3 MB / 1.428 GB, free: 4.867 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05228/1.448, allocations: 33.3 MB / 1.46 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008537/1.457, allocations: 132.9 kB / 1.461 GB, free: 9.824 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00748/1.464, allocations: 1.939 MB / 1.462 GB, free: 8.223 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.02285/1.487, allocations: 6.938 MB / 1.469 GB, free: 2.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01198/1.499, allocations: 4.16 MB / 1.473 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01894/1.518, allocations: 13.66 MB / 1.487 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006625/1.525, allocations: 3.193 MB / 1.49 GB, free: 13.65 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01649/1.541, allocations: 4.628 MB / 1.494 GB, free: 9.051 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007418/1.549, allocations: 3.222 MB / 1.497 GB, free: 5.824 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001456/1.55, allocations: 195.9 kB / 1.498 GB, free: 5.633 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/1.567, allocations: 7.202 MB / 1.505 GB, free: 14.41 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002468/1.569, allocations: 1.089 MB / 1.506 GB, free: 13.32 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005443/1.575, allocations: 2.446 MB / 1.508 GB, free: 10.86 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01999/1.595, allocations: 9.599 MB / 1.517 GB, free: 1.227 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.595, allocations: 0 / 1.517 GB, free: 1.227 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.356e-06/1.595, allocations: 0 / 1.517 GB, free: 1.227 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000237/1.595, allocations: 0 / 1.517 GB, free: 1.227 MB / 1.107 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.01484/1.61, allocations: 4.969 MB / 1.522 GB, free: 12.15 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.61, allocations: 8.031 kB / 1.522 GB, free: 12.14 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03341/1.643, allocations: 4.575 MB / 1.527 GB, free: 7.559 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009524/1.653, allocations: 3.61 MB / 1.53 GB, free: 3.887 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001808/1.655, allocations: 0.5518 MB / 1.531 GB, free: 3.328 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001665/1.656, allocations: 360 kB / 1.531 GB, free: 2.977 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/1.675, allocations: 5.818 MB / 1.537 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/1.675, allocations: 3.938 kB / 1.537 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005075/1.675, allocations: 132 kB / 1.537 GB, free: 12.94 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/1.675, allocations: 138.5 kB / 1.537 GB, free: 12.8 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/1.699, allocations: 7.029 MB / 1.544 GB, free: 5.762 MB / 1.139 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.05371/1.753, allocations: 22.54 MB / 1.566 GB, free: 14.09 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/1.765, allocations: 4.113 MB / 1.57 GB, free: 9.977 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007399/1.773, allocations: 2.313 MB / 1.572 GB, free: 7.66 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01631/1.789, allocations: 8.196 MB / 1.58 GB, free: 15.09 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008185/1.798, allocations: 2.555 MB / 1.583 GB, free: 12.52 MB / 1.186 GB Notification: Performance of pre-optimization done (n=228): time 5.891e-06/1.798, allocations: 4 kB / 1.583 GB, free: 12.51 MB / 1.186 GB Notification: Performance of matching and sorting (n=228): time 0.0371/1.835, allocations: 8.68 MB / 1.591 GB, free: 3.691 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/1.835, allocations: 124.8 kB / 1.591 GB, free: 3.547 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008886/1.844, allocations: 4.353 MB / 1.596 GB, free: 15.18 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0007962/1.845, allocations: 77.7 kB / 1.596 GB, free: 15.09 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.846, allocations: 1.814 MB / 1.597 GB, free: 13.26 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/1.848, allocations: 0.8012 MB / 1.598 GB, free: 12.45 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007172/1.848, allocations: 313.2 kB / 1.599 GB, free: 12.14 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.849, allocations: 305.1 kB / 1.599 GB, free: 11.84 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009831/1.858, allocations: 2.825 MB / 1.602 GB, free: 9.008 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/1.869, allocations: 3.565 MB / 1.605 GB, free: 5.199 MB / 1.201 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.0208/1.89, allocations: 6.099 MB / 1.611 GB, free: 14.86 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.141e-05/1.89, allocations: 4 kB / 1.611 GB, free: 14.86 MB / 1.217 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02999/1.92, allocations: 7.815 MB / 1.619 GB, free: 6.977 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/1.92, allocations: 12 kB / 1.619 GB, free: 6.965 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.742e-05/1.92, allocations: 16 kB / 1.619 GB, free: 6.949 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004476/1.925, allocations: 0.9835 MB / 1.62 GB, free: 5.938 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009534/1.934, allocations: 1.436 MB / 1.621 GB, free: 4.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.952, allocations: 13.81 MB / 1.635 GB, free: 5.652 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/1.964, allocations: 1.398 MB / 1.636 GB, free: 4.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009695/1.965, allocations: 179.8 kB / 1.636 GB, free: 4.074 MB / 1.232 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.002749/1.968, allocations: 0.8663 MB / 1.637 GB, free: 3.195 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.969, allocations: 430.7 kB / 1.637 GB, free: 2.77 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02279/1.992, allocations: 5.925 MB / 1.643 GB, free: 12.8 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/1.992, allocations: 28 kB / 1.643 GB, free: 12.78 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.992, allocations: 0 / 1.643 GB, free: 12.78 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-05/1.992, allocations: 15.95 kB / 1.643 GB, free: 12.76 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03199/2.024, allocations: 11.04 MB / 1.654 GB, free: 1.559 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/2.024, allocations: 7.938 kB / 1.654 GB, free: 1.551 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005047/2.029, allocations: 0.6909 MB / 1.655 GB, free: 0.8594 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003811/2.033, allocations: 0.8027 MB / 1.655 GB, free: 32 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006323/2.034, allocations: 83.98 kB / 1.656 GB, free: 15.95 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/2.048, allocations: 11.04 MB / 1.666 GB, free: 4.031 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/2.048, allocations: 4.062 kB / 1.666 GB, free: 4.027 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03099/2.079, allocations: 8.394 MB / 1.675 GB, free: 11.53 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003561/2.083, allocations: 1.151 MB / 1.676 GB, free: 10.35 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/2.084, allocations: 47.94 kB / 1.676 GB, free: 10.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007038/2.091, allocations: 0.6643 MB / 1.676 GB, free: 9.641 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004884/2.091, allocations: 169.6 kB / 1.676 GB, free: 9.473 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000352/2.092, allocations: 111.8 kB / 1.677 GB, free: 9.363 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006665/2.098, allocations: 3.003 MB / 1.68 GB, free: 6.359 MB / 1.279 GB Notification: Performance of sort global known variables: time 4.71e-07/2.098, allocations: 0 / 1.68 GB, free: 6.359 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.005968/2.104, allocations: 1.557 MB / 1.681 GB, free: 4.801 MB / 1.279 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.002579/2.107, allocations: 1.051 MB / 1.682 GB, free: 3.922 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02403/2.131, allocations: 6.593 MB / 1.689 GB, free: 13.26 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/2.131, allocations: 3.938 kB / 1.689 GB, free: 13.26 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009743/2.141, allocations: 3.069 MB / 1.692 GB, free: 10.12 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01455/2.155, allocations: 2.036 MB / 1.693 GB, free: 8.117 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/2.186, allocations: 10.96 MB / 1.704 GB, free: 13.09 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/2.188, allocations: 2.303 MB / 1.706 GB, free: 10.76 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.007305/2.196, allocations: 1.053 MB / 1.707 GB, free: 9.715 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/2.198, allocations: 383.2 kB / 1.708 GB, free: 9.34 MB / 1.311 GB Notification: Performance of SimCode: time 1.112e-06/2.198, allocations: 0 / 1.708 GB, free: 9.34 MB / 1.311 GB Notification: Performance of Templates: time 0.8191/3.017, allocations: 99.03 MB / 1.805 GB, free: 0.4885 GB / 1.357 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)