Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.00121/0.00121, allocations: 176.8 kB / 366.7 MB, free: 1.629 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.016/2.016, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.0008652/0.000865, allocations: 93.55 kB / 0.74 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.199e-05, allocations: 4 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7509, allocations: 116.3 MB / 0.9734 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.178/5.929, allocations: 2.067 GB / 3.04 GB, free: 32.06 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/5.929, allocations: 101.7 kB / 3.041 GB, free: 32 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8972/6.826, allocations: 92.57 MB / 3.131 GB, free: 315.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/6.827, allocations: 1.969 kB / 3.131 GB, free: 315.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.479e-05/6.827, allocations: 22.19 kB / 3.131 GB, free: 315.6 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.003175/6.83, allocations: 1.407 MB / 3.132 GB, free: 314.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/6.83, allocations: 9.719 kB / 3.132 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/6.846, allocations: 2.183 MB / 3.135 GB, free: 314.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/6.85, allocations: 1.31 MB / 3.136 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/6.85, allocations: 6.188 kB / 3.136 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/6.85, allocations: 14.78 kB / 3.136 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008603/6.851, allocations: 0.5797 MB / 3.136 GB, free: 313.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/6.852, allocations: 0.495 MB / 3.137 GB, free: 313.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/6.852, allocations: 0 / 3.137 GB, free: 313.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/6.852, allocations: 2.125 kB / 3.137 GB, free: 313.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/6.852, allocations: 6.906 kB / 3.137 GB, free: 313.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/6.862, allocations: 3.301 MB / 3.14 GB, free: 311.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/6.863, allocations: 0.7377 MB / 3.141 GB, free: 310.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/6.863, allocations: 320.3 kB / 3.141 GB, free: 310.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.861e-05/6.863, allocations: 2.656 kB / 3.141 GB, free: 310.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006296/6.864, allocations: 491 kB / 3.142 GB, free: 310.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 3.547e-06/6.864, allocations: 0 / 3.142 GB, free: 310.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.01993/6.884, allocations: 2.39 MB / 3.144 GB, free: 309.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/6.884, allocations: 136.4 kB / 3.144 GB, free: 309.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004538/6.889, allocations: 2.09 MB / 3.146 GB, free: 308.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003743/6.889, allocations: 25.7 kB / 3.146 GB, free: 308.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000629/6.89, allocations: 0.55 MB / 3.147 GB, free: 307.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/6.89, allocations: 55.98 kB / 3.147 GB, free: 307.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/6.89, allocations: 4.031 kB / 3.147 GB, free: 307.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001122/6.89, allocations: 321.7 kB / 3.147 GB, free: 307.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/6.891, allocations: 464.5 kB / 3.147 GB, free: 307 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/6.892, allocations: 0.4998 MB / 3.148 GB, free: 306.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02249/6.914, allocations: 9.744 MB / 3.157 GB, free: 301.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/6.914, allocations: 0 / 3.157 GB, free: 301.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.03994/6.954, allocations: 11.96 MB / 3.169 GB, free: 290 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002374/6.954, allocations: 222.2 kB / 3.169 GB, free: 289.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/6.954, allocations: 0 / 3.169 GB, free: 289.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003622/6.958, allocations: 0.8312 MB / 3.17 GB, free: 288.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/6.961, allocations: 423.4 kB / 3.171 GB, free: 288.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004703/6.966, allocations: 3.523 MB / 3.174 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/6.97, allocations: 467.1 kB / 3.174 GB, free: 284.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/6.97, allocations: 39.95 kB / 3.174 GB, free: 284.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/6.97, allocations: 5.094 kB / 3.174 GB, free: 284.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03964/7.01, allocations: 11.69 MB / 3.186 GB, free: 272.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/7.01, allocations: 0 / 3.186 GB, free: 272.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/7.013, allocations: 0.7493 MB / 3.187 GB, free: 271.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/7.015, allocations: 431.4 kB / 3.187 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006753/7.022, allocations: 6.741 MB / 3.194 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003577/7.026, allocations: 471.2 kB / 3.194 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/7.026, allocations: 35.97 kB / 3.194 GB, free: 263.7 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: adp.XADP:VARIABLE(min = 0.0 max = 1.0 ) "Humidity mass fraction of air at apparatus dew point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004581/7.026, allocations: 158.6 kB / 3.194 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01829/7.045, allocations: 2.316 MB / 3.197 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008031/7.045, allocations: 146.2 kB / 3.197 GB, free: 261.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01796/7.063, allocations: 2.173 MB / 3.199 GB, free: 258.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/7.064, allocations: 4 kB / 3.199 GB, free: 258.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/7.064, allocations: 0 / 3.199 GB, free: 258.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/7.064, allocations: 0 / 3.199 GB, free: 258.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/7.066, allocations: 1.08 MB / 3.2 GB, free: 257.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/7.066, allocations: 0 / 3.2 GB, free: 257.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/7.069, allocations: 395.5 kB / 3.2 GB, free: 257.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/7.069, allocations: 128.7 kB / 3.2 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/7.069, allocations: 19.95 kB / 3.2 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005392/7.07, allocations: 0.6109 MB / 3.201 GB, free: 256.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/7.07, allocations: 0 / 3.201 GB, free: 256.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/7.087, allocations: 2.127 MB / 3.203 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/7.089, allocations: 431.3 kB / 3.203 GB, free: 254 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008277/7.09, allocations: 15.94 kB / 3.203 GB, free: 254 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00334/7.093, allocations: 419.5 kB / 3.204 GB, free: 253.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/7.093, allocations: 27.84 kB / 3.204 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/7.093, allocations: 35.95 kB / 3.204 GB, free: 253.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003694/7.097, allocations: 1.59 MB / 3.205 GB, free: 251.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.543e-06/7.097, allocations: 0 / 3.205 GB, free: 251.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003426/7.1, allocations: 0.5621 MB / 3.206 GB, free: 251.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006558/7.107, allocations: 2.593 MB / 3.209 GB, free: 248.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008473/7.115, allocations: 2.686 MB / 3.211 GB, free: 246.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/7.115, allocations: 0 / 3.211 GB, free: 246.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006636/7.116, allocations: 443.1 kB / 3.212 GB, free: 245.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/7.119, allocations: 321.1 kB / 3.212 GB, free: 245.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/7.135, allocations: 3.703 MB / 3.216 GB, free: 241.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009656/7.136, allocations: 1.417 MB / 3.217 GB, free: 240.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003432/7.139, allocations: 1.005 MB / 3.218 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000726/7.14, allocations: 399.3 kB / 3.218 GB, free: 238.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.723e-06/7.14, allocations: 0 / 3.218 GB, free: 238.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08/7.22, allocations: 45.82 MB / 3.263 GB, free: 193 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/7.22, allocations: 167.7 kB / 3.263 GB, free: 192.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.108/11.33, allocations: 0 / 3.263 GB, free: 192.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1)