Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IBPSA_latest_IBPSA_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.001269/0.001269, allocations: 111.8 kB / 16.41 MB, free: 6.5 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.001238/0.001238, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7767/0.7767, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.03 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1321, allocations: 78.86 MB / 0.6506 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6618/0.794, allocations: 370 MB / 1.012 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04607/0.8401, allocations: 33.35 MB / 1.044 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005409/0.8455, allocations: 151.1 kB / 1.045 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006237/0.8518, allocations: 2.356 MB / 1.047 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01866/0.8705, allocations: 7.481 MB / 1.054 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.8813, allocations: 4.582 MB / 1.059 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.4024/1.284, allocations: 11.05 MB / 1.069 GB, free: 55.92 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006238/1.29, allocations: 3.99 MB / 1.073 GB, free: 55.53 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01405/1.304, allocations: 5.818 MB / 1.079 GB, free: 55.51 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006697/1.311, allocations: 3.413 MB / 1.082 GB, free: 55.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001484/1.312, allocations: 0.5511 MB / 1.083 GB, free: 55.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/1.325, allocations: 6.78 MB / 1.09 GB, free: 55.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002255/1.327, allocations: 1.464 MB / 1.091 GB, free: 55.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.005025/1.333, allocations: 2.841 MB / 1.094 GB, free: 54.33 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01682/1.349, allocations: 9.837 MB / 1.103 GB, free: 53.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.349, allocations: 0 / 1.103 GB, free: 53.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/1.349, allocations: 0 / 1.103 GB, free: 53.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001658/1.35, allocations: 0.9688 kB / 1.103 GB, free: 53.18 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.01314/1.363, allocations: 6.123 MB / 1.109 GB, free: 50.49 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.363, allocations: 11.69 kB / 1.109 GB, free: 50.49 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005449/1.363, allocations: 451 kB / 1.11 GB, free: 50.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02888/1.392, allocations: 4.312 MB / 1.114 GB, free: 50.14 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008159/1.4, allocations: 3.741 MB / 1.118 GB, free: 49.38 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/1.401, allocations: 305.5 kB / 1.118 GB, free: 49.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/1.402, allocations: 363.3 kB / 1.118 GB, free: 49.33 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/1.416, allocations: 5.692 MB / 1.124 GB, free: 49.04 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.609e-05/1.416, allocations: 5.656 kB / 1.124 GB, free: 49.04 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004521/1.417, allocations: 136.8 kB / 1.124 GB, free: 49.04 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.535e-05/1.417, allocations: 138.4 kB / 1.124 GB, free: 49.03 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/1.436, allocations: 6.782 MB / 1.131 GB, free: 48.89 MB / 0.8106 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.03565/1.471, allocations: 22.24 MB / 1.152 GB, free: 38.94 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009925/1.481, allocations: 4.033 MB / 1.156 GB, free: 36.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005801/1.487, allocations: 2.257 MB / 1.159 GB, free: 35.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/1.499, allocations: 8.174 MB / 1.167 GB, free: 28.88 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006228/1.505, allocations: 2.497 MB / 1.169 GB, free: 26.36 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=228): time 4.509e-06/1.505, allocations: 0 / 1.169 GB, free: 26.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=228): time 0.02946/1.535, allocations: 8.434 MB / 1.177 GB, free: 17.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/1.535, allocations: 128.8 kB / 1.177 GB, free: 17.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006834/1.542, allocations: 4.316 MB / 1.182 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0006716/1.542, allocations: 77.7 kB / 1.182 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/1.544, allocations: 1.855 MB / 1.183 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008168/1.545, allocations: 0.8341 MB / 1.184 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/1.546, allocations: 0.827 MB / 1.185 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.431e-05/1.546, allocations: 305.1 kB / 1.185 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007918/1.554, allocations: 2.724 MB / 1.188 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008535/1.563, allocations: 3.436 MB / 1.191 GB, free: 3.043 MB / 0.8106 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.01845/1.581, allocations: 5.933 MB / 1.197 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/1.581, allocations: 4 kB / 1.197 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02817/1.609, allocations: 7.587 MB / 1.205 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/1.609, allocations: 12 kB / 1.205 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/1.609, allocations: 16.5 kB / 1.205 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004204/1.614, allocations: 0.9824 MB / 1.206 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009176/1.623, allocations: 1.4 MB / 1.207 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/1.641, allocations: 14.48 MB / 1.221 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/1.652, allocations: 1.194 MB / 1.222 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009739/1.653, allocations: 179.8 kB / 1.222 GB, free: 2.141 MB / 0.8419 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: 65 * Number of states: 0 () * Number of discrete variables: 19 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU.flowRegime_nominal,hexWetNTU.dryWetCalcs.fullyDry.cfg,hexWetNTU.dryWetCalcs.fullyWet.cfg,hexWetNTU.dryWetCalcs.cfg,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.dryWetCalcs.fullyDry.cfg,hexWetNTU_TX.dryWetCalcs.fullyWet.cfg,hexWetNTU_TX.dryWetCalcs.cfg,hexWetNTU_TX.flowRegime,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 409 * 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.002456/1.655, allocations: 0.8729 MB / 1.223 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/1.657, allocations: 441.2 kB / 1.224 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02138/1.678, allocations: 5.772 MB / 1.229 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.004e-05/1.678, allocations: 24 kB / 1.229 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/1.678, allocations: 0 / 1.229 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.346e-05/1.678, allocations: 15.95 kB / 1.229 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03083/1.709, allocations: 10.89 MB / 1.24 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/1.709, allocations: 4 kB / 1.24 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004889/1.714, allocations: 0.6788 MB / 1.241 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/1.717, allocations: 0.7504 MB / 1.241 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006329/1.718, allocations: 83.91 kB / 1.242 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01471/1.733, allocations: 11.69 MB / 1.253 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.733, allocations: 4 kB / 1.253 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02873/1.761, allocations: 8.2 MB / 1.261 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003393/1.765, allocations: 1.083 MB / 1.262 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/1.766, allocations: 53.95 kB / 1.262 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006736/1.773, allocations: 0.5381 MB / 1.263 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/1.774, allocations: 168 kB / 1.263 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003782/1.774, allocations: 111.9 kB / 1.263 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.006479/1.78, allocations: 2.97 MB / 1.266 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.41e-07/1.78, allocations: 0 / 1.266 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005566/1.786, allocations: 1.549 MB / 1.267 GB, free: 3.285 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: 3 ($whenCondition1,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 (225): * Single equations (assignments): 212 * 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.03038/1.816, allocations: 9.603 MB / 1.277 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.02191/1.838, allocations: 6.445 MB / 1.283 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.838, allocations: 3.938 kB / 1.283 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.008689/1.847, allocations: 3.012 MB / 1.286 GB, free: 408 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/1.858, allocations: 2.088 MB / 1.288 GB, free: 14.37 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1147/1.972, allocations: 39.84 MB / 1.327 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/1.975, allocations: 2.309 MB / 1.329 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.005715/1.98, allocations: 1.042 MB / 1.33 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003759/1.984, allocations: 1.803 MB / 1.332 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of SimCode: time 7.12e-07/1.984, allocations: 0 / 1.332 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4959/2.48, allocations: 126.2 MB / 1.455 GB, free: 0.5267 GB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.72/23.2, allocations: 10.61 kB / 1.455 GB, free: 0.5267 GB / 1.045 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)