Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.748/1.748, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001232/0.001232, allocations: 185.8 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009996/0.0009996, allocations: 93.38 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 12.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2277, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.772/6, allocations: 2.354 GB / 3.334 GB, free: 337.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/6, allocations: 94.19 kB / 3.334 GB, free: 337.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.985/8.985, allocations: 0.9162 GB / 4.25 GB, free: 122.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.384e-06/8.985, allocations: 0 / 4.25 GB, free: 122.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002068/8.985, allocations: 39.98 kB / 4.25 GB, free: 122.5 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.007313/8.993, allocations: 2.15 MB / 4.252 GB, free: 120.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/8.993, allocations: 8.031 kB / 4.252 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005263/8.993, allocations: 143.6 kB / 4.252 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/8.997, allocations: 0.525 MB / 4.253 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003724/9, allocations: 1.227 MB / 4.254 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006511/9.001, allocations: 205.9 kB / 4.254 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/9.001, allocations: 100 kB / 4.254 GB, free: 118 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/9.004, allocations: 1.281 MB / 4.255 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/9.004, allocations: 4 kB / 4.255 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/9.005, allocations: 36 kB / 4.256 GB, free: 116.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/9.005, allocations: 37.98 kB / 4.256 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/9.008, allocations: 1.316 MB / 4.257 GB, free: 115.3 MB / 0.948 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.009091/9.017, allocations: 5.025 MB / 4.262 GB, free: 110 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/9.019, allocations: 1.064 MB / 4.263 GB, free: 108.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009673/9.02, allocations: 0.8383 MB / 4.264 GB, free: 107.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/9.022, allocations: 0.7122 MB / 4.264 GB, free: 107.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 5.21e-06/9.022, allocations: 7.984 kB / 4.264 GB, free: 107.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.004376/9.026, allocations: 1.991 MB / 4.266 GB, free: 105.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/9.026, allocations: 115.5 kB / 4.266 GB, free: 105 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/9.028, allocations: 0.9032 MB / 4.267 GB, free: 104.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/9.028, allocations: 49.64 kB / 4.267 GB, free: 104 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/9.028, allocations: 0.5282 MB / 4.268 GB, free: 103.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/9.029, allocations: 280 kB / 4.268 GB, free: 103.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/9.029, allocations: 16 kB / 4.268 GB, free: 103.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/9.029, allocations: 341.9 kB / 4.268 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/9.03, allocations: 0.5211 MB / 4.269 GB, free: 102.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/9.031, allocations: 0.7461 MB / 4.27 GB, free: 101.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/9.033, allocations: 0.6179 MB / 4.27 GB, free: 100.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/9.033, allocations: 0 / 4.27 GB, free: 100.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003421/9.036, allocations: 1.538 MB / 4.272 GB, free: 99.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003047/9.037, allocations: 1.124 MB / 4.273 GB, free: 98.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/9.037, allocations: 7.953 kB / 4.273 GB, free: 98.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/9.037, allocations: 8 kB / 4.273 GB, free: 98.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/9.038, allocations: 263.6 kB / 4.273 GB, free: 97.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/9.038, allocations: 11.98 kB / 4.273 GB, free: 97.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/9.04, allocations: 210.8 kB / 4.273 GB, free: 97.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/9.04, allocations: 55.97 kB / 4.273 GB, free: 97.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/9.04, allocations: 4 kB / 4.273 GB, free: 97.57 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003057/9.043, allocations: 1.456 MB / 4.275 GB, free: 96.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/9.043, allocations: 4 kB / 4.275 GB, free: 96.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/9.043, allocations: 8 kB / 4.275 GB, free: 96.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/9.044, allocations: 263.7 kB / 4.275 GB, free: 95.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/9.044, allocations: 15.91 kB / 4.275 GB, free: 95.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/9.046, allocations: 199.1 kB / 4.275 GB, free: 95.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/9.046, allocations: 51.97 kB / 4.275 GB, free: 95.57 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 () * Number of clocked 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.0009452/9.047, allocations: 468.2 kB / 4.276 GB, free: 95.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/9.048, allocations: 134.3 kB / 4.276 GB, free: 94.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/9.051, allocations: 1.552 MB / 4.277 GB, free: 93.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/9.051, allocations: 12 kB / 4.277 GB, free: 93.37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/9.051, allocations: 4 kB / 4.277 GB, free: 93.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/9.051, allocations: 3.984 kB / 4.277 GB, free: 93.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005788/9.057, allocations: 3.019 MB / 4.28 GB, free: 90.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/9.057, allocations: 8.031 kB / 4.28 GB, free: 90.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009949/9.058, allocations: 203.7 kB / 4.281 GB, free: 90.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.827e-05/9.058, allocations: 8 kB / 4.281 GB, free: 90.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.725e-05/9.058, allocations: 27.98 kB / 4.281 GB, free: 90 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/9.058, allocations: 8 kB / 4.281 GB, free: 89.99 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/9.058, allocations: 7.938 kB / 4.281 GB, free: 89.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004468/9.063, allocations: 2.529 MB / 4.283 GB, free: 87.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009209/9.064, allocations: 355.3 kB / 4.283 GB, free: 86.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/9.064, allocations: 24 kB / 4.283 GB, free: 86.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/9.066, allocations: 135.8 kB / 4.284 GB, free: 86.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/9.066, allocations: 64.44 kB / 4.284 GB, free: 86.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/9.066, allocations: 47.97 kB / 4.284 GB, free: 86.69 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001173/9.067, allocations: 0.7048 MB / 4.284 GB, free: 85.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/9.067, allocations: 0 / 4.284 GB, free: 85.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003692/9.071, allocations: 1.006 MB / 4.285 GB, free: 84.97 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) * Number of clocked states: 0 () * 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.00862/9.079, allocations: 6.011 MB / 4.291 GB, free: 78.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004779/9.084, allocations: 2.262 MB / 4.293 GB, free: 76.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/9.084, allocations: 0 / 4.293 GB, free: 76.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/9.086, allocations: 0.7918 MB / 4.294 GB, free: 75.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/9.089, allocations: 0.5016 MB / 4.295 GB, free: 75.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/9.096, allocations: 5.249 MB / 4.3 GB, free: 69.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/9.097, allocations: 1.18 MB / 4.301 GB, free: 68.54 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001999/9.099, allocations: 360.8 kB / 4.301 GB, free: 68.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007927/9.1, allocations: 491.2 kB / 4.302 GB, free: 67.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.412e-06/9.1, allocations: 0 / 4.302 GB, free: 67.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08869/9.189, allocations: 62.28 MB / 4.363 GB, free: 5.746 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/9.189, allocations: 243 kB / 4.363 GB, free: 5.418 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.209/13.4, allocations: 0 / 4.363 GB, free: 5.418 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)