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.001276/0.001276, allocations: 104.6 kB / 16.27 MB, free: 6.043 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.001001/0.001002, allocations: 188.2 kB / 17.19 MB, free: 5.672 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.243/1.243, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7215/0.7215, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2962, allocations: 77.92 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.5678/0.8641, allocations: 369.7 MB / 0.9283 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04248/0.9066, allocations: 33.33 MB / 0.9609 GB, free: 3.418 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005402/0.912, allocations: 151.1 kB / 0.961 GB, free: 3.27 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006261/0.9183, allocations: 2.368 MB / 0.9633 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01819/0.9365, allocations: 7.503 MB / 0.9707 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.9471, allocations: 4.551 MB / 0.9751 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01306/0.9601, allocations: 11.08 MB / 0.9859 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005407/0.9656, allocations: 3.992 MB / 0.9898 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01105/0.9766, allocations: 5.417 MB / 0.9951 GB, free: 308 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005504/0.9821, allocations: 3.455 MB / 0.9985 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.9835, allocations: 0.5508 MB / 0.999 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01273/0.9962, allocations: 6.765 MB / 1.006 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.9982, allocations: 1.468 MB / 1.007 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004512/1.003, allocations: 2.839 MB / 1.01 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01496/1.018, allocations: 9.673 MB / 1.019 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.018, allocations: 0 / 1.019 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/1.018, allocations: 0 / 1.019 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001879/1.018, allocations: 0 / 1.019 GB, free: 7.496 MB / 0.7325 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.01254/1.03, allocations: 5.955 MB / 1.025 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.031, allocations: 8.625 kB / 1.025 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005125/1.031, allocations: 455.8 kB / 1.026 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2485/1.28, allocations: 4.282 MB / 1.03 GB, free: 316.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007361/1.287, allocations: 3.559 MB / 1.033 GB, free: 315.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001429/1.288, allocations: 0.5205 MB / 1.034 GB, free: 315 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006643/1.289, allocations: 358.3 kB / 1.034 GB, free: 314.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/1.302, allocations: 5.714 MB / 1.04 GB, free: 312.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.449e-05/1.302, allocations: 5.125 kB / 1.04 GB, free: 312.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/1.303, allocations: 136.3 kB / 1.04 GB, free: 312.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/1.303, allocations: 141.6 kB / 1.04 GB, free: 312.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/1.322, allocations: 6.826 MB / 1.047 GB, free: 310 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.03048/1.352, allocations: 22.35 MB / 1.068 GB, free: 292.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009635/1.362, allocations: 4.035 MB / 1.072 GB, free: 290.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005705/1.368, allocations: 2.257 MB / 1.075 GB, free: 289.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/1.378, allocations: 8.173 MB / 1.083 GB, free: 281.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006013/1.384, allocations: 2.493 MB / 1.085 GB, free: 279.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 3.637e-06/1.384, allocations: 3.938 kB / 1.085 GB, free: 279.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.02817/1.412, allocations: 8.415 MB / 1.093 GB, free: 270.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/1.412, allocations: 128.8 kB / 1.093 GB, free: 270.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00572/1.418, allocations: 4.333 MB / 1.098 GB, free: 266.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002876/1.418, allocations: 89.36 kB / 1.098 GB, free: 266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/1.419, allocations: 1.815 MB / 1.099 GB, free: 264.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005309/1.42, allocations: 0.7919 MB / 1.1 GB, free: 263.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/1.421, allocations: 0.8237 MB / 1.101 GB, free: 262.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.047e-05/1.421, allocations: 301.1 kB / 1.101 GB, free: 262.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007789/1.429, allocations: 2.743 MB / 1.104 GB, free: 259.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00813/1.437, allocations: 3.459 MB / 1.107 GB, free: 255.9 MB / 0.7325 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.01592/1.453, allocations: 5.946 MB / 1.113 GB, free: 249.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/1.453, allocations: 4 kB / 1.113 GB, free: 249.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02412/1.477, allocations: 7.615 MB / 1.121 GB, free: 242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.477, allocations: 12 kB / 1.121 GB, free: 242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/1.477, allocations: 16 kB / 1.121 GB, free: 242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003608/1.481, allocations: 0.9698 MB / 1.122 GB, free: 241 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007907/1.489, allocations: 1.415 MB / 1.123 GB, free: 239.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/1.502, allocations: 14.47 MB / 1.137 GB, free: 224.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009788/1.512, allocations: 1.22 MB / 1.138 GB, free: 222.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007103/1.513, allocations: 187.8 kB / 1.138 GB, free: 222.7 MB / 0.7325 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.001711/1.514, allocations: 0.8656 MB / 1.139 GB, free: 221.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009906/1.515, allocations: 422.8 kB / 1.14 GB, free: 221.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/1.534, allocations: 5.77 MB / 1.145 GB, free: 215.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.534, allocations: 27.98 kB / 1.145 GB, free: 215.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.534, allocations: 3.938 kB / 1.145 GB, free: 215.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/1.534, allocations: 12.7 kB / 1.145 GB, free: 215.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02303/1.557, allocations: 10.9 MB / 1.156 GB, free: 204.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.557, allocations: 12.06 kB / 1.156 GB, free: 204.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004256/1.561, allocations: 0.667 MB / 1.157 GB, free: 203.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/1.564, allocations: 0.7604 MB / 1.157 GB, free: 203.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003215/1.564, allocations: 83.91 kB / 1.157 GB, free: 203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.575, allocations: 11.68 MB / 1.169 GB, free: 190.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/1.575, allocations: 4 kB / 1.169 GB, free: 190.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/1.599, allocations: 8.178 MB / 1.177 GB, free: 182.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.601, allocations: 1.069 MB / 1.178 GB, free: 181 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007932/1.601, allocations: 48 kB / 1.178 GB, free: 181 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005584/1.607, allocations: 0.5393 MB / 1.178 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/1.607, allocations: 177.6 kB / 1.179 GB, free: 180.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/1.608, allocations: 103.9 kB / 1.179 GB, free: 180.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004522/1.612, allocations: 2.994 MB / 1.182 GB, free: 177.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.612, allocations: 0 / 1.182 GB, free: 177.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003387/1.616, allocations: 1.539 MB / 1.183 GB, free: 175.7 MB / 0.7325 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.02486/1.64, allocations: 9.579 MB / 1.193 GB, free: 166.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02223/1.663, allocations: 7.104 MB / 1.199 GB, free: 159.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.663, allocations: 4 kB / 1.199 GB, free: 159.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00686/1.67, allocations: 3.014 MB / 1.202 GB, free: 156.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008357/1.678, allocations: 2.097 MB / 1.204 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09223/1.77, allocations: 46.93 MB / 1.25 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.772, allocations: 2.302 MB / 1.253 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.005562/1.777, allocations: 1.041 MB / 1.254 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002366/1.779, allocations: 1.803 MB / 1.255 GB, free: 98.77 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/1.779, allocations: 0 / 1.255 GB, free: 98.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3545/2.134, allocations: 129 MB / 1.381 GB, free: 293.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/17.16, allocations: 9.328 kB / 1.381 GB, free: 293.2 MB / 0.7325 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)