Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_10_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.001644/0.001644, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 197.3 kB / 16.54 MB, free: 6.672 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.84 kB / 0.8693 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5068/0.5081, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.759/1.267, allocations: 369.8 MB / 1.379 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03458/1.302, allocations: 33.35 MB / 1.411 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005568/1.307, allocations: 150.4 kB / 1.411 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004706/1.312, allocations: 2.363 MB / 1.414 GB, free: 348 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01712/1.329, allocations: 7.493 MB / 1.421 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.009701/1.339, allocations: 4.569 MB / 1.425 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01285/1.352, allocations: 11.06 MB / 1.436 GB, free: 3.875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006053/1.358, allocations: 3.992 MB / 1.44 GB, free: 308 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/1.369, allocations: 5.425 MB / 1.445 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00545/1.375, allocations: 3.454 MB / 1.449 GB, free: 7.645 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001377/1.376, allocations: 0.5508 MB / 1.449 GB, free: 7.094 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0133/1.389, allocations: 6.744 MB / 1.456 GB, free: 344 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0017/1.391, allocations: 1.476 MB / 1.457 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003483/1.395, allocations: 2.843 MB / 1.46 GB, free: 12 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01377/1.408, allocations: 9.661 MB / 1.469 GB, free: 2.312 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.408, allocations: 7.938 kB / 1.469 GB, free: 2.305 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.363e-06/1.408, allocations: 4 kB / 1.469 GB, free: 2.301 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.494e-05/1.409, allocations: 0 / 1.469 GB, free: 2.301 MB / 1.045 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.01235/1.421, allocations: 5.947 MB / 1.475 GB, free: 12.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.421, allocations: 12.02 kB / 1.475 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005132/1.422, allocations: 455.7 kB / 1.476 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02958/1.451, allocations: 4.29 MB / 1.48 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006399/1.458, allocations: 3.569 MB / 1.483 GB, free: 3.852 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001408/1.459, allocations: 0.5244 MB / 1.484 GB, free: 3.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006084/1.46, allocations: 352 kB / 1.484 GB, free: 2.977 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/1.473, allocations: 5.712 MB / 1.49 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.446e-05/1.473, allocations: 4 kB / 1.49 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004977/1.474, allocations: 132 kB / 1.49 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/1.474, allocations: 134.5 kB / 1.49 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02017/1.494, allocations: 6.825 MB / 1.497 GB, free: 6.078 MB / 1.076 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.03642/1.531, allocations: 22.36 MB / 1.519 GB, free: 14.58 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/1.542, allocations: 4.016 MB / 1.523 GB, free: 10.57 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006406/1.548, allocations: 2.262 MB / 1.525 GB, free: 8.305 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/1.561, allocations: 8.172 MB / 1.533 GB, free: 15.75 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006907/1.568, allocations: 2.497 MB / 1.535 GB, free: 13.24 MB / 1.123 GB Notification: Performance of pre-optimization done (n=228): time 3.616e-06/1.568, allocations: 4 kB / 1.535 GB, free: 13.24 MB / 1.123 GB Notification: Performance of matching and sorting (n=228): time 0.03145/1.599, allocations: 8.41 MB / 1.543 GB, free: 4.688 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/1.599, allocations: 128.8 kB / 1.543 GB, free: 4.535 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007778/1.607, allocations: 4.337 MB / 1.548 GB, free: 184 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005134/1.607, allocations: 81.69 kB / 1.548 GB, free: 96 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/1.609, allocations: 1.822 MB / 1.55 GB, free: 14.25 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009271/1.61, allocations: 0.7856 MB / 1.55 GB, free: 13.46 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001852/1.612, allocations: 0.8276 MB / 1.551 GB, free: 12.62 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.307e-05/1.612, allocations: 305.1 kB / 1.551 GB, free: 12.32 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008817/1.621, allocations: 2.739 MB / 1.554 GB, free: 9.578 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009334/1.63, allocations: 3.459 MB / 1.557 GB, free: 5.875 MB / 1.139 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.0178/1.648, allocations: 5.966 MB / 1.563 GB, free: 15.67 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.306e-05/1.648, allocations: 4 kB / 1.563 GB, free: 15.66 MB / 1.154 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02629/1.674, allocations: 7.604 MB / 1.571 GB, free: 7.996 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.674, allocations: 12 kB / 1.571 GB, free: 7.984 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.674, allocations: 12.5 kB / 1.571 GB, free: 7.973 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003949/1.678, allocations: 0.9753 MB / 1.572 GB, free: 6.969 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008215/1.686, allocations: 1.416 MB / 1.573 GB, free: 5.551 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/1.702, allocations: 14.47 MB / 1.587 GB, free: 5.988 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009283/1.712, allocations: 1.218 MB / 1.588 GB, free: 4.766 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004424/1.712, allocations: 183.8 kB / 1.589 GB, free: 4.586 MB / 1.17 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.001834/1.714, allocations: 0.872 MB / 1.589 GB, free: 3.707 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.715, allocations: 422.8 kB / 1.59 GB, free: 3.289 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02051/1.736, allocations: 5.772 MB / 1.595 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/1.736, allocations: 24 kB / 1.596 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.736, allocations: 4.047 kB / 1.596 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/1.736, allocations: 15.94 kB / 1.596 GB, free: 13.44 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02605/1.762, allocations: 10.9 MB / 1.606 GB, free: 2.363 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.762, allocations: 4 kB / 1.606 GB, free: 2.359 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004461/1.766, allocations: 0.6636 MB / 1.607 GB, free: 1.695 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003106/1.77, allocations: 0.7637 MB / 1.608 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/1.77, allocations: 87.91 kB / 1.608 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/1.783, allocations: 11.69 MB / 1.619 GB, free: 4.219 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.783, allocations: 12 kB / 1.619 GB, free: 4.207 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02592/1.809, allocations: 8.167 MB / 1.627 GB, free: 11.94 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/1.811, allocations: 1.065 MB / 1.628 GB, free: 10.85 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/1.812, allocations: 51.98 kB / 1.628 GB, free: 10.8 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006172/1.818, allocations: 0.5432 MB / 1.629 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003861/1.819, allocations: 161.7 kB / 1.629 GB, free: 10.1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/1.819, allocations: 111.9 kB / 1.629 GB, free: 9.988 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.005779/1.825, allocations: 2.995 MB / 1.632 GB, free: 6.992 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.3e-07/1.825, allocations: 0 / 1.632 GB, free: 6.992 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004122/1.829, allocations: 1.537 MB / 1.633 GB, free: 5.453 MB / 1.217 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.02711/1.856, allocations: 9.59 MB / 1.643 GB, free: 11.93 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02455/1.881, allocations: 7.108 MB / 1.65 GB, free: 4.758 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.881, allocations: 4.312 kB / 1.65 GB, free: 4.754 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.007837/1.888, allocations: 3.007 MB / 1.653 GB, free: 1.668 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009471/1.898, allocations: 2.094 MB / 1.655 GB, free: 15.65 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1128/2.011, allocations: 46.93 MB / 1.7 GB, free: 13.46 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002893/2.014, allocations: 2.305 MB / 1.703 GB, free: 11.12 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007464/2.021, allocations: 1.044 MB / 1.704 GB, free: 10.09 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003897/2.025, allocations: 1.8 MB / 1.706 GB, free: 8.289 MB / 1.295 GB Notification: Performance of SimCode: time 9.22e-07/2.025, allocations: 0 / 1.706 GB, free: 8.289 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.685/6.711, allocations: 129 MB / 1.832 GB, free: 0.5009 GB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/23.76, allocations: 19.53 kB / 1.832 GB, free: 0.5009 GB / 1.342 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)