Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001166/0.001166, allocations: 192 kB / 16.25 MB, free: 6.637 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.271/1.271, 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 11.0.1-master/package.mo): time 2.499/2.499, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 64.5 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3572, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.196/1.553, allocations: 365.6 MB / 1.409 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0594/1.613, allocations: 33.14 MB / 1.442 GB, free: 5.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01052/1.623, allocations: 136.1 kB / 1.442 GB, free: 5.469 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.008811/1.632, allocations: 2.053 MB / 1.444 GB, free: 3.793 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02631/1.659, allocations: 7 MB / 1.451 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01412/1.673, allocations: 4.209 MB / 1.455 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01897/1.692, allocations: 11.09 MB / 1.466 GB, free: 492 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008269/1.7, allocations: 3.945 MB / 1.47 GB, free: 12.47 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01895/1.719, allocations: 5.473 MB / 1.475 GB, free: 7.043 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007938/1.727, allocations: 3.576 MB / 1.478 GB, free: 3.465 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002425/1.729, allocations: 0.5508 MB / 1.479 GB, free: 2.914 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01663/1.746, allocations: 7.012 MB / 1.486 GB, free: 11.89 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003057/1.749, allocations: 1.487 MB / 1.487 GB, free: 10.39 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00682/1.756, allocations: 2.835 MB / 1.49 GB, free: 7.547 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02315/1.779, allocations: 10.02 MB / 1.5 GB, free: 13.5 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/1.779, allocations: 0 / 1.5 GB, free: 13.5 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.056e-06/1.779, allocations: 0 / 1.5 GB, free: 13.5 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003157/1.78, allocations: 0 / 1.5 GB, free: 13.5 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.02088/1.8, allocations: 5.948 MB / 1.506 GB, free: 7.453 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.801, allocations: 12.62 kB / 1.506 GB, free: 7.441 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001699/1.802, allocations: 455.8 kB / 1.506 GB, free: 6.984 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03434/1.837, allocations: 4.29 MB / 1.51 GB, free: 2.684 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/1.85, allocations: 3.599 MB / 1.514 GB, free: 15.02 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001633/1.851, allocations: 0.5244 MB / 1.514 GB, free: 14.49 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/1.853, allocations: 355.9 kB / 1.515 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/1.872, allocations: 5.72 MB / 1.52 GB, free: 8.336 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/1.872, allocations: 4 kB / 1.52 GB, free: 8.332 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/1.873, allocations: 132 kB / 1.52 GB, free: 8.203 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/1.873, allocations: 138.5 kB / 1.52 GB, free: 8.066 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02224/1.895, allocations: 6.833 MB / 1.527 GB, free: 1.223 MB / 1.123 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.04524/1.941, allocations: 22.27 MB / 1.549 GB, free: 9.82 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/1.953, allocations: 4.028 MB / 1.553 GB, free: 5.805 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007107/1.96, allocations: 2.254 MB / 1.555 GB, free: 3.547 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01788/1.978, allocations: 8.156 MB / 1.563 GB, free: 11.02 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008098/1.986, allocations: 2.504 MB / 1.565 GB, free: 8.492 MB / 1.17 GB Notification: Performance of pre-optimization done (n=228): time 7.434e-06/1.986, allocations: 0 / 1.565 GB, free: 8.492 MB / 1.17 GB Notification: Performance of matching and sorting (n=228): time 0.03575/2.022, allocations: 8.41 MB / 1.574 GB, free: 15.94 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/2.022, allocations: 128.8 kB / 1.574 GB, free: 15.79 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/2.033, allocations: 4.314 MB / 1.578 GB, free: 11.46 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/2.034, allocations: 85.69 kB / 1.578 GB, free: 11.37 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00231/2.037, allocations: 1.822 MB / 1.58 GB, free: 9.527 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001642/2.038, allocations: 0.7934 MB / 1.581 GB, free: 8.723 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003483/2.042, allocations: 0.8275 MB / 1.581 GB, free: 7.887 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001101/2.042, allocations: 305.1 kB / 1.582 GB, free: 7.586 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008996/2.051, allocations: 2.736 MB / 1.584 GB, free: 4.848 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/2.061, allocations: 3.471 MB / 1.588 GB, free: 1.133 MB / 1.186 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.02029/2.082, allocations: 5.948 MB / 1.594 GB, free: 10.95 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-05/2.082, allocations: 4 kB / 1.594 GB, free: 10.94 MB / 1.201 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03054/2.112, allocations: 7.608 MB / 1.601 GB, free: 3.266 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.048e-05/2.112, allocations: 17.88 kB / 1.601 GB, free: 3.25 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-05/2.113, allocations: 12 kB / 1.601 GB, free: 3.238 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004534/2.117, allocations: 0.9675 MB / 1.602 GB, free: 2.242 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009448/2.127, allocations: 1.424 MB / 1.603 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01768/2.144, allocations: 14.54 MB / 1.618 GB, free: 1.176 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/2.156, allocations: 1.313 MB / 1.619 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/2.157, allocations: 183.8 kB / 1.619 GB, free: 15.68 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 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.00324/2.161, allocations: 0.8701 MB / 1.62 GB, free: 14.8 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001974/2.163, allocations: 422.8 kB / 1.62 GB, free: 14.39 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02288/2.186, allocations: 5.771 MB / 1.626 GB, free: 8.582 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-05/2.186, allocations: 35.95 kB / 1.626 GB, free: 8.547 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/2.186, allocations: 0 / 1.626 GB, free: 8.547 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.738e-05/2.186, allocations: 11.95 kB / 1.626 GB, free: 8.535 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03376/2.22, allocations: 10.88 MB / 1.637 GB, free: 13.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/2.22, allocations: 8.094 kB / 1.637 GB, free: 13.48 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005137/2.225, allocations: 0.6592 MB / 1.637 GB, free: 12.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003485/2.228, allocations: 0.7676 MB / 1.638 GB, free: 12.02 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007005/2.229, allocations: 83.91 kB / 1.638 GB, free: 11.94 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/2.244, allocations: 11.68 MB / 1.649 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/2.244, allocations: 7.938 kB / 1.649 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03068/2.274, allocations: 8.175 MB / 1.657 GB, free: 7.062 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003397/2.278, allocations: 1.073 MB / 1.659 GB, free: 5.965 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001772/2.28, allocations: 48 kB / 1.659 GB, free: 5.918 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007577/2.287, allocations: 0.6057 MB / 1.659 GB, free: 5.312 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006555/2.288, allocations: 161.7 kB / 1.659 GB, free: 5.156 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005564/2.289, allocations: 119.9 kB / 1.659 GB, free: 5.039 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.007325/2.296, allocations: 2.971 MB / 1.662 GB, free: 2.066 MB / 1.264 GB Notification: Performance of sort global known variables: time 5.41e-07/2.296, allocations: 0 / 1.662 GB, free: 2.066 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.006773/2.303, allocations: 1.568 MB / 1.664 GB, free: 0.4961 MB / 1.264 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.03196/2.335, allocations: 9.558 MB / 1.673 GB, free: 7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0276/2.362, allocations: 7.104 MB / 1.68 GB, free: 15.83 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/2.362, allocations: 320 / 1.68 GB, free: 15.83 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009572/2.372, allocations: 3.014 MB / 1.683 GB, free: 12.74 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01338/2.385, allocations: 2.105 MB / 1.685 GB, free: 10.71 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1611/2.546, allocations: 48.27 MB / 1.732 GB, free: 7.191 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/2.549, allocations: 2.306 MB / 1.735 GB, free: 4.855 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.008022/2.558, allocations: 1.041 MB / 1.736 GB, free: 3.824 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004259/2.562, allocations: 1.803 MB / 1.737 GB, free: 2.023 MB / 1.342 GB Notification: Performance of SimCode: time 7.12e-07/2.562, allocations: 0 / 1.737 GB, free: 2.023 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.617/4.179, allocations: 128.1 MB / 1.862 GB, free: 466.8 MB / 1.357 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/4.179, allocations: 300.6 kB / 1.863 GB, free: 466.4 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/11.47, allocations: 0 / 1.863 GB, free: 466.4 MB / 1.357 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat