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.0009789/0.0009789, allocations: 104.9 kB / 16.27 MB, free: 5.93 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.0009481/0.0009481, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.23/1.23, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6915/0.6915, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2798, allocations: 77.92 MB / 0.5673 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.5452/0.825, allocations: 369.7 MB / 0.9283 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04073/0.8657, allocations: 33.33 MB / 0.9609 GB, free: 3.512 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004954/0.8707, allocations: 155.1 kB / 0.961 GB, free: 3.359 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005186/0.8759, allocations: 2.372 MB / 0.9633 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01791/0.8939, allocations: 7.509 MB / 0.9707 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.9039, allocations: 4.545 MB / 0.9751 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0129/0.9168, allocations: 11.06 MB / 0.9859 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005948/0.9228, allocations: 3.984 MB / 0.9898 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.9348, allocations: 5.432 MB / 0.9951 GB, free: 404 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005649/0.9405, allocations: 3.453 MB / 0.9985 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.9422, allocations: 0.5508 MB / 0.999 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.9547, allocations: 6.752 MB / 1.006 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.9566, allocations: 1.468 MB / 1.007 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004297/0.9609, allocations: 2.846 MB / 1.01 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.9738, allocations: 9.669 MB / 1.019 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.9739, allocations: 0 / 1.019 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9739, allocations: 0 / 1.019 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.827e-05/0.9739, allocations: 0 / 1.019 GB, free: 7.594 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.01115/0.9851, allocations: 5.954 MB / 1.025 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.9851, allocations: 12.62 kB / 1.025 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005261/0.9857, allocations: 459.8 kB / 1.026 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2455/1.231, allocations: 4.283 MB / 1.03 GB, free: 315.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007788/1.239, allocations: 3.562 MB / 1.033 GB, free: 314.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001441/1.24, allocations: 0.5191 MB / 1.034 GB, free: 314 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009398/1.241, allocations: 362.9 kB / 1.034 GB, free: 313.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01328/1.255, allocations: 5.711 MB / 1.04 GB, free: 311.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/1.255, allocations: 5.312 kB / 1.04 GB, free: 311.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004016/1.255, allocations: 132.9 kB / 1.04 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/1.255, allocations: 136.1 kB / 1.04 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/1.274, allocations: 6.829 MB / 1.047 GB, free: 309 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.03184/1.306, allocations: 22.36 MB / 1.068 GB, free: 291.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009506/1.315, allocations: 4.017 MB / 1.072 GB, free: 289.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005718/1.321, allocations: 2.259 MB / 1.075 GB, free: 288.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/1.332, allocations: 8.172 MB / 1.083 GB, free: 280.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006076/1.338, allocations: 2.496 MB / 1.085 GB, free: 278.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 3.536e-06/1.338, allocations: 0 / 1.085 GB, free: 278.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.02878/1.367, allocations: 8.418 MB / 1.093 GB, free: 269.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/1.367, allocations: 132.8 kB / 1.093 GB, free: 269.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005941/1.373, allocations: 4.341 MB / 1.098 GB, free: 265.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003109/1.373, allocations: 77.7 kB / 1.098 GB, free: 265.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.374, allocations: 1.818 MB / 1.099 GB, free: 263.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/1.375, allocations: 0.7924 MB / 1.1 GB, free: 262.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/1.376, allocations: 0.8234 MB / 1.101 GB, free: 261.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.042e-05/1.376, allocations: 301.1 kB / 1.101 GB, free: 261.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007755/1.384, allocations: 2.743 MB / 1.104 GB, free: 258.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008095/1.392, allocations: 3.463 MB / 1.107 GB, free: 255 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.01578/1.408, allocations: 5.96 MB / 1.113 GB, free: 248.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/1.408, allocations: 4 kB / 1.113 GB, free: 248.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02339/1.431, allocations: 7.607 MB / 1.121 GB, free: 241.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/1.431, allocations: 12 kB / 1.121 GB, free: 241.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/1.431, allocations: 12 kB / 1.121 GB, free: 241.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003603/1.435, allocations: 0.9655 MB / 1.122 GB, free: 240.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008164/1.443, allocations: 1.42 MB / 1.123 GB, free: 238.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.456, allocations: 14.46 MB / 1.137 GB, free: 223.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009593/1.466, allocations: 1.219 MB / 1.138 GB, free: 221.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004953/1.466, allocations: 187 kB / 1.138 GB, free: 221.8 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.001616/1.468, allocations: 0.8661 MB / 1.139 GB, free: 220.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009641/1.469, allocations: 422.8 kB / 1.14 GB, free: 220.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01889/1.488, allocations: 5.781 MB / 1.145 GB, free: 214.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/1.488, allocations: 24 kB / 1.145 GB, free: 214.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.488, allocations: 3.938 kB / 1.145 GB, free: 214.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/1.488, allocations: 15.95 kB / 1.145 GB, free: 214.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/1.511, allocations: 10.89 MB / 1.156 GB, free: 203.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.511, allocations: 4 kB / 1.156 GB, free: 203.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004179/1.516, allocations: 0.6713 MB / 1.157 GB, free: 203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002913/1.518, allocations: 0.7612 MB / 1.157 GB, free: 202.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002277/1.519, allocations: 83.91 kB / 1.157 GB, free: 202.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/1.529, allocations: 11.68 MB / 1.169 GB, free: 189.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.529, allocations: 7.938 kB / 1.169 GB, free: 189.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0243/1.554, allocations: 8.178 MB / 1.177 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/1.556, allocations: 1.069 MB / 1.178 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007933/1.557, allocations: 51.98 kB / 1.178 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005704/1.562, allocations: 0.5393 MB / 1.178 GB, free: 179.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/1.563, allocations: 169.7 kB / 1.179 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/1.563, allocations: 107.9 kB / 1.179 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004577/1.567, allocations: 2.995 MB / 1.182 GB, free: 176.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.567, allocations: 0 / 1.182 GB, free: 176.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003439/1.571, allocations: 1.533 MB / 1.183 GB, free: 174.8 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.02424/1.595, allocations: 9.586 MB / 1.193 GB, free: 165.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02302/1.618, allocations: 7.101 MB / 1.199 GB, free: 158.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.618, allocations: 3.828 kB / 1.199 GB, free: 158.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007616/1.626, allocations: 3.017 MB / 1.202 GB, free: 155.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008527/1.634, allocations: 2.092 MB / 1.204 GB, free: 153.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09264/1.727, allocations: 46.93 MB / 1.25 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/1.728, allocations: 2.306 MB / 1.253 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.005545/1.734, allocations: 1.035 MB / 1.254 GB, free: 99.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002541/1.736, allocations: 1.8 MB / 1.255 GB, free: 97.89 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/1.736, allocations: 0 / 1.255 GB, free: 97.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.126/2.862, allocations: 129 MB / 1.381 GB, free: 289.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/18.4, allocations: 7.297 kB / 1.381 GB, free: 289.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)