Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.394/2.394, allocations: 284.9 MB / 292.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 180.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001064, allocations: 97.03 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.698e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8345, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.051/7.885, allocations: 2.353 GB / 3.317 GB, free: 46.13 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/7.886, allocations: 87.14 kB / 3.317 GB, free: 46.09 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.12/13.01, allocations: 0.9056 GB / 4.222 GB, free: 155.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.246e-06/13.01, allocations: 7.609 kB / 4.222 GB, free: 155.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001872/13.01, allocations: 33.38 kB / 4.223 GB, free: 155.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.008737/13.01, allocations: 1.915 MB / 4.224 GB, free: 154.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/13.01, allocations: 10.72 kB / 4.224 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005526/13.02, allocations: 0.5196 MB / 4.225 GB, free: 154.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/13.03, allocations: 1.212 MB / 4.226 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/13.03, allocations: 174.2 kB / 4.226 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005211/13.03, allocations: 59.22 kB / 4.226 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002832/13.03, allocations: 0.9527 MB / 4.227 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/13.03, allocations: 1.021 MB / 4.228 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/13.03, allocations: 0.75 kB / 4.228 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/13.03, allocations: 3.969 kB / 4.228 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-05/13.03, allocations: 34.38 kB / 4.228 GB, free: 153.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01517/13.05, allocations: 4.902 MB / 4.233 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/13.05, allocations: 0.8134 MB / 4.234 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/13.05, allocations: 456.4 kB / 4.234 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/13.05, allocations: 0.8398 MB / 4.235 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/13.05, allocations: 0.619 MB / 4.236 GB, free: 150.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 4.869e-06/13.05, allocations: 0 / 4.236 GB, free: 150.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.00474/13.06, allocations: 1.117 MB / 4.237 GB, free: 150.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/13.06, allocations: 155 kB / 4.237 GB, free: 150.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/13.06, allocations: 0.7421 MB / 4.238 GB, free: 150.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003372/13.06, allocations: 31.95 kB / 4.238 GB, free: 150.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/13.06, allocations: 0.5356 MB / 4.238 GB, free: 149.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/13.06, allocations: 262.5 kB / 4.238 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/13.06, allocations: 3.781 kB / 4.238 GB, free: 149.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000107/13.06, allocations: 343.5 kB / 4.239 GB, free: 149.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009684/13.06, allocations: 388.9 kB / 4.239 GB, free: 149.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/13.06, allocations: 0.5966 MB / 4.24 GB, free: 149.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/13.07, allocations: 0.5464 MB / 4.24 GB, free: 149.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/13.07, allocations: 3.688 kB / 4.24 GB, free: 149.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004811/13.07, allocations: 1.28 MB / 4.242 GB, free: 149.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003415/13.07, allocations: 1.202 MB / 4.243 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/13.07, allocations: 3.094 kB / 4.243 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/13.07, allocations: 10.95 kB / 4.243 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/13.08, allocations: 268.5 kB / 4.243 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/13.08, allocations: 10.58 kB / 4.243 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/13.08, allocations: 183.7 kB / 4.243 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/13.08, allocations: 53.83 kB / 4.243 GB, free: 147.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/13.08, allocations: 3.625 kB / 4.243 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004444/13.08, allocations: 1.176 MB / 4.244 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/13.08, allocations: 0 / 4.244 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/13.08, allocations: 7.719 kB / 4.244 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/13.09, allocations: 269.9 kB / 4.245 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/13.09, allocations: 17.78 kB / 4.245 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/13.09, allocations: 164.2 kB / 4.245 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/13.09, allocations: 57.11 kB / 4.245 GB, free: 147.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004927/13.09, allocations: 203.4 kB / 4.245 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004548/13.09, allocations: 1.128 MB / 4.246 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004313/13.09, allocations: 120.7 kB / 4.246 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/13.1, allocations: 1.284 MB / 4.248 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/13.1, allocations: 7.625 kB / 4.248 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/13.1, allocations: 3.891 kB / 4.248 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/13.1, allocations: 3.891 kB / 4.248 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008264/13.11, allocations: 2.711 MB / 4.25 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/13.11, allocations: 3.781 kB / 4.25 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/13.11, allocations: 211.8 kB / 4.25 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.861e-05/13.11, allocations: 7.438 kB / 4.25 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/13.11, allocations: 21.77 kB / 4.25 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/13.11, allocations: 12.11 kB / 4.25 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/13.11, allocations: 4.812 kB / 4.25 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/13.12, allocations: 2.127 MB / 4.253 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/13.12, allocations: 348.1 kB / 4.253 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/13.12, allocations: 14.38 kB / 4.253 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/13.12, allocations: 127.8 kB / 4.253 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/13.12, allocations: 69.14 kB / 4.253 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/13.12, allocations: 45.8 kB / 4.253 GB, free: 146 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0011/13.12, allocations: 0.559 MB / 4.254 GB, free: 145.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/13.12, allocations: 0 / 4.254 GB, free: 145.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004247/13.13, allocations: 0.9313 MB / 4.255 GB, free: 145.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.011/13.14, allocations: 5.825 MB / 4.26 GB, free: 143.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004347/13.14, allocations: 1.85 MB / 4.262 GB, free: 143 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/13.14, allocations: 0 / 4.262 GB, free: 143 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/13.14, allocations: 0.6456 MB / 4.263 GB, free: 142.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/13.15, allocations: 420.9 kB / 4.263 GB, free: 142.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007717/13.15, allocations: 2.075 MB / 4.265 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/13.16, allocations: 1.189 MB / 4.266 GB, free: 141.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003793/13.16, allocations: 405.2 kB / 4.267 GB, free: 141.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/13.16, allocations: 474.7 kB / 4.267 GB, free: 141.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/13.16, allocations: 0 / 4.267 GB, free: 141.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/13.3, allocations: 47.02 MB / 4.313 GB, free: 126.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/13.3, allocations: 200.8 kB / 4.313 GB, free: 126.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.668/17.96, allocations: 0 / 4.313 GB, free: 126.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)