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.006489/0.006489, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001561/0.001562, allocations: 191 kB / 16.67 MB, free: 5.969 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.01/2.01, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 67.91 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6174/0.6185, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.325/0.9436, allocations: 369.8 MB / 1.449 GB, free: 11.3 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04058/0.9842, allocations: 33.3 MB / 1.481 GB, free: 9.906 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005849/0.9901, allocations: 155.1 kB / 1.481 GB, free: 9.754 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005858/0.996, allocations: 2.364 MB / 1.484 GB, free: 7.375 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01722/1.013, allocations: 7.498 MB / 1.491 GB, free: 15.84 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.009816/1.023, allocations: 4.53 MB / 1.495 GB, free: 11.34 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01354/1.037, allocations: 11.06 MB / 1.506 GB, free: 244 kB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005638/1.042, allocations: 3.969 MB / 1.51 GB, free: 12.21 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/1.054, allocations: 5.435 MB / 1.515 GB, free: 6.82 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005422/1.059, allocations: 3.465 MB / 1.519 GB, free: 3.352 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001104/1.061, allocations: 0.5469 MB / 1.519 GB, free: 2.805 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/1.073, allocations: 6.803 MB / 1.526 GB, free: 11.99 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001774/1.074, allocations: 1.468 MB / 1.527 GB, free: 10.52 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003745/1.078, allocations: 2.831 MB / 1.53 GB, free: 7.672 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01484/1.093, allocations: 9.758 MB / 1.54 GB, free: 13.89 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.093, allocations: 0 / 1.54 GB, free: 13.89 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.863e-06/1.093, allocations: 4 kB / 1.54 GB, free: 13.88 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001368/1.093, allocations: 0 / 1.54 GB, free: 13.88 MB / 1.279 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.01256/1.106, allocations: 5.941 MB / 1.545 GB, free: 7.84 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.106, allocations: 12.02 kB / 1.545 GB, free: 7.828 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005308/1.106, allocations: 451.8 kB / 1.546 GB, free: 7.375 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02884/1.135, allocations: 4.29 MB / 1.55 GB, free: 3.074 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008956/1.144, allocations: 3.694 MB / 1.554 GB, free: 15.31 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004012/1.145, allocations: 312.9 kB / 1.554 GB, free: 15 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/1.146, allocations: 356 kB / 1.554 GB, free: 14.65 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/1.163, allocations: 5.689 MB / 1.56 GB, free: 8.879 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/1.164, allocations: 3.938 kB / 1.56 GB, free: 8.875 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000937/1.165, allocations: 136 kB / 1.56 GB, free: 8.742 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/1.165, allocations: 138.5 kB / 1.56 GB, free: 8.605 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02121/1.186, allocations: 6.802 MB / 1.567 GB, free: 1.793 MB / 1.295 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.4835/1.669, allocations: 22.12 MB / 1.588 GB, free: 436.1 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/1.681, allocations: 4.071 MB / 1.592 GB, free: 435.1 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006873/1.688, allocations: 2.265 MB / 1.595 GB, free: 434.4 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01382/1.702, allocations: 8.184 MB / 1.603 GB, free: 429.5 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006783/1.709, allocations: 2.39 MB / 1.605 GB, free: 428.8 MB / 1.311 GB Notification: Performance of pre-optimization done (n=230): time 5.059e-06/1.709, allocations: 1.531 kB / 1.605 GB, free: 428.8 MB / 1.311 GB Notification: Performance of matching and sorting (n=230): time 0.0306/1.739, allocations: 8.437 MB / 1.613 GB, free: 426.2 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/1.739, allocations: 79.44 kB / 1.613 GB, free: 426.2 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007534/1.747, allocations: 4.287 MB / 1.617 GB, free: 424.6 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0006463/1.747, allocations: 75.42 kB / 1.617 GB, free: 424.6 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/1.749, allocations: 1.821 MB / 1.619 GB, free: 423.2 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.000869/1.75, allocations: 0.7968 MB / 1.62 GB, free: 422.6 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001605/1.751, allocations: 0.8094 MB / 1.621 GB, free: 422.2 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 3.366e-05/1.751, allocations: 305.7 kB / 1.621 GB, free: 421.9 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008457/1.76, allocations: 2.715 MB / 1.624 GB, free: 421.2 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009079/1.769, allocations: 3.406 MB / 1.627 GB, free: 419.6 MB / 1.311 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.01744/1.786, allocations: 5.947 MB / 1.633 GB, free: 417 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-05/1.786, allocations: 4.469 kB / 1.633 GB, free: 417 MB / 1.311 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02567/1.812, allocations: 7.548 MB / 1.64 GB, free: 414.5 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/1.812, allocations: 11.53 kB / 1.64 GB, free: 414.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/1.812, allocations: 14.81 kB / 1.64 GB, free: 414.5 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003676/1.816, allocations: 0.978 MB / 1.641 GB, free: 414.2 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008169/1.824, allocations: 1.408 MB / 1.643 GB, free: 414.1 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.837, allocations: 14.45 MB / 1.657 GB, free: 400.9 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009389/1.846, allocations: 1.176 MB / 1.658 GB, free: 400.6 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008204/1.847, allocations: 182.1 kB / 1.658 GB, free: 400.5 MB / 1.311 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.001964/1.849, allocations: 0.8556 MB / 1.659 GB, free: 400 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/1.85, allocations: 423.4 kB / 1.659 GB, free: 399.7 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/1.869, allocations: 5.801 MB / 1.665 GB, free: 397.7 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/1.869, allocations: 23.38 kB / 1.665 GB, free: 397.7 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.869, allocations: 1.375 kB / 1.665 GB, free: 397.7 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/1.869, allocations: 11.95 kB / 1.665 GB, free: 397.6 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02487/1.894, allocations: 10.92 MB / 1.676 GB, free: 390.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.894, allocations: 3.938 kB / 1.676 GB, free: 390.6 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004205/1.898, allocations: 0.6724 MB / 1.676 GB, free: 390.4 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/1.901, allocations: 0.7625 MB / 1.677 GB, free: 390 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003669/1.902, allocations: 79.59 kB / 1.677 GB, free: 389.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/1.912, allocations: 11.68 MB / 1.689 GB, free: 378.8 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.912, allocations: 7.906 kB / 1.689 GB, free: 378.8 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02409/1.936, allocations: 8.215 MB / 1.697 GB, free: 374.4 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/1.938, allocations: 1.058 MB / 1.698 GB, free: 373.5 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007824/1.939, allocations: 54.95 kB / 1.698 GB, free: 373.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005478/1.945, allocations: 0.5161 MB / 1.698 GB, free: 373.2 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/1.945, allocations: 172.3 kB / 1.698 GB, free: 373.1 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002803/1.945, allocations: 109.8 kB / 1.698 GB, free: 373.1 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.004769/1.95, allocations: 2.952 MB / 1.701 GB, free: 371.6 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.71e-07/1.95, allocations: 0 / 1.701 GB, free: 371.6 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.004145/1.954, allocations: 1.536 MB / 1.703 GB, free: 371.3 MB / 1.311 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.02372/1.978, allocations: 9.608 MB / 1.712 GB, free: 363.2 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01753/1.996, allocations: 6.391 MB / 1.718 GB, free: 356.8 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.996, allocations: 0 / 1.718 GB, free: 356.8 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.007033/2.003, allocations: 3.03 MB / 1.721 GB, free: 353.6 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008351/2.011, allocations: 2.093 MB / 1.723 GB, free: 351.6 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0895/2.1, allocations: 39.64 MB / 1.762 GB, free: 311.2 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/2.102, allocations: 2.298 MB / 1.764 GB, free: 308.9 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.00433/2.106, allocations: 1.04 MB / 1.765 GB, free: 307.9 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/2.108, allocations: 1.807 MB / 1.767 GB, free: 306.1 MB / 1.311 GB Notification: Performance of SimCode: time 1.302e-06/2.108, allocations: 0 / 1.767 GB, free: 306.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.154/8.262, allocations: 126 MB / 1.89 GB, free: 181 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.36/35.62, allocations: 11.94 kB / 1.89 GB, free: 181 MB / 1.311 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)