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.004891/0.004891, allocations: 99.11 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.001298/0.001298, allocations: 202 kB / 16.68 MB, free: 5.965 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7885/0.7885, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001844, allocations: 67.88 kB / 0.5809 GB, free: 8.086 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3649, allocations: 80.21 MB / 0.6592 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7001/1.065, allocations: 369.7 MB / 1.02 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.04859/1.114, allocations: 33.26 MB / 1.053 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006389/1.12, allocations: 153.1 kB / 1.053 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006897/1.127, allocations: 2.364 MB / 1.055 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02096/1.148, allocations: 7.485 MB / 1.062 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01238/1.16, allocations: 4.524 MB / 1.067 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01649/1.177, allocations: 11.04 MB / 1.078 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007332/1.184, allocations: 3.973 MB / 1.082 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0143/1.199, allocations: 5.438 MB / 1.087 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006568/1.205, allocations: 3.439 MB / 1.09 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001793/1.207, allocations: 0.5508 MB / 1.091 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01412/1.221, allocations: 6.787 MB / 1.097 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002034/1.223, allocations: 1.476 MB / 1.099 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003969/1.227, allocations: 2.827 MB / 1.102 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01668/1.244, allocations: 9.815 MB / 1.111 GB, free: 7.07 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.244, allocations: 0 / 1.111 GB, free: 7.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/1.244, allocations: 4 kB / 1.111 GB, free: 7.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000107/1.244, allocations: 0 / 1.111 GB, free: 7.066 MB / 0.795 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.01328/1.257, allocations: 6.104 MB / 1.117 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.257, allocations: 12.03 kB / 1.117 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005729/1.258, allocations: 451.8 kB / 1.118 GB, free: 396 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03041/1.288, allocations: 4.312 MB / 1.122 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008488/1.297, allocations: 3.719 MB / 1.125 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/1.297, allocations: 308.9 kB / 1.126 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009151/1.298, allocations: 352 kB / 1.126 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/1.314, allocations: 5.693 MB / 1.132 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.015e-05/1.314, allocations: 0 / 1.132 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004482/1.314, allocations: 140 kB / 1.132 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/1.314, allocations: 130.5 kB / 1.132 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02182/1.336, allocations: 6.81 MB / 1.139 GB, free: 10.77 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.0422/1.379, allocations: 22.17 MB / 1.16 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/1.391, allocations: 4.071 MB / 1.164 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007073/1.398, allocations: 2.273 MB / 1.166 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01473/1.412, allocations: 8.177 MB / 1.174 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007337/1.42, allocations: 2.401 MB / 1.177 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=230): time 4.94e-06/1.42, allocations: 4 kB / 1.177 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=230): time 0.0341/1.454, allocations: 8.444 MB / 1.185 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/1.454, allocations: 77.41 kB / 1.185 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008758/1.463, allocations: 4.276 MB / 1.189 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0007034/1.463, allocations: 77.69 kB / 1.189 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001995/1.466, allocations: 1.849 MB / 1.191 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.467, allocations: 0.8289 MB / 1.192 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/1.469, allocations: 0.82 MB / 1.193 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.469, allocations: 301.1 kB / 1.193 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009254/1.478, allocations: 2.724 MB / 1.196 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.488, allocations: 3.397 MB / 1.199 GB, free: 10.93 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.01995/1.508, allocations: 5.946 MB / 1.205 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/1.509, allocations: 12 kB / 1.205 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.3061/1.815, allocations: 7.566 MB / 1.212 GB, free: 377.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/1.815, allocations: 12.56 kB / 1.212 GB, free: 377.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/1.815, allocations: 17.83 kB / 1.212 GB, free: 377.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004185/1.819, allocations: 0.9718 MB / 1.213 GB, free: 377.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009051/1.828, allocations: 1.408 MB / 1.214 GB, free: 377.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/1.843, allocations: 14.45 MB / 1.229 GB, free: 364.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009507/1.852, allocations: 1.182 MB / 1.23 GB, free: 364.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007802/1.853, allocations: 187.1 kB / 1.23 GB, free: 364.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.001901/1.855, allocations: 0.8618 MB / 1.231 GB, free: 364.2 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.856, allocations: 437.7 kB / 1.231 GB, free: 364.2 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/1.876, allocations: 5.789 MB / 1.237 GB, free: 362.4 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.523e-05/1.876, allocations: 33.52 kB / 1.237 GB, free: 362.4 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.876, allocations: 5.25 kB / 1.237 GB, free: 362.4 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/1.876, allocations: 11.2 kB / 1.237 GB, free: 362.4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0264/1.902, allocations: 10.92 MB / 1.248 GB, free: 357.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.902, allocations: 3.719 kB / 1.248 GB, free: 357.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004635/1.907, allocations: 0.6716 MB / 1.248 GB, free: 357.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/1.91, allocations: 0.7633 MB / 1.249 GB, free: 356.8 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005275/1.91, allocations: 82.53 kB / 1.249 GB, free: 356.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/1.921, allocations: 11.69 MB / 1.26 GB, free: 345.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.921, allocations: 8.938 kB / 1.26 GB, free: 345.7 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/1.946, allocations: 8.225 MB / 1.269 GB, free: 341.4 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/1.949, allocations: 1.084 MB / 1.27 GB, free: 340.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000769/1.949, allocations: 51.7 kB / 1.27 GB, free: 340.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005359/1.955, allocations: 0.519 MB / 1.27 GB, free: 340.2 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003593/1.955, allocations: 169 kB / 1.27 GB, free: 340.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002697/1.955, allocations: 114.4 kB / 1.27 GB, free: 340.1 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.004887/1.96, allocations: 2.933 MB / 1.273 GB, free: 338.6 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/1.96, allocations: 0 / 1.273 GB, free: 338.6 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004471/1.965, allocations: 1.547 MB / 1.275 GB, free: 338.4 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.02544/1.99, allocations: 9.638 MB / 1.284 GB, free: 333.3 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01862/2.009, allocations: 6.392 MB / 1.29 GB, free: 329 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/2.009, allocations: 4 kB / 1.29 GB, free: 329 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007338/2.016, allocations: 3.031 MB / 1.293 GB, free: 325.8 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009126/2.025, allocations: 2.106 MB / 1.295 GB, free: 323.9 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09463/2.12, allocations: 39.76 MB / 1.334 GB, free: 283.4 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/2.121, allocations: 2.298 MB / 1.337 GB, free: 281.1 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.004693/2.126, allocations: 1.037 MB / 1.338 GB, free: 280.1 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002458/2.129, allocations: 1.803 MB / 1.339 GB, free: 278.3 MB / 0.8887 GB Notification: Performance of SimCode: time 7.52e-07/2.129, allocations: 0 / 1.339 GB, free: 278.3 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1596/2.288, allocations: 125.9 MB / 1.462 GB, free: 153.3 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.05/23.34, allocations: 22.25 kB / 1.462 GB, free: 153.3 MB / 0.8887 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)