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.001259/0.001259, allocations: 106.6 kB / 16.4 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.001316/0.001316, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.323/1.323, 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.744/0.744, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 66.72 kB / 0.5572 GB, free: 32.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1442, allocations: 76.18 MB / 0.6316 GB, free: 4.996 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7551/0.8993, allocations: 369.7 MB / 0.9927 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04763/0.947, allocations: 33.34 MB / 1.025 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006623/0.9537, allocations: 151.1 kB / 1.025 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00662/0.9604, allocations: 2.36 MB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02103/0.9814, allocations: 7.501 MB / 1.035 GB, free: 15.04 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01192/0.9934, allocations: 4.59 MB / 1.039 GB, free: 10.48 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.4776/1.471, allocations: 11.07 MB / 1.05 GB, free: 51.85 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007646/1.479, allocations: 3.984 MB / 1.054 GB, free: 51.47 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01541/1.494, allocations: 5.517 MB / 1.06 GB, free: 51.44 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007958/1.502, allocations: 3.461 MB / 1.063 GB, free: 51.26 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002253/1.504, allocations: 0.5509 MB / 1.063 GB, free: 51.26 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/1.52, allocations: 6.803 MB / 1.07 GB, free: 51.26 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002917/1.523, allocations: 1.471 MB / 1.072 GB, free: 51.07 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004979/1.528, allocations: 2.844 MB / 1.074 GB, free: 50.34 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01707/1.545, allocations: 9.776 MB / 1.084 GB, free: 49.43 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/1.545, allocations: 4.312 kB / 1.084 GB, free: 49.43 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.445e-06/1.545, allocations: 0 / 1.084 GB, free: 49.43 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002254/1.545, allocations: 0 / 1.084 GB, free: 49.43 MB / 0.795 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.02008/1.566, allocations: 5.958 MB / 1.09 GB, free: 46.88 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.566, allocations: 9.719 kB / 1.09 GB, free: 46.88 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001888/1.568, allocations: 452.9 kB / 1.09 GB, free: 46.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02974/1.597, allocations: 4.293 MB / 1.094 GB, free: 46.55 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/1.608, allocations: 3.707 MB / 1.098 GB, free: 45.81 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/1.609, allocations: 304.7 kB / 1.098 GB, free: 45.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/1.611, allocations: 357.3 kB / 1.099 GB, free: 45.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/1.63, allocations: 5.69 MB / 1.104 GB, free: 45.48 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001715/1.63, allocations: 3 kB / 1.104 GB, free: 45.48 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/1.632, allocations: 137.9 kB / 1.104 GB, free: 45.48 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/1.632, allocations: 137.8 kB / 1.104 GB, free: 45.47 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02288/1.655, allocations: 6.792 MB / 1.111 GB, free: 45.32 MB / 0.795 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.04715/1.702, allocations: 22.19 MB / 1.133 GB, free: 36.55 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/1.714, allocations: 4.031 MB / 1.137 GB, free: 35.83 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00678/1.721, allocations: 2.252 MB / 1.139 GB, free: 35.42 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01668/1.737, allocations: 8.173 MB / 1.147 GB, free: 31.32 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007276/1.745, allocations: 2.487 MB / 1.149 GB, free: 30.56 MB / 0.795 GB Notification: Performance of pre-optimization done (n=228): time 5.821e-06/1.745, allocations: 4 kB / 1.149 GB, free: 30.56 MB / 0.795 GB Notification: Performance of matching and sorting (n=228): time 0.03326/1.778, allocations: 8.415 MB / 1.157 GB, free: 25.21 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/1.778, allocations: 130.8 kB / 1.158 GB, free: 25.07 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009735/1.788, allocations: 4.313 MB / 1.162 GB, free: 21.24 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.789, allocations: 81.7 kB / 1.162 GB, free: 21.15 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001779/1.791, allocations: 1.811 MB / 1.164 GB, free: 19.34 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001435/1.792, allocations: 0.7925 MB / 1.164 GB, free: 18.55 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003765/1.796, allocations: 0.8247 MB / 1.165 GB, free: 17.72 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/1.796, allocations: 307.3 kB / 1.166 GB, free: 17.42 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008857/1.805, allocations: 2.721 MB / 1.168 GB, free: 14.7 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009526/1.814, allocations: 3.442 MB / 1.172 GB, free: 11.02 MB / 0.795 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.01768/1.832, allocations: 5.94 MB / 1.177 GB, free: 4.906 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-05/1.832, allocations: 7.938 kB / 1.177 GB, free: 4.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02878/1.861, allocations: 7.567 MB / 1.185 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/1.861, allocations: 12 kB / 1.185 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/1.861, allocations: 14.34 kB / 1.185 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004267/1.865, allocations: 0.9683 MB / 1.186 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009126/1.875, allocations: 1.408 MB / 1.187 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/1.892, allocations: 14.46 MB / 1.201 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/1.903, allocations: 1.189 MB / 1.202 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.904, allocations: 183.8 kB / 1.203 GB, free: 10.14 MB / 0.8262 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.003485/1.908, allocations: 0.8671 MB / 1.203 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002174/1.91, allocations: 426.7 kB / 1.204 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02289/1.933, allocations: 5.767 MB / 1.209 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/1.933, allocations: 20 kB / 1.209 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/1.933, allocations: 4 kB / 1.209 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.538e-05/1.933, allocations: 11.95 kB / 1.209 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0318/1.965, allocations: 10.9 MB / 1.22 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.965, allocations: 4.469 kB / 1.22 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004871/1.97, allocations: 0.6605 MB / 1.221 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003318/1.973, allocations: 0.7722 MB / 1.222 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007215/1.974, allocations: 87.84 kB / 1.222 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/1.988, allocations: 11.68 MB / 1.233 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.988, allocations: 6.344 kB / 1.233 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03052/2.018, allocations: 8.167 MB / 1.241 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003474/2.022, allocations: 1.065 MB / 1.242 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00181/2.024, allocations: 44.19 kB / 1.242 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006864/2.031, allocations: 0.5392 MB / 1.243 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006501/2.031, allocations: 170.5 kB / 1.243 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000601/2.032, allocations: 107.8 kB / 1.243 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.007297/2.039, allocations: 2.971 MB / 1.246 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.7e-07/2.039, allocations: 0 / 1.246 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.006904/2.046, allocations: 1.54 MB / 1.247 GB, free: 11.36 MB / 0.8731 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.0317/2.078, allocations: 9.586 MB / 1.257 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02259/2.101, allocations: 6.432 MB / 1.263 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/2.101, allocations: 5.188 kB / 1.263 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.008851/2.109, allocations: 3.024 MB / 1.266 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01235/2.122, allocations: 2.08 MB / 1.268 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1281/2.25, allocations: 39.7 MB / 1.307 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/2.253, allocations: 2.302 MB / 1.309 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.006971/2.26, allocations: 1.035 MB / 1.31 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004387/2.264, allocations: 1.803 MB / 1.312 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of SimCode: time 1.002e-06/2.265, allocations: 4 kB / 1.312 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5264/2.791, allocations: 128.9 MB / 1.438 GB, free: 0.5037 GB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.93/23.72, allocations: 17.48 kB / 1.438 GB, free: 0.5037 GB / 1.014 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)