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.00142/0.00142, 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.002268/0.002268, allocations: 193.4 kB / 16.14 MB, free: 6.66 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 65.61 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3374, allocations: 159.9 MB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.043/1.38, allocations: 367.3 MB / 1.426 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05769/1.438, allocations: 33.66 MB / 1.459 GB, free: 1.199 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01085/1.449, allocations: 139.1 kB / 1.459 GB, free: 1.062 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008404/1.457, allocations: 1.943 MB / 1.461 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02522/1.483, allocations: 6.951 MB / 1.468 GB, free: 8.133 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01442/1.497, allocations: 4.148 MB / 1.472 GB, free: 4.016 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02072/1.518, allocations: 13.66 MB / 1.485 GB, free: 6.316 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007594/1.525, allocations: 3.286 MB / 1.488 GB, free: 2.969 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01666/1.542, allocations: 4.744 MB / 1.493 GB, free: 14.25 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00794/1.55, allocations: 3.354 MB / 1.496 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001971/1.552, allocations: 248 kB / 1.497 GB, free: 10.65 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01828/1.57, allocations: 7.253 MB / 1.504 GB, free: 3.383 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003318/1.574, allocations: 1.167 MB / 1.505 GB, free: 2.211 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006899/1.581, allocations: 2.515 MB / 1.507 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0245/1.605, allocations: 9.8 MB / 1.517 GB, free: 5.855 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.605, allocations: 0 / 1.517 GB, free: 5.855 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.894e-06/1.605, allocations: 0 / 1.517 GB, free: 5.855 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002906/1.605, allocations: 0 / 1.517 GB, free: 5.855 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.01922/1.625, allocations: 5.951 MB / 1.523 GB, free: 15.8 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/1.625, allocations: 8.031 kB / 1.523 GB, free: 15.79 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03259/1.657, allocations: 4.29 MB / 1.527 GB, free: 11.49 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009367/1.667, allocations: 3.603 MB / 1.53 GB, free: 7.824 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001557/1.668, allocations: 0.5166 MB / 1.531 GB, free: 7.301 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/1.67, allocations: 359.9 kB / 1.531 GB, free: 6.949 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/1.687, allocations: 5.708 MB / 1.537 GB, free: 1.156 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.445e-05/1.688, allocations: 4 kB / 1.537 GB, free: 1.152 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004828/1.688, allocations: 132 kB / 1.537 GB, free: 1.023 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/1.688, allocations: 138.5 kB / 1.537 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/1.712, allocations: 6.829 MB / 1.544 GB, free: 10.05 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.05218/1.764, allocations: 22.27 MB / 1.565 GB, free: 2.648 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/1.777, allocations: 4.047 MB / 1.569 GB, free: 14.59 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007614/1.785, allocations: 2.25 MB / 1.572 GB, free: 12.34 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01963/1.804, allocations: 8.164 MB / 1.58 GB, free: 3.805 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008245/1.813, allocations: 2.493 MB / 1.582 GB, free: 1.293 MB / 1.186 GB Notification: Performance of pre-optimization done (n=228): time 5.54e-06/1.813, allocations: 0 / 1.582 GB, free: 1.293 MB / 1.186 GB Notification: Performance of matching and sorting (n=228): time 0.03651/1.849, allocations: 8.41 MB / 1.59 GB, free: 8.742 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/1.849, allocations: 132.8 kB / 1.59 GB, free: 8.586 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.86, allocations: 4.317 MB / 1.595 GB, free: 4.25 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0009359/1.861, allocations: 81.7 kB / 1.595 GB, free: 4.164 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00205/1.863, allocations: 1.822 MB / 1.596 GB, free: 2.324 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.865, allocations: 0.7934 MB / 1.597 GB, free: 1.52 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003219/1.868, allocations: 0.8198 MB / 1.598 GB, free: 0.6914 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.868, allocations: 309.1 kB / 1.598 GB, free: 396 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009941/1.878, allocations: 2.736 MB / 1.601 GB, free: 13.65 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/1.889, allocations: 3.467 MB / 1.604 GB, free: 9.934 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.02387/1.913, allocations: 5.95 MB / 1.61 GB, free: 3.75 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.536e-05/1.913, allocations: 7.938 kB / 1.61 GB, free: 3.742 MB / 1.217 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03171/1.945, allocations: 7.604 MB / 1.618 GB, free: 12.07 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/1.945, allocations: 12 kB / 1.618 GB, free: 12.06 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/1.945, allocations: 16 kB / 1.618 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004362/1.95, allocations: 0.964 MB / 1.619 GB, free: 11.05 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009578/1.959, allocations: 1.42 MB / 1.62 GB, free: 9.629 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/1.977, allocations: 13.73 MB / 1.633 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/1.989, allocations: 1.298 MB / 1.635 GB, free: 9.555 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/1.99, allocations: 187.8 kB / 1.635 GB, free: 9.371 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.003381/1.994, allocations: 0.8624 MB / 1.636 GB, free: 8.496 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003281/1.997, allocations: 422.8 kB / 1.636 GB, free: 8.078 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02542/2.022, allocations: 5.779 MB / 1.642 GB, free: 2.262 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-05/2.022, allocations: 24 kB / 1.642 GB, free: 2.238 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/2.022, allocations: 0 / 1.642 GB, free: 2.238 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-05/2.022, allocations: 15.89 kB / 1.642 GB, free: 2.223 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03319/2.056, allocations: 10.89 MB / 1.652 GB, free: 7.168 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/2.056, allocations: 8.141 kB / 1.652 GB, free: 7.16 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004844/2.061, allocations: 0.6631 MB / 1.653 GB, free: 6.496 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003766/2.064, allocations: 0.7871 MB / 1.654 GB, free: 5.684 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004395/2.065, allocations: 87.89 kB / 1.654 GB, free: 5.598 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/2.079, allocations: 10.96 MB / 1.665 GB, free: 9.766 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/2.079, allocations: 8.062 kB / 1.665 GB, free: 9.758 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03032/2.109, allocations: 8.175 MB / 1.673 GB, free: 1.477 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003431/2.113, allocations: 1.069 MB / 1.674 GB, free: 392 kB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001882/2.115, allocations: 51.98 kB / 1.674 GB, free: 340 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007669/2.122, allocations: 0.6016 MB / 1.674 GB, free: 15.73 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000583/2.123, allocations: 169.6 kB / 1.674 GB, free: 15.56 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004827/2.123, allocations: 112 kB / 1.675 GB, free: 15.45 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0078/2.131, allocations: 2.975 MB / 1.677 GB, free: 12.48 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.91e-07/2.131, allocations: 0 / 1.677 GB, free: 12.48 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007983/2.139, allocations: 1.557 MB / 1.679 GB, free: 10.92 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.003257/2.143, allocations: 1.037 MB / 1.68 GB, free: 10.05 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02398/2.167, allocations: 6.435 MB / 1.686 GB, free: 3.547 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.167, allocations: 4 kB / 1.686 GB, free: 3.543 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009599/2.176, allocations: 3 MB / 1.689 GB, free: 476 kB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01266/2.189, allocations: 1.974 MB / 1.691 GB, free: 14.53 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03181/2.221, allocations: 10.76 MB / 1.702 GB, free: 3.711 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002866/2.224, allocations: 2.294 MB / 1.704 GB, free: 1.387 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.007993/2.232, allocations: 1.052 MB / 1.705 GB, free: 352 kB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00237/2.234, allocations: 367.2 kB / 1.705 GB, free: 15.98 MB / 1.326 GB Notification: Performance of SimCode: time 2.385e-06/2.234, allocations: 4 kB / 1.705 GB, free: 15.98 MB / 1.326 GB Notification: Performance of Templates: time 0.7436/2.978, allocations: 96.12 MB / 1.799 GB, free: 0.5017 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)