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.001066/0.001066, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001091/0.001091, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7428/0.7428, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 66.66 kB / 0.568 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1247, allocations: 77.93 MB / 0.6441 GB, free: 9.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6266/0.7513, allocations: 369.7 MB / 1.005 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04436/0.7957, allocations: 33.34 MB / 1.038 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005739/0.8015, allocations: 155.1 kB / 1.038 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006096/0.8076, allocations: 2.446 MB / 1.04 GB, free: 5.617 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01877/0.8264, allocations: 7.83 MB / 1.048 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01086/0.8373, allocations: 4.629 MB / 1.052 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.4177/1.255, allocations: 11.09 MB / 1.063 GB, free: 56.06 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006744/1.262, allocations: 3.987 MB / 1.067 GB, free: 55.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01355/1.275, allocations: 5.572 MB / 1.073 GB, free: 55.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00717/1.283, allocations: 3.467 MB / 1.076 GB, free: 55.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001886/1.284, allocations: 0.5523 MB / 1.076 GB, free: 55.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0156/1.3, allocations: 6.822 MB / 1.083 GB, free: 55.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003257/1.303, allocations: 1.466 MB / 1.085 GB, free: 55.33 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006054/1.309, allocations: 2.841 MB / 1.087 GB, free: 54.6 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01663/1.326, allocations: 9.811 MB / 1.097 GB, free: 53.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.326, allocations: 0.8438 kB / 1.097 GB, free: 53.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.415e-06/1.326, allocations: 0 / 1.097 GB, free: 53.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001938/1.326, allocations: 3.531 kB / 1.097 GB, free: 53.45 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.01485/1.341, allocations: 6.125 MB / 1.103 GB, free: 50.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.341, allocations: 12.44 kB / 1.103 GB, free: 50.75 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006364/1.342, allocations: 456.6 kB / 1.103 GB, free: 50.69 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02895/1.371, allocations: 4.318 MB / 1.108 GB, free: 50.4 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008363/1.379, allocations: 3.724 MB / 1.111 GB, free: 49.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/1.38, allocations: 313.4 kB / 1.112 GB, free: 49.6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/1.381, allocations: 352.1 kB / 1.112 GB, free: 49.6 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/1.396, allocations: 5.69 MB / 1.117 GB, free: 49.3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.328e-05/1.396, allocations: 7.5 kB / 1.117 GB, free: 49.3 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005673/1.397, allocations: 136.6 kB / 1.118 GB, free: 49.3 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/1.397, allocations: 143.5 kB / 1.118 GB, free: 49.3 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/1.417, allocations: 6.789 MB / 1.124 GB, free: 49.16 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.03792/1.455, allocations: 22.23 MB / 1.146 GB, free: 40.44 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/1.465, allocations: 4.03 MB / 1.15 GB, free: 39.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00631/1.472, allocations: 2.257 MB / 1.152 GB, free: 39.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01545/1.487, allocations: 8.161 MB / 1.16 GB, free: 35.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006545/1.494, allocations: 2.499 MB / 1.163 GB, free: 34.46 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=228): time 4.869e-06/1.494, allocations: 3.938 kB / 1.163 GB, free: 34.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=228): time 0.02977/1.524, allocations: 8.436 MB / 1.171 GB, free: 28.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/1.524, allocations: 124.8 kB / 1.171 GB, free: 28.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00694/1.531, allocations: 4.319 MB / 1.175 GB, free: 24.51 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0007497/1.531, allocations: 85.45 kB / 1.175 GB, free: 24.42 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/1.533, allocations: 1.848 MB / 1.177 GB, free: 22.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009038/1.534, allocations: 0.8277 MB / 1.178 GB, free: 21.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/1.535, allocations: 0.8368 MB / 1.179 GB, free: 20.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.537e-05/1.535, allocations: 301.1 kB / 1.179 GB, free: 20.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007895/1.543, allocations: 2.724 MB / 1.182 GB, free: 17.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008661/1.552, allocations: 3.439 MB / 1.185 GB, free: 14.22 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.01677/1.569, allocations: 5.937 MB / 1.191 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.353e-05/1.569, allocations: 7.938 kB / 1.191 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02569/1.594, allocations: 7.582 MB / 1.198 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/1.594, allocations: 8 kB / 1.198 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/1.594, allocations: 20 kB / 1.198 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003835/1.598, allocations: 0.9709 MB / 1.199 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009003/1.607, allocations: 1.403 MB / 1.201 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/1.623, allocations: 14.48 MB / 1.215 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/1.634, allocations: 1.195 MB / 1.216 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009794/1.635, allocations: 179.8 kB / 1.216 GB, free: 13.32 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.00235/1.637, allocations: 0.8762 MB / 1.217 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/1.639, allocations: 445.1 kB / 1.217 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02033/1.659, allocations: 5.765 MB / 1.223 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/1.659, allocations: 24 kB / 1.223 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.659, allocations: 3.75 kB / 1.223 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.653e-05/1.659, allocations: 15.95 kB / 1.223 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02896/1.688, allocations: 10.9 MB / 1.234 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.688, allocations: 4 kB / 1.234 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004792/1.693, allocations: 0.6633 MB / 1.234 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003201/1.696, allocations: 0.7661 MB / 1.235 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005999/1.697, allocations: 83.84 kB / 1.235 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/1.711, allocations: 11.69 MB / 1.246 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.711, allocations: 10.34 kB / 1.246 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02705/1.738, allocations: 8.192 MB / 1.254 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003104/1.741, allocations: 1.087 MB / 1.256 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/1.742, allocations: 47.98 kB / 1.256 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006523/1.749, allocations: 0.5332 MB / 1.256 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/1.749, allocations: 166.4 kB / 1.256 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003776/1.75, allocations: 111.9 kB / 1.256 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.006568/1.756, allocations: 2.971 MB / 1.259 GB, free: 20 kB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/1.756, allocations: 0 / 1.259 GB, free: 20 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.005708/1.762, allocations: 1.542 MB / 1.261 GB, free: 14.48 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.0295/1.791, allocations: 9.619 MB / 1.27 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.02263/1.814, allocations: 6.451 MB / 1.276 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.814, allocations: 320 / 1.276 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.008839/1.823, allocations: 3.014 MB / 1.279 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01181/1.835, allocations: 2.08 MB / 1.281 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1192/1.954, allocations: 39.85 MB / 1.32 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.957, allocations: 2.302 MB / 1.323 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00674/1.964, allocations: 1.043 MB / 1.324 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004373/1.968, allocations: 1.803 MB / 1.325 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of SimCode: time 9.72e-07/1.968, allocations: 0 / 1.325 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4747/2.443, allocations: 126.2 MB / 1.449 GB, free: 0.5092 GB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.2/22.65, allocations: 4.844 kB / 1.449 GB, free: 0.5092 GB / 1.029 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)