Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_9_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.001338/0.001338, 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.001218/0.001218, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.334/1.334, 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 9.1.3-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.2 MB / 0.6647 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 55.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4875, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7145/1.202, allocations: 369.8 MB / 1.311 GB, free: 26.49 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03171/1.234, allocations: 33.3 MB / 1.343 GB, free: 26.03 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004212/1.238, allocations: 153.8 kB / 1.343 GB, free: 26.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003819/1.242, allocations: 2.369 MB / 1.346 GB, free: 25.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01296/1.255, allocations: 7.493 MB / 1.353 GB, free: 25.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007686/1.263, allocations: 4.522 MB / 1.358 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00927/1.272, allocations: 11.04 MB / 1.368 GB, free: 25.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003604/1.275, allocations: 3.976 MB / 1.372 GB, free: 23.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008613/1.284, allocations: 5.425 MB / 1.377 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/1.287, allocations: 3.442 MB / 1.381 GB, free: 20.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005581/1.288, allocations: 0.5496 MB / 1.381 GB, free: 20.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/1.298, allocations: 6.757 MB / 1.388 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009593/1.299, allocations: 1.464 MB / 1.389 GB, free: 16.72 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002399/1.301, allocations: 2.833 MB / 1.392 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01041/1.312, allocations: 9.655 MB / 1.402 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.312, allocations: 3.938 kB / 1.402 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/1.312, allocations: 4 kB / 1.402 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.451e-05/1.312, allocations: 0 / 1.402 GB, free: 8.215 MB / 0.9981 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.009343/1.321, allocations: 5.938 MB / 1.407 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/1.321, allocations: 8.031 kB / 1.407 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004037/1.322, allocations: 459.1 kB / 1.408 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0279/1.35, allocations: 4.287 MB / 1.412 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006375/1.356, allocations: 3.543 MB / 1.415 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001428/1.357, allocations: 0.5312 MB / 1.416 GB, free: 9.516 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007487/1.358, allocations: 355 kB / 1.416 GB, free: 9.172 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/1.372, allocations: 5.713 MB / 1.422 GB, free: 3.387 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/1.372, allocations: 6.062 kB / 1.422 GB, free: 3.383 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004423/1.372, allocations: 135.5 kB / 1.422 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/1.373, allocations: 142.5 kB / 1.422 GB, free: 3.113 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/1.392, allocations: 6.828 MB / 1.429 GB, free: 12.29 MB / 1.029 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.0355/1.428, allocations: 22.3 MB / 1.451 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/1.439, allocations: 4.066 MB / 1.455 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006326/1.445, allocations: 2.262 MB / 1.457 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/1.457, allocations: 8.182 MB / 1.465 GB, free: 6.441 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006703/1.464, allocations: 2.396 MB / 1.467 GB, free: 4.035 MB / 1.061 GB Notification: Performance of pre-optimization done (n=230): time 3.957e-06/1.464, allocations: 0 / 1.467 GB, free: 4.035 MB / 1.061 GB Notification: Performance of matching and sorting (n=230): time 0.03082/1.495, allocations: 8.44 MB / 1.475 GB, free: 11.47 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/1.495, allocations: 75.94 kB / 1.475 GB, free: 11.39 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007424/1.502, allocations: 4.308 MB / 1.48 GB, free: 7.062 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002585/1.503, allocations: 73.7 kB / 1.48 GB, free: 6.984 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001535/1.504, allocations: 1.822 MB / 1.482 GB, free: 5.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007788/1.505, allocations: 0.8008 MB / 1.482 GB, free: 4.367 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001623/1.507, allocations: 0.8071 MB / 1.483 GB, free: 3.555 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.507, allocations: 307.6 kB / 1.483 GB, free: 3.254 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008608/1.515, allocations: 2.739 MB / 1.486 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009086/1.524, allocations: 3.413 MB / 1.489 GB, free: 12.87 MB / 1.092 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.01745/1.542, allocations: 5.969 MB / 1.495 GB, free: 6.707 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/1.542, allocations: 8 kB / 1.495 GB, free: 6.699 MB / 1.092 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02542/1.567, allocations: 7.589 MB / 1.503 GB, free: 15.15 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.567, allocations: 12 kB / 1.503 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/1.567, allocations: 12 kB / 1.503 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003853/1.571, allocations: 0.9712 MB / 1.504 GB, free: 14.13 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008067/1.579, allocations: 1.417 MB / 1.505 GB, free: 12.76 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/1.595, allocations: 14.47 MB / 1.519 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008987/1.604, allocations: 1.195 MB / 1.52 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004368/1.605, allocations: 187.8 kB / 1.52 GB, free: 11.89 MB / 1.123 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: 67 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 403 * 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.001765/1.607, allocations: 0.8597 MB / 1.521 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.608, allocations: 426.8 kB / 1.522 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02019/1.628, allocations: 5.789 MB / 1.527 GB, free: 4.84 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/1.628, allocations: 27.98 kB / 1.527 GB, free: 4.812 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.628, allocations: 0 / 1.527 GB, free: 4.812 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/1.628, allocations: 11.95 kB / 1.527 GB, free: 4.801 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.654, allocations: 10.93 MB / 1.538 GB, free: 9.812 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.654, allocations: 4 kB / 1.538 GB, free: 9.809 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004322/1.658, allocations: 0.6722 MB / 1.539 GB, free: 9.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/1.662, allocations: 0.7637 MB / 1.539 GB, free: 8.371 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/1.662, allocations: 87.28 kB / 1.54 GB, free: 8.289 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/1.675, allocations: 11.68 MB / 1.551 GB, free: 11.74 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.675, allocations: 4 kB / 1.551 GB, free: 11.74 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02563/1.701, allocations: 8.212 MB / 1.559 GB, free: 3.449 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/1.703, allocations: 1.065 MB / 1.56 GB, free: 2.359 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008682/1.704, allocations: 44 kB / 1.56 GB, free: 2.316 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005798/1.709, allocations: 0.5267 MB / 1.561 GB, free: 1.789 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/1.71, allocations: 178.8 kB / 1.561 GB, free: 1.617 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/1.71, allocations: 103.9 kB / 1.561 GB, free: 1.516 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.005484/1.716, allocations: 2.974 MB / 1.564 GB, free: 14.54 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.61e-07/1.716, allocations: 3.938 kB / 1.564 GB, free: 14.54 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0039/1.719, allocations: 1.533 MB / 1.565 GB, free: 13 MB / 1.17 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: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,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 (227): * Single equations (assignments): 214 * 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.02664/1.746, allocations: 9.623 MB / 1.575 GB, free: 3.535 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0235/1.77, allocations: 7.051 MB / 1.582 GB, free: 12.52 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.77, allocations: 0 / 1.582 GB, free: 12.52 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007636/1.777, allocations: 3.037 MB / 1.585 GB, free: 9.461 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008445/1.786, allocations: 2.102 MB / 1.587 GB, free: 7.441 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1127/1.899, allocations: 46.8 MB / 1.632 GB, free: 5.605 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/1.901, allocations: 2.298 MB / 1.635 GB, free: 3.277 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00666/1.908, allocations: 1.046 MB / 1.636 GB, free: 2.238 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003237/1.911, allocations: 1.807 MB / 1.637 GB, free: 440 kB / 1.232 GB Notification: Performance of SimCode: time 1.042e-06/1.911, allocations: 0 / 1.637 GB, free: 440 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9161/2.827, allocations: 128.7 MB / 1.763 GB, free: 0.5677 GB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/18.28, allocations: 9.281 kB / 1.763 GB, free: 0.5677 GB / 1.326 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)