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.001212/0.001212, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001459/0.001459, allocations: 188.9 kB / 16.25 MB, free: 6.621 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 60.66 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3142, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.03/1.344, allocations: 365.6 MB / 1.425 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0565/1.401, allocations: 33.14 MB / 1.457 GB, free: 3.379 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008101/1.409, allocations: 137.3 kB / 1.457 GB, free: 3.324 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007597/1.417, allocations: 2.052 MB / 1.459 GB, free: 1.652 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.03281/1.449, allocations: 6.995 MB / 1.466 GB, free: 11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01499/1.464, allocations: 4.223 MB / 1.47 GB, free: 6.824 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01917/1.484, allocations: 11.08 MB / 1.481 GB, free: 11.7 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008836/1.493, allocations: 3.941 MB / 1.485 GB, free: 7.699 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01906/1.512, allocations: 5.471 MB / 1.49 GB, free: 2.273 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008203/1.52, allocations: 3.576 MB / 1.494 GB, free: 14.69 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002697/1.523, allocations: 0.5508 MB / 1.494 GB, free: 14.14 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0173/1.54, allocations: 7.02 MB / 1.501 GB, free: 7.109 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003237/1.543, allocations: 1.472 MB / 1.503 GB, free: 5.633 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006702/1.55, allocations: 2.85 MB / 1.505 GB, free: 2.77 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02433/1.574, allocations: 10.01 MB / 1.515 GB, free: 8.734 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.574, allocations: 0 / 1.515 GB, free: 8.734 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.454e-06/1.574, allocations: 0 / 1.515 GB, free: 8.734 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003212/1.575, allocations: 0 / 1.515 GB, free: 8.734 MB / 1.123 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.01972/1.594, allocations: 5.956 MB / 1.521 GB, free: 2.676 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.594, allocations: 12.03 kB / 1.521 GB, free: 2.664 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03271/1.627, allocations: 4.286 MB / 1.525 GB, free: 14.37 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/1.637, allocations: 3.607 MB / 1.529 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001665/1.639, allocations: 0.5205 MB / 1.529 GB, free: 10.17 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/1.641, allocations: 355.9 kB / 1.529 GB, free: 9.82 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01992/1.661, allocations: 5.704 MB / 1.535 GB, free: 4.031 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/1.661, allocations: 3.938 kB / 1.535 GB, free: 4.027 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001622/1.663, allocations: 151.9 kB / 1.535 GB, free: 3.879 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002295/1.663, allocations: 138.5 kB / 1.535 GB, free: 3.742 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02594/1.689, allocations: 6.818 MB / 1.542 GB, free: 12.91 MB / 1.154 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.05189/1.741, allocations: 22.27 MB / 1.564 GB, free: 5.512 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01299/1.754, allocations: 4.035 MB / 1.568 GB, free: 1.473 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007488/1.761, allocations: 2.254 MB / 1.57 GB, free: 15.21 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02043/1.782, allocations: 8.157 MB / 1.578 GB, free: 6.68 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008801/1.791, allocations: 2.493 MB / 1.58 GB, free: 4.168 MB / 1.186 GB Notification: Performance of pre-optimization done (n=228): time 7.164e-06/1.791, allocations: 4 kB / 1.58 GB, free: 4.164 MB / 1.186 GB Notification: Performance of matching and sorting (n=228): time 0.03801/1.829, allocations: 8.422 MB / 1.588 GB, free: 11.6 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.633e-05/1.829, allocations: 124.8 kB / 1.589 GB, free: 11.45 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/1.841, allocations: 4.321 MB / 1.593 GB, free: 7.113 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001059/1.842, allocations: 73.7 kB / 1.593 GB, free: 7.035 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002604/1.845, allocations: 1.825 MB / 1.595 GB, free: 5.191 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001741/1.847, allocations: 0.7934 MB / 1.595 GB, free: 4.387 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004436/1.851, allocations: 0.8198 MB / 1.596 GB, free: 3.559 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.851, allocations: 313 kB / 1.597 GB, free: 3.25 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/1.862, allocations: 2.736 MB / 1.599 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01119/1.873, allocations: 3.471 MB / 1.603 GB, free: 12.79 MB / 1.217 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.02053/1.893, allocations: 5.95 MB / 1.608 GB, free: 6.609 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.984e-05/1.893, allocations: 8 kB / 1.608 GB, free: 6.602 MB / 1.217 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03252/1.926, allocations: 7.6 MB / 1.616 GB, free: 14.94 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/1.926, allocations: 8 kB / 1.616 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/1.926, allocations: 16 kB / 1.616 GB, free: 14.91 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004395/1.931, allocations: 0.9719 MB / 1.617 GB, free: 13.91 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009592/1.94, allocations: 1.408 MB / 1.618 GB, free: 12.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/1.959, allocations: 14.54 MB / 1.632 GB, free: 12.87 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/1.971, allocations: 1.312 MB / 1.634 GB, free: 11.55 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.972, allocations: 183.8 kB / 1.634 GB, free: 11.37 MB / 1.248 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.003851/1.976, allocations: 0.8757 MB / 1.635 GB, free: 10.48 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002351/1.978, allocations: 422.8 kB / 1.635 GB, free: 10.07 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02515/2.004, allocations: 5.777 MB / 1.641 GB, free: 4.258 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.272e-05/2.004, allocations: 24 kB / 1.641 GB, free: 4.234 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/2.004, allocations: 0 / 1.641 GB, free: 4.234 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-05/2.004, allocations: 11.95 kB / 1.641 GB, free: 4.223 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03883/2.043, allocations: 10.89 MB / 1.651 GB, free: 9.164 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.514e-05/2.043, allocations: 4 kB / 1.651 GB, free: 9.16 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005227/2.048, allocations: 0.6752 MB / 1.652 GB, free: 8.484 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/2.051, allocations: 0.7637 MB / 1.653 GB, free: 7.695 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009089/2.052, allocations: 79.91 kB / 1.653 GB, free: 7.617 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/2.067, allocations: 11.69 MB / 1.664 GB, free: 11.02 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/2.067, allocations: 4 kB / 1.664 GB, free: 11.01 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03147/2.099, allocations: 8.179 MB / 1.672 GB, free: 2.73 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003744/2.103, allocations: 1.069 MB / 1.673 GB, free: 1.637 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002157/2.105, allocations: 44 kB / 1.673 GB, free: 1.594 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00802/2.113, allocations: 0.6134 MB / 1.674 GB, free: 0.9766 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008468/2.114, allocations: 161.7 kB / 1.674 GB, free: 0.8203 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008084/2.114, allocations: 111.9 kB / 1.674 GB, free: 0.7109 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008223/2.123, allocations: 2.979 MB / 1.677 GB, free: 13.73 MB / 1.295 GB Notification: Performance of sort global known variables: time 4.41e-07/2.123, allocations: 0 / 1.677 GB, free: 13.73 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.008544/2.131, allocations: 1.557 MB / 1.679 GB, free: 12.17 MB / 1.295 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.003489/2.135, allocations: 1.043 MB / 1.68 GB, free: 11.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02875/2.164, allocations: 7.1 MB / 1.687 GB, free: 4.133 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/2.164, allocations: 0 / 1.687 GB, free: 4.133 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009998/2.174, allocations: 3.014 MB / 1.69 GB, free: 1.035 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01401/2.188, allocations: 2.099 MB / 1.692 GB, free: 15.02 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03275/2.221, allocations: 10.76 MB / 1.702 GB, free: 4.199 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0035/2.224, allocations: 2.302 MB / 1.704 GB, free: 1.867 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.009124/2.233, allocations: 1.051 MB / 1.705 GB, free: 0.8281 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002666/2.236, allocations: 363.2 kB / 1.706 GB, free: 484 kB / 1.311 GB Notification: Performance of SimCode: time 1.132e-06/2.236, allocations: 0 / 1.706 GB, free: 484 kB / 1.311 GB Notification: Performance of Templates: time 0.8281/3.064, allocations: 99.8 MB / 1.803 GB, free: 0.5018 GB / 1.373 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)