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.001607/0.001607, 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.001901/0.001901, allocations: 192.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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8884/0.8884, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.47 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 80.92 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8399/0.9703, allocations: 369.6 MB / 0.9455 GB, free: 25.17 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0371/1.007, allocations: 33.27 MB / 0.9779 GB, free: 22.72 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005867/1.013, allocations: 152.2 kB / 0.9781 GB, free: 22.72 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005366/1.019, allocations: 2.359 MB / 0.9804 GB, free: 21.67 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01683/1.036, allocations: 7.489 MB / 0.9877 GB, free: 18.45 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01057/1.046, allocations: 4.493 MB / 0.9921 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01228/1.058, allocations: 11.02 MB / 1.003 GB, free: 8.848 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005386/1.064, allocations: 3.979 MB / 1.007 GB, free: 4.922 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01077/1.075, allocations: 5.415 MB / 1.012 GB, free: 376 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005489/1.08, allocations: 3.434 MB / 1.015 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0014/1.082, allocations: 0.5508 MB / 1.016 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01314/1.095, allocations: 6.752 MB / 1.023 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001969/1.097, allocations: 1.459 MB / 1.024 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004926/1.102, allocations: 2.835 MB / 1.027 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01657/1.118, allocations: 9.662 MB / 1.036 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.118, allocations: 4 kB / 1.036 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.954e-06/1.118, allocations: 0 / 1.036 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002092/1.119, allocations: 3.938 kB / 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.01349/1.132, allocations: 5.93 MB / 1.042 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.132, allocations: 8.031 kB / 1.042 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000528/1.133, allocations: 447.8 kB / 1.042 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03101/1.164, allocations: 4.292 MB / 1.047 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007255/1.171, allocations: 3.558 MB / 1.05 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001459/1.172, allocations: 0.5202 MB / 1.051 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007748/1.173, allocations: 355.3 kB / 1.051 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/1.187, allocations: 5.71 MB / 1.056 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.243e-05/1.187, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/1.188, allocations: 136 kB / 1.057 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/1.188, allocations: 134.5 kB / 1.057 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/1.209, allocations: 6.84 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.03802/1.247, allocations: 22.31 MB / 1.085 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/1.259, allocations: 4.059 MB / 1.089 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006694/1.265, allocations: 2.264 MB / 1.091 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01315/1.278, allocations: 8.185 MB / 1.099 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007094/1.286, allocations: 2.397 MB / 1.102 GB, free: 5.09 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 4.719e-06/1.286, allocations: 0 / 1.102 GB, free: 5.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03379/1.319, allocations: 8.442 MB / 1.11 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/1.319, allocations: 73.41 kB / 1.11 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007591/1.327, allocations: 4.291 MB / 1.114 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0006161/1.328, allocations: 81.7 kB / 1.114 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.329, allocations: 1.82 MB / 1.116 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009284/1.33, allocations: 0.7909 MB / 1.117 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/1.332, allocations: 0.808 MB / 1.118 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/1.332, allocations: 301.1 kB / 1.118 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009325/1.341, allocations: 2.738 MB / 1.121 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00994/1.351, allocations: 3.416 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.01933/1.371, allocations: 5.976 MB / 1.13 GB, free: 7.711 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/1.371, allocations: 7.938 kB / 1.13 GB, free: 7.703 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02735/1.398, allocations: 7.585 MB / 1.137 GB, free: 56 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/1.398, allocations: 12 kB / 1.137 GB, free: 44 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/1.398, allocations: 19.94 kB / 1.137 GB, free: 24 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004073/1.402, allocations: 0.9714 MB / 1.138 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008802/1.411, allocations: 1.411 MB / 1.14 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/1.427, allocations: 14.46 MB / 1.154 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/1.438, allocations: 1.205 MB / 1.155 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006384/1.438, allocations: 186.8 kB / 1.155 GB, free: 12.68 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.001938/1.44, allocations: 0.8595 MB / 1.156 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.441, allocations: 418.8 kB / 1.156 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02146/1.463, allocations: 5.785 MB / 1.162 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/1.463, allocations: 24 kB / 1.162 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.463, allocations: 3.984 kB / 1.162 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/1.463, allocations: 15.94 kB / 1.162 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2483/1.711, allocations: 10.93 MB / 1.173 GB, free: 358.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.711, allocations: 3.25 kB / 1.173 GB, free: 358.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004424/1.716, allocations: 0.6672 MB / 1.173 GB, free: 358.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003081/1.719, allocations: 0.759 MB / 1.174 GB, free: 358 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000276/1.719, allocations: 83.52 kB / 1.174 GB, free: 358 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.73, allocations: 11.7 MB / 1.186 GB, free: 348.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.73, allocations: 9.625 kB / 1.186 GB, free: 348.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02577/1.756, allocations: 8.205 MB / 1.194 GB, free: 345.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/1.758, allocations: 1.057 MB / 1.195 GB, free: 344.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008651/1.759, allocations: 46.28 kB / 1.195 GB, free: 344.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005961/1.765, allocations: 0.5289 MB / 1.195 GB, free: 344.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003819/1.766, allocations: 176.5 kB / 1.195 GB, free: 344.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/1.766, allocations: 106.7 kB / 1.195 GB, free: 344.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.005106/1.771, allocations: 2.964 MB / 1.198 GB, free: 343.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/1.771, allocations: 3.844 kB / 1.198 GB, free: 343.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004059/1.775, allocations: 1.534 MB / 1.2 GB, free: 343.6 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.02796/1.803, allocations: 9.607 MB / 1.209 GB, free: 340.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02494/1.828, allocations: 7.057 MB / 1.216 GB, free: 337.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.828, allocations: 1.406 kB / 1.216 GB, free: 337.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008224/1.836, allocations: 3.029 MB / 1.219 GB, free: 336.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009484/1.846, allocations: 2.115 MB / 1.221 GB, free: 335.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1038/1.95, allocations: 46.78 MB / 1.267 GB, free: 309.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.951, allocations: 2.294 MB / 1.269 GB, free: 307.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006251/1.957, allocations: 1.041 MB / 1.27 GB, free: 306.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002642/1.96, allocations: 1.803 MB / 1.272 GB, free: 305.2 MB / 0.8262 GB Notification: Performance of SimCode: time 8.11e-07/1.96, allocations: 0 / 1.272 GB, free: 305.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.155/2.115, allocations: 128.7 MB / 1.397 GB, free: 179.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/16.64, allocations: 3.938 kB / 1.397 GB, free: 179.4 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 & 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)