Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_dev_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.001215/0.001215, 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.001197/0.001197, allocations: 194.3 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.17/1.17, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8106/0.8106, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 60.41 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1463, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9137/1.06, allocations: 369.6 MB / 0.9455 GB, free: 25.21 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03833/1.098, allocations: 33.27 MB / 0.9779 GB, free: 22.73 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00564/1.104, allocations: 156.7 kB / 0.9781 GB, free: 22.73 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004861/1.109, allocations: 2.354 MB / 0.9804 GB, free: 21.68 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01661/1.126, allocations: 7.483 MB / 0.9877 GB, free: 18.47 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00932/1.135, allocations: 4.512 MB / 0.9921 GB, free: 15.71 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01168/1.147, allocations: 11.01 MB / 1.003 GB, free: 8.848 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005166/1.152, allocations: 3.983 MB / 1.007 GB, free: 4.922 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01334/1.165, allocations: 5.412 MB / 1.012 GB, free: 372 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006486/1.172, allocations: 3.442 MB / 1.015 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001883/1.174, allocations: 0.5469 MB / 1.016 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/1.188, allocations: 6.75 MB / 1.023 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002226/1.191, allocations: 1.465 MB / 1.024 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005409/1.196, allocations: 2.835 MB / 1.027 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01532/1.211, allocations: 9.663 MB / 1.036 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.212, allocations: 7.984 kB / 1.036 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.473e-06/1.212, allocations: 0 / 1.036 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.337e-05/1.212, allocations: 0 / 1.036 GB, free: 9.594 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.01211/1.224, allocations: 5.926 MB / 1.042 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/1.224, allocations: 11.97 kB / 1.042 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005334/1.224, allocations: 459.3 kB / 1.042 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03053/1.255, allocations: 4.279 MB / 1.047 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006958/1.262, allocations: 3.557 MB / 1.05 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001499/1.263, allocations: 0.5194 MB / 1.051 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007562/1.264, allocations: 352 kB / 1.051 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/1.279, allocations: 5.714 MB / 1.056 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/1.279, allocations: 0 / 1.056 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004354/1.279, allocations: 139 kB / 1.057 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/1.279, allocations: 134.5 kB / 1.057 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/1.3, allocations: 6.839 MB / 1.063 GB, free: 13.55 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.03784/1.338, allocations: 22.3 MB / 1.085 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.348, allocations: 4.061 MB / 1.089 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006302/1.355, allocations: 2.266 MB / 1.091 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/1.367, allocations: 8.179 MB / 1.099 GB, free: 7.516 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006683/1.374, allocations: 2.404 MB / 1.102 GB, free: 5.098 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 4.058e-06/1.374, allocations: 0 / 1.102 GB, free: 5.098 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03077/1.405, allocations: 8.432 MB / 1.11 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.405, allocations: 85.41 kB / 1.11 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006444/1.411, allocations: 4.288 MB / 1.114 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/1.411, allocations: 81.7 kB / 1.114 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/1.413, allocations: 1.824 MB / 1.116 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006851/1.413, allocations: 0.7925 MB / 1.117 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/1.415, allocations: 0.8041 MB / 1.118 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/1.415, allocations: 305.1 kB / 1.118 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008341/1.423, allocations: 2.732 MB / 1.121 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00867/1.432, allocations: 3.422 MB / 1.124 GB, free: 13.93 MB / 0.795 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.01667/1.449, allocations: 5.977 MB / 1.13 GB, free: 7.715 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.449, allocations: 7.938 kB / 1.13 GB, free: 7.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02403/1.473, allocations: 7.579 MB / 1.137 GB, free: 68 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.473, allocations: 12 kB / 1.137 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/1.473, allocations: 19.98 kB / 1.137 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/1.477, allocations: 0.9778 MB / 1.138 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007772/1.484, allocations: 1.415 MB / 1.14 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02981/1.514, allocations: 14.45 MB / 1.154 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008843/1.523, allocations: 1.209 MB / 1.155 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003911/1.523, allocations: 179.8 kB / 1.155 GB, free: 12.69 MB / 0.8262 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.001654/1.525, allocations: 0.8581 MB / 1.156 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008878/1.526, allocations: 418.8 kB / 1.156 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01944/1.545, allocations: 5.792 MB / 1.162 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/1.545, allocations: 24 kB / 1.162 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.545, allocations: 3.938 kB / 1.162 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/1.546, allocations: 11.95 kB / 1.162 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2487/1.794, allocations: 10.92 MB / 1.173 GB, free: 358.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.794, allocations: 9.875 kB / 1.173 GB, free: 358.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004396/1.799, allocations: 0.6688 MB / 1.173 GB, free: 358.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/1.802, allocations: 0.7672 MB / 1.174 GB, free: 358.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003789/1.802, allocations: 80.42 kB / 1.174 GB, free: 358.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/1.813, allocations: 11.7 MB / 1.186 GB, free: 348.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.813, allocations: 5.656 kB / 1.186 GB, free: 348.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02525/1.839, allocations: 8.202 MB / 1.194 GB, free: 345.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/1.841, allocations: 1.058 MB / 1.195 GB, free: 345.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008636/1.842, allocations: 45.31 kB / 1.195 GB, free: 345.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005859/1.848, allocations: 0.5322 MB / 1.195 GB, free: 345.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/1.848, allocations: 168.3 kB / 1.195 GB, free: 345 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002713/1.848, allocations: 112.5 kB / 1.195 GB, free: 345 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00505/1.853, allocations: 2.965 MB / 1.198 GB, free: 344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/1.853, allocations: 0 / 1.198 GB, free: 344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004157/1.857, allocations: 1.532 MB / 1.2 GB, free: 343.9 MB / 0.8262 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.02827/1.886, allocations: 9.604 MB / 1.209 GB, free: 340.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02475/1.911, allocations: 7.053 MB / 1.216 GB, free: 338.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.911, allocations: 2.156 kB / 1.216 GB, free: 338.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008149/1.919, allocations: 3.037 MB / 1.219 GB, free: 336.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009611/1.928, allocations: 2.11 MB / 1.221 GB, free: 336.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/2.033, allocations: 46.78 MB / 1.267 GB, free: 309.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/2.034, allocations: 2.294 MB / 1.269 GB, free: 307.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005909/2.04, allocations: 1.045 MB / 1.27 GB, free: 307 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002461/2.042, allocations: 1.801 MB / 1.272 GB, free: 305.3 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/2.042, allocations: 0 / 1.272 GB, free: 305.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.822/6.865, allocations: 128.7 MB / 1.397 GB, free: 179.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/23.89, allocations: 11.66 kB / 1.397 GB, free: 179.5 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)