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.00141/0.00141, 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.001423/0.001423, allocations: 197 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.459/2.459, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 66.73 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2304, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.739/0.9694, allocations: 369.8 MB / 1.414 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03979/1.009, allocations: 33.34 MB / 1.447 GB, free: 1.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005692/1.015, allocations: 153.1 kB / 1.447 GB, free: 1.336 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005708/1.021, allocations: 2.368 MB / 1.449 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01736/1.038, allocations: 7.492 MB / 1.456 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01134/1.049, allocations: 4.567 MB / 1.461 GB, free: 5.422 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01488/1.064, allocations: 11.05 MB / 1.472 GB, free: 10.33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005825/1.07, allocations: 3.996 MB / 1.476 GB, free: 6.273 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/1.082, allocations: 5.43 MB / 1.481 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00537/1.087, allocations: 3.453 MB / 1.484 GB, free: 13.43 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001583/1.089, allocations: 0.5469 MB / 1.485 GB, free: 12.89 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/1.102, allocations: 6.75 MB / 1.491 GB, free: 6.125 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002315/1.104, allocations: 1.468 MB / 1.493 GB, free: 4.652 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004986/1.109, allocations: 2.839 MB / 1.496 GB, free: 1.801 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01525/1.124, allocations: 9.681 MB / 1.505 GB, free: 8.094 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.124, allocations: 0 / 1.505 GB, free: 8.094 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.597e-06/1.124, allocations: 4 kB / 1.505 GB, free: 8.09 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001918/1.125, allocations: 0 / 1.505 GB, free: 8.09 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.01278/1.137, allocations: 5.949 MB / 1.511 GB, free: 2.039 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.137, allocations: 8.625 kB / 1.511 GB, free: 2.031 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005301/1.138, allocations: 451.8 kB / 1.511 GB, free: 1.578 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02801/1.166, allocations: 4.294 MB / 1.515 GB, free: 13.27 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00743/1.173, allocations: 3.563 MB / 1.519 GB, free: 9.648 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001446/1.175, allocations: 0.5244 MB / 1.519 GB, free: 9.117 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/1.176, allocations: 352 kB / 1.52 GB, free: 8.773 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01483/1.191, allocations: 5.716 MB / 1.525 GB, free: 2.973 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-05/1.191, allocations: 4 kB / 1.525 GB, free: 2.969 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006491/1.192, allocations: 136 kB / 1.525 GB, free: 2.836 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/1.192, allocations: 134.5 kB / 1.526 GB, free: 2.703 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/1.211, allocations: 6.826 MB / 1.532 GB, free: 11.86 MB / 1.139 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.03563/1.247, allocations: 22.36 MB / 1.554 GB, free: 4.367 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/1.257, allocations: 4.027 MB / 1.558 GB, free: 356 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006075/1.263, allocations: 2.254 MB / 1.56 GB, free: 14.09 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01226/1.276, allocations: 8.172 MB / 1.568 GB, free: 5.543 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006571/1.282, allocations: 2.493 MB / 1.571 GB, free: 3.031 MB / 1.17 GB Notification: Performance of pre-optimization done (n=228): time 4.278e-06/1.282, allocations: 0 / 1.571 GB, free: 3.031 MB / 1.17 GB Notification: Performance of matching and sorting (n=228): time 0.02977/1.312, allocations: 8.422 MB / 1.579 GB, free: 10.47 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/1.312, allocations: 128.8 kB / 1.579 GB, free: 10.32 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007547/1.32, allocations: 4.333 MB / 1.583 GB, free: 5.965 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000299/1.32, allocations: 81.7 kB / 1.583 GB, free: 5.879 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/1.321, allocations: 1.814 MB / 1.585 GB, free: 4.047 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007439/1.322, allocations: 0.7934 MB / 1.586 GB, free: 3.242 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001695/1.324, allocations: 0.8315 MB / 1.587 GB, free: 2.402 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 7.15e-05/1.324, allocations: 305.1 kB / 1.587 GB, free: 2.102 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008695/1.333, allocations: 2.736 MB / 1.59 GB, free: 15.36 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009187/1.342, allocations: 3.467 MB / 1.593 GB, free: 11.65 MB / 1.201 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.01756/1.359, allocations: 5.946 MB / 1.599 GB, free: 5.469 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.322e-05/1.36, allocations: 8 kB / 1.599 GB, free: 5.461 MB / 1.201 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02638/1.386, allocations: 7.596 MB / 1.606 GB, free: 13.8 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/1.386, allocations: 12.5 kB / 1.606 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/1.386, allocations: 16 kB / 1.606 GB, free: 13.77 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003791/1.39, allocations: 0.9791 MB / 1.607 GB, free: 12.76 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008272/1.398, allocations: 1.424 MB / 1.609 GB, free: 11.34 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/1.414, allocations: 14.47 MB / 1.623 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009995/1.424, allocations: 1.216 MB / 1.624 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009667/1.425, allocations: 187.8 kB / 1.624 GB, free: 10.36 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.002852/1.427, allocations: 0.8733 MB / 1.625 GB, free: 9.484 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/1.429, allocations: 422.8 kB / 1.625 GB, free: 9.066 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0204/1.45, allocations: 5.775 MB / 1.631 GB, free: 3.258 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/1.45, allocations: 27.98 kB / 1.631 GB, free: 3.23 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.45, allocations: 0 / 1.631 GB, free: 3.23 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/1.45, allocations: 11.95 kB / 1.631 GB, free: 3.219 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02686/1.476, allocations: 10.89 MB / 1.642 GB, free: 8.16 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.477, allocations: 4 kB / 1.642 GB, free: 8.156 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00427/1.481, allocations: 0.6674 MB / 1.642 GB, free: 7.488 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/1.484, allocations: 0.7638 MB / 1.643 GB, free: 6.699 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004421/1.484, allocations: 79.91 kB / 1.643 GB, free: 6.621 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/1.497, allocations: 11.69 MB / 1.655 GB, free: 10.02 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.497, allocations: 7.938 kB / 1.655 GB, free: 10.02 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02585/1.523, allocations: 8.179 MB / 1.663 GB, free: 1.734 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/1.525, allocations: 1.065 MB / 1.664 GB, free: 0.6445 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/1.526, allocations: 44 kB / 1.664 GB, free: 0.6016 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006106/1.532, allocations: 0.5471 MB / 1.664 GB, free: 56 kB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/1.533, allocations: 165.6 kB / 1.664 GB, free: 15.89 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000348/1.533, allocations: 107.9 kB / 1.664 GB, free: 15.79 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006006/1.539, allocations: 2.991 MB / 1.667 GB, free: 12.8 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.81e-07/1.539, allocations: 3.938 kB / 1.667 GB, free: 12.79 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004816/1.544, allocations: 1.537 MB / 1.669 GB, free: 11.25 MB / 1.279 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.02716/1.571, allocations: 9.581 MB / 1.678 GB, free: 1.734 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02443/1.596, allocations: 7.1 MB / 1.685 GB, free: 10.57 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/1.596, allocations: 12.05 kB / 1.685 GB, free: 10.56 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007915/1.604, allocations: 3.014 MB / 1.688 GB, free: 7.465 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009826/1.613, allocations: 2.091 MB / 1.69 GB, free: 5.449 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1082/1.722, allocations: 46.94 MB / 1.736 GB, free: 3.254 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/1.724, allocations: 2.298 MB / 1.738 GB, free: 0.9258 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.006322/1.73, allocations: 1.04 MB / 1.739 GB, free: 15.9 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003129/1.733, allocations: 1.807 MB / 1.741 GB, free: 14.09 MB / 1.357 GB Notification: Performance of SimCode: time 6.11e-07/1.733, allocations: 0 / 1.741 GB, free: 14.09 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.133/2.867, allocations: 129 MB / 1.867 GB, free: 459.2 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.91/20.78, allocations: 8.578 kB / 1.867 GB, free: 459.2 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)