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.004545/0.004545, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001057/0.001057, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8802/0.8802, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 55.91 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3442, allocations: 80.92 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6633/1.008, allocations: 369.7 MB / 1.025 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04278/1.05, allocations: 33.26 MB / 1.058 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005838/1.056, allocations: 159.1 kB / 1.058 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005789/1.062, allocations: 2.434 MB / 1.06 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01816/1.08, allocations: 7.813 MB / 1.068 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0106/1.091, allocations: 4.561 MB / 1.072 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01409/1.105, allocations: 11.07 MB / 1.083 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006033/1.111, allocations: 3.976 MB / 1.087 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01224/1.123, allocations: 5.56 MB / 1.092 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005676/1.129, allocations: 3.438 MB / 1.096 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001605/1.131, allocations: 0.5508 MB / 1.096 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/1.144, allocations: 6.807 MB / 1.103 GB, free: 13.43 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002267/1.146, allocations: 1.468 MB / 1.104 GB, free: 11.96 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004898/1.151, allocations: 2.835 MB / 1.107 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01689/1.168, allocations: 9.808 MB / 1.117 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.168, allocations: 0 / 1.117 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.834e-06/1.168, allocations: 0 / 1.117 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002254/1.168, allocations: 0 / 1.117 GB, free: 15.27 MB / 0.8106 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.01544/1.184, allocations: 6.102 MB / 1.123 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.184, allocations: 12.03 kB / 1.123 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009819/1.185, allocations: 447.8 kB / 1.123 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03055/1.216, allocations: 4.312 MB / 1.127 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009088/1.225, allocations: 3.719 MB / 1.131 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/1.225, allocations: 316.9 kB / 1.131 GB, free: 176 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/1.226, allocations: 352.1 kB / 1.132 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/1.243, allocations: 5.701 MB / 1.137 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.888e-05/1.243, allocations: 4 kB / 1.137 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007383/1.243, allocations: 136 kB / 1.137 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/1.244, allocations: 134.5 kB / 1.137 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02158/1.265, allocations: 6.802 MB / 1.144 GB, free: 2.957 MB / 0.8262 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.04183/1.307, allocations: 22.17 MB / 1.166 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/1.319, allocations: 4.066 MB / 1.17 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007012/1.326, allocations: 2.27 MB / 1.172 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/1.342, allocations: 8.169 MB / 1.18 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007251/1.349, allocations: 2.404 MB / 1.182 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=230): time 4.699e-06/1.349, allocations: 0 / 1.182 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=230): time 0.03317/1.382, allocations: 8.448 MB / 1.19 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/1.383, allocations: 85.39 kB / 1.191 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008949/1.392, allocations: 4.276 MB / 1.195 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006937/1.392, allocations: 85.69 kB / 1.195 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001774/1.394, allocations: 1.849 MB / 1.197 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001242/1.395, allocations: 0.8327 MB / 1.197 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002704/1.398, allocations: 0.8161 MB / 1.198 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/1.398, allocations: 301.1 kB / 1.199 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009152/1.407, allocations: 2.716 MB / 1.201 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009597/1.417, allocations: 3.404 MB / 1.205 GB, free: 3.129 MB / 0.8887 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.3373/1.754, allocations: 5.931 MB / 1.21 GB, free: 374.1 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/1.754, allocations: 8.156 kB / 1.21 GB, free: 374.1 MB / 0.8887 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02761/1.782, allocations: 7.573 MB / 1.218 GB, free: 372.2 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/1.782, allocations: 12.31 kB / 1.218 GB, free: 372.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/1.782, allocations: 14 kB / 1.218 GB, free: 372.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/1.786, allocations: 0.9744 MB / 1.219 GB, free: 372 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008561/1.794, allocations: 1.409 MB / 1.22 GB, free: 371.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.808, allocations: 14.45 MB / 1.234 GB, free: 358.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009756/1.818, allocations: 1.183 MB / 1.235 GB, free: 358.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008082/1.819, allocations: 185.7 kB / 1.235 GB, free: 358.8 MB / 0.8887 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.002093/1.821, allocations: 0.8625 MB / 1.236 GB, free: 358.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.822, allocations: 438 kB / 1.237 GB, free: 358.2 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/1.841, allocations: 5.797 MB / 1.242 GB, free: 356.4 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/1.842, allocations: 27.69 kB / 1.242 GB, free: 356.4 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.842, allocations: 3.844 kB / 1.242 GB, free: 356.4 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/1.842, allocations: 17.22 kB / 1.242 GB, free: 356.4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02477/1.866, allocations: 10.92 MB / 1.253 GB, free: 349.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.866, allocations: 3.969 kB / 1.253 GB, free: 349.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004031/1.87, allocations: 0.6708 MB / 1.254 GB, free: 349.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002796/1.873, allocations: 0.7541 MB / 1.255 GB, free: 349.3 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/1.874, allocations: 84.55 kB / 1.255 GB, free: 349.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.884, allocations: 11.69 MB / 1.266 GB, free: 338.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.884, allocations: 3.938 kB / 1.266 GB, free: 338.1 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02424/1.909, allocations: 8.234 MB / 1.274 GB, free: 333.7 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/1.911, allocations: 1.079 MB / 1.275 GB, free: 332.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009039/1.912, allocations: 55.33 kB / 1.275 GB, free: 332.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005531/1.918, allocations: 0.5188 MB / 1.276 GB, free: 332.6 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/1.918, allocations: 167 kB / 1.276 GB, free: 332.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/1.918, allocations: 113.6 kB / 1.276 GB, free: 332.4 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.005025/1.923, allocations: 2.943 MB / 1.279 GB, free: 330.9 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.81e-07/1.923, allocations: 0 / 1.279 GB, free: 330.9 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004517/1.928, allocations: 1.54 MB / 1.28 GB, free: 330.7 MB / 0.8887 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.0251/1.953, allocations: 9.647 MB / 1.29 GB, free: 323.2 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0189/1.972, allocations: 6.389 MB / 1.296 GB, free: 316.8 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.972, allocations: 0 / 1.296 GB, free: 316.8 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007414/1.979, allocations: 3.042 MB / 1.299 GB, free: 313.6 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/1.989, allocations: 2.088 MB / 1.301 GB, free: 311.6 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09963/2.089, allocations: 39.77 MB / 1.34 GB, free: 271.1 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/2.091, allocations: 2.298 MB / 1.342 GB, free: 268.8 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.005613/2.097, allocations: 1.044 MB / 1.343 GB, free: 267.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003211/2.1, allocations: 1.803 MB / 1.345 GB, free: 266 MB / 0.8887 GB Notification: Performance of SimCode: time 7.71e-07/2.1, allocations: 0 / 1.345 GB, free: 266 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2012/2.301, allocations: 125.9 MB / 1.468 GB, free: 141 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.09/22.39, allocations: 15.84 kB / 1.468 GB, free: 141 MB / 0.8887 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)