Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_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.001498/0.001498, allocations: 108 kB / 15.61 MB, free: 152 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.001861/0.001861, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7432/0.7432, allocations: 132.2 MB / 422.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 69.12 kB / 0.5019 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3278, allocations: 80.2 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.622/0.9498, allocations: 369.7 MB / 0.9412 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03659/0.9864, allocations: 33.27 MB / 0.9737 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005581/0.992, allocations: 152.6 kB / 0.9738 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005545/0.9976, allocations: 2.359 MB / 0.9761 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01778/1.015, allocations: 7.484 MB / 0.9834 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01041/1.026, allocations: 4.506 MB / 0.9878 GB, free: 15.15 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01322/1.039, allocations: 11.02 MB / 0.9986 GB, free: 4.105 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005687/1.045, allocations: 3.969 MB / 1.002 GB, free: 72 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/1.056, allocations: 5.417 MB / 1.008 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005172/1.061, allocations: 3.445 MB / 1.011 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001407/1.063, allocations: 0.5507 MB / 1.012 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/1.076, allocations: 6.744 MB / 1.018 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001975/1.078, allocations: 1.464 MB / 1.02 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004412/1.082, allocations: 2.827 MB / 1.022 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/1.098, allocations: 9.661 MB / 1.032 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/1.098, allocations: 4 kB / 1.032 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.572e-06/1.098, allocations: 0 / 1.032 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002245/1.098, allocations: 0 / 1.032 GB, free: 1.949 MB / 0.7012 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.01471/1.113, allocations: 5.931 MB / 1.038 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.113, allocations: 16.02 kB / 1.038 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007998/1.114, allocations: 447.8 kB / 1.038 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03048/1.144, allocations: 4.286 MB / 1.042 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00773/1.152, allocations: 3.545 MB / 1.046 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001552/1.153, allocations: 0.5241 MB / 1.046 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/1.154, allocations: 351.9 kB / 1.047 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/1.17, allocations: 5.716 MB / 1.052 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-05/1.17, allocations: 7.938 kB / 1.052 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006745/1.171, allocations: 132 kB / 1.052 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/1.171, allocations: 138.5 kB / 1.052 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02165/1.193, allocations: 6.845 MB / 1.059 GB, free: 5.73 MB / 0.7325 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.04111/1.234, allocations: 22.29 MB / 1.081 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/1.246, allocations: 4.062 MB / 1.085 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006851/1.253, allocations: 2.274 MB / 1.087 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01367/1.266, allocations: 8.172 MB / 1.095 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007042/1.273, allocations: 2.408 MB / 1.097 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=230): time 4.438e-06/1.274, allocations: 3.938 kB / 1.097 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=230): time 0.0345/1.308, allocations: 8.434 MB / 1.106 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/1.308, allocations: 77.41 kB / 1.106 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/1.318, allocations: 4.288 MB / 1.11 GB, free: 44 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.2388/1.557, allocations: 78.23 kB / 1.11 GB, free: 343.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001915/1.559, allocations: 1.822 MB / 1.112 GB, free: 343.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009099/1.56, allocations: 0.7933 MB / 1.113 GB, free: 343 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/1.562, allocations: 0.808 MB / 1.113 GB, free: 342.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 3.272e-05/1.562, allocations: 301.1 kB / 1.114 GB, free: 342.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009416/1.571, allocations: 2.733 MB / 1.116 GB, free: 341.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/1.581, allocations: 3.432 MB / 1.12 GB, free: 340.1 MB / 0.7794 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.0184/1.6, allocations: 5.95 MB / 1.125 GB, free: 337.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/1.6, allocations: 8.312 kB / 1.125 GB, free: 337.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02426/1.624, allocations: 7.595 MB / 1.133 GB, free: 335.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/1.624, allocations: 12.12 kB / 1.133 GB, free: 335.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/1.624, allocations: 14.5 kB / 1.133 GB, free: 335.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/1.628, allocations: 0.9737 MB / 1.134 GB, free: 335.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007925/1.636, allocations: 1.42 MB / 1.135 GB, free: 335 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/1.648, allocations: 14.46 MB / 1.149 GB, free: 321.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008878/1.657, allocations: 1.2 MB / 1.151 GB, free: 321.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005396/1.658, allocations: 179.9 kB / 1.151 GB, free: 321.6 MB / 0.7794 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.001605/1.659, allocations: 0.857 MB / 1.152 GB, free: 321 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008889/1.66, allocations: 416 kB / 1.152 GB, free: 320.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01764/1.678, allocations: 5.796 MB / 1.158 GB, free: 318.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/1.678, allocations: 23.62 kB / 1.158 GB, free: 318.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.678, allocations: 3.938 kB / 1.158 GB, free: 318.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/1.678, allocations: 17.67 kB / 1.158 GB, free: 318.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02306/1.701, allocations: 10.92 MB / 1.168 GB, free: 311.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.701, allocations: 4.25 kB / 1.168 GB, free: 311.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003893/1.705, allocations: 0.678 MB / 1.169 GB, free: 311 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/1.708, allocations: 0.7607 MB / 1.17 GB, free: 310.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/1.708, allocations: 82.22 kB / 1.17 GB, free: 310.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009957/1.718, allocations: 11.7 MB / 1.181 GB, free: 298.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.718, allocations: 4 kB / 1.181 GB, free: 298.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02295/1.741, allocations: 8.21 MB / 1.189 GB, free: 290.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.742, allocations: 1.053 MB / 1.19 GB, free: 289.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007325/1.743, allocations: 47.98 kB / 1.19 GB, free: 289.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005319/1.748, allocations: 0.5307 MB / 1.191 GB, free: 288.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003553/1.749, allocations: 173.7 kB / 1.191 GB, free: 288.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/1.749, allocations: 111.5 kB / 1.191 GB, free: 288.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004374/1.753, allocations: 2.962 MB / 1.194 GB, free: 285.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.92e-07/1.753, allocations: 4 kB / 1.194 GB, free: 285.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003458/1.757, allocations: 1.533 MB / 1.196 GB, free: 283.8 MB / 0.7794 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.0227/1.78, allocations: 9.606 MB / 1.205 GB, free: 274.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02176/1.801, allocations: 7.046 MB / 1.212 GB, free: 267.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.801, allocations: 4 kB / 1.212 GB, free: 267.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006655/1.808, allocations: 3.039 MB / 1.215 GB, free: 264.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008108/1.816, allocations: 2.11 MB / 1.217 GB, free: 262.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08754/1.904, allocations: 46.79 MB / 1.262 GB, free: 212.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/1.905, allocations: 2.294 MB / 1.265 GB, free: 210.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005486/1.911, allocations: 1.04 MB / 1.266 GB, free: 209 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002375/1.913, allocations: 1.796 MB / 1.268 GB, free: 207.2 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/1.913, allocations: 7.938 kB / 1.268 GB, free: 207.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4236/2.337, allocations: 128.7 MB / 1.393 GB, free: 79.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/17.77, allocations: 10.41 kB / 1.393 GB, free: 79.62 MB / 0.7794 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)