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.001235/0.001235, 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.001209/0.001209, allocations: 197 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7324/0.7324, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.38 kB / 0.5019 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1289, allocations: 80.21 MB / 0.5802 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8475/0.9765, allocations: 369.6 MB / 0.9412 GB, free: 25.25 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03762/1.014, allocations: 33.26 MB / 0.9737 GB, free: 24.12 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006902/1.021, allocations: 157 kB / 0.9738 GB, free: 24.12 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005785/1.027, allocations: 2.359 MB / 0.9761 GB, free: 23.58 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01659/1.044, allocations: 7.484 MB / 0.9834 GB, free: 20.37 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009065/1.053, allocations: 4.508 MB / 0.9878 GB, free: 17.61 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01101/1.064, allocations: 11 MB / 0.9986 GB, free: 12.13 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004171/1.068, allocations: 3.985 MB / 1.002 GB, free: 8.195 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/1.079, allocations: 5.412 MB / 1.008 GB, free: 3.645 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004836/1.084, allocations: 3.445 MB / 1.011 GB, free: 0.543 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008481/1.085, allocations: 0.5469 MB / 1.012 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/1.098, allocations: 6.742 MB / 1.018 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002327/1.1, allocations: 1.473 MB / 1.02 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00531/1.105, allocations: 2.828 MB / 1.022 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01597/1.121, allocations: 9.668 MB / 1.032 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.121, allocations: 0 / 1.032 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.383e-06/1.121, allocations: 0 / 1.032 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001001/1.121, allocations: 0 / 1.032 GB, free: 12.98 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.01265/1.134, allocations: 5.929 MB / 1.038 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/1.134, allocations: 8.031 kB / 1.038 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005568/1.135, allocations: 455.2 kB / 1.038 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02991/1.165, allocations: 4.289 MB / 1.042 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00775/1.172, allocations: 3.553 MB / 1.046 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001497/1.174, allocations: 0.5106 MB / 1.046 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009644/1.175, allocations: 366.6 kB / 1.047 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/1.19, allocations: 5.717 MB / 1.052 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/1.19, allocations: 3.094 kB / 1.052 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000447/1.191, allocations: 135 kB / 1.052 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/1.191, allocations: 138.5 kB / 1.052 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02089/1.212, allocations: 6.844 MB / 1.059 GB, free: 1.043 MB / 0.7169 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.03815/1.25, allocations: 22.3 MB / 1.081 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/1.261, allocations: 4.051 MB / 1.085 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006727/1.268, allocations: 2.266 MB / 1.087 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/1.282, allocations: 8.183 MB / 1.095 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006994/1.289, allocations: 2.397 MB / 1.097 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 4.148e-06/1.289, allocations: 0 / 1.097 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03318/1.322, allocations: 8.437 MB / 1.106 GB, free: 216 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/1.322, allocations: 77.41 kB / 1.106 GB, free: 128 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008641/1.331, allocations: 4.288 MB / 1.11 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0005463/1.332, allocations: 89.69 kB / 1.11 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001719/1.333, allocations: 1.813 MB / 1.112 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.334, allocations: 0.7962 MB / 1.113 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/1.337, allocations: 0.8074 MB / 1.113 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/1.337, allocations: 305.1 kB / 1.114 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009127/1.346, allocations: 2.735 MB / 1.116 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009436/1.355, allocations: 3.42 MB / 1.12 GB, free: 1.609 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.01776/1.373, allocations: 5.969 MB / 1.125 GB, free: 11.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/1.373, allocations: 4 kB / 1.125 GB, free: 11.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02596/1.399, allocations: 7.586 MB / 1.133 GB, free: 3.75 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/1.399, allocations: 12 kB / 1.133 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/1.399, allocations: 16.5 kB / 1.133 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004059/1.403, allocations: 0.9714 MB / 1.134 GB, free: 2.723 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008622/1.412, allocations: 1.419 MB / 1.135 GB, free: 1.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/1.429, allocations: 14.46 MB / 1.149 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009761/1.439, allocations: 1.199 MB / 1.151 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000719/1.439, allocations: 179.8 kB / 1.151 GB, free: 396 kB / 0.8106 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.002197/1.441, allocations: 0.8557 MB / 1.152 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/1.443, allocations: 418.9 kB / 1.152 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02061/1.463, allocations: 5.8 MB / 1.158 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/1.463, allocations: 24 kB / 1.158 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.463, allocations: 4 kB / 1.158 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.629e-05/1.463, allocations: 11.95 kB / 1.158 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2539/1.717, allocations: 10.93 MB / 1.168 GB, free: 360.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/1.717, allocations: 2.906 kB / 1.168 GB, free: 360.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004595/1.722, allocations: 0.6678 MB / 1.169 GB, free: 360.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/1.725, allocations: 0.7601 MB / 1.17 GB, free: 360.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004963/1.726, allocations: 82.47 kB / 1.17 GB, free: 360.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/1.736, allocations: 11.69 MB / 1.181 GB, free: 351.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.736, allocations: 6.344 kB / 1.181 GB, free: 351.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02477/1.761, allocations: 8.216 MB / 1.189 GB, free: 348.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002058/1.763, allocations: 1.054 MB / 1.19 GB, free: 348.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007959/1.764, allocations: 44.34 kB / 1.19 GB, free: 348.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005455/1.77, allocations: 0.5305 MB / 1.191 GB, free: 348.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003632/1.77, allocations: 173.5 kB / 1.191 GB, free: 348.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/1.77, allocations: 109.6 kB / 1.191 GB, free: 348.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.005009/1.775, allocations: 2.966 MB / 1.194 GB, free: 347.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/1.775, allocations: 0 / 1.194 GB, free: 347.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004368/1.78, allocations: 1.533 MB / 1.196 GB, free: 347 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.02613/1.806, allocations: 9.606 MB / 1.205 GB, free: 343.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0239/1.83, allocations: 7.049 MB / 1.212 GB, free: 341.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.83, allocations: 7.703 kB / 1.212 GB, free: 341.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007576/1.837, allocations: 3.041 MB / 1.215 GB, free: 339.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008901/1.846, allocations: 2.101 MB / 1.217 GB, free: 339.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09966/1.946, allocations: 46.78 MB / 1.262 GB, free: 313.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/1.947, allocations: 2.3 MB / 1.265 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005794/1.953, allocations: 1.047 MB / 1.266 GB, free: 312.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002408/1.956, allocations: 1.802 MB / 1.268 GB, free: 310.6 MB / 0.8262 GB Notification: Performance of SimCode: time 1.984e-06/1.956, allocations: 0 / 1.268 GB, free: 310.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1556/2.111, allocations: 128.7 MB / 1.393 GB, free: 185.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/16.42, allocations: 3.938 kB / 1.393 GB, free: 185.5 MB / 0.8262 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)