Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.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.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.671/2.671, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001483/0.001482, allocations: 180.8 kB / 360.6 MB, free: 7.301 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.046/2.046, 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.001066/0.001065, allocations: 91.28 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.734e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8034, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.062/6.866, allocations: 2.066 GB / 3.029 GB, free: 52.61 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/6.866, allocations: 95.25 kB / 3.03 GB, free: 52.56 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.016/7.882, allocations: 92.56 MB / 3.12 GB, free: 317.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.984e-06/7.882, allocations: 0 / 3.12 GB, free: 317.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.496e-05/7.882, allocations: 21.69 kB / 3.12 GB, free: 317.7 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.00426/7.887, allocations: 1.407 MB / 3.121 GB, free: 316.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/7.887, allocations: 11.12 kB / 3.121 GB, free: 316.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02863/7.915, allocations: 2.176 MB / 3.123 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004967/7.92, allocations: 1.313 MB / 3.125 GB, free: 316 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/7.92, allocations: 8.125 kB / 3.125 GB, free: 316 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/7.921, allocations: 12.38 kB / 3.125 GB, free: 316 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001657/7.922, allocations: 0.5815 MB / 3.125 GB, free: 315.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/7.924, allocations: 0.4884 MB / 3.126 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/7.924, allocations: 0 / 3.126 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.746e-05/7.924, allocations: 4.594 kB / 3.126 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/7.924, allocations: 1.938 kB / 3.126 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01858/7.942, allocations: 3.324 MB / 3.129 GB, free: 314.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/7.944, allocations: 0.7324 MB / 3.13 GB, free: 314.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/7.945, allocations: 320.4 kB / 3.13 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.024e-05/7.945, allocations: 4.25 kB / 3.13 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/7.946, allocations: 487.4 kB / 3.131 GB, free: 313.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 3.547e-06/7.946, allocations: 7.984 kB / 3.131 GB, free: 313.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.03995/7.986, allocations: 2.386 MB / 3.133 GB, free: 313.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/7.987, allocations: 140.2 kB / 3.133 GB, free: 313.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00507/7.992, allocations: 2.091 MB / 3.135 GB, free: 312.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/7.992, allocations: 27.11 kB / 3.135 GB, free: 312.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007515/7.993, allocations: 0.5472 MB / 3.136 GB, free: 312 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/7.993, allocations: 55.41 kB / 3.136 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/7.993, allocations: 4.781 kB / 3.136 GB, free: 311.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/7.993, allocations: 323.6 kB / 3.136 GB, free: 311.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/7.994, allocations: 467 kB / 3.136 GB, free: 311.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/7.996, allocations: 0.4918 MB / 3.137 GB, free: 311.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.046/8.042, allocations: 9.748 MB / 3.146 GB, free: 310.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/8.042, allocations: 0 / 3.146 GB, free: 310.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.08051/8.122, allocations: 11.96 MB / 3.158 GB, free: 307.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/8.122, allocations: 222.8 kB / 3.158 GB, free: 307.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/8.122, allocations: 0 / 3.158 GB, free: 307.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005313/8.128, allocations: 0.8205 MB / 3.159 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004737/8.132, allocations: 433.9 kB / 3.16 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007691/8.14, allocations: 3.518 MB / 3.163 GB, free: 303.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006579/8.147, allocations: 472.3 kB / 3.163 GB, free: 303.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/8.147, allocations: 42.61 kB / 3.163 GB, free: 303.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/8.147, allocations: 3.938 kB / 3.163 GB, free: 303.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07859/8.226, allocations: 11.69 MB / 3.175 GB, free: 296.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/8.226, allocations: 0 / 3.175 GB, free: 296.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/8.23, allocations: 0.7495 MB / 3.176 GB, free: 295.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004718/8.234, allocations: 438.9 kB / 3.176 GB, free: 295.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/8.245, allocations: 6.739 MB / 3.183 GB, free: 287.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006443/8.251, allocations: 455.3 kB / 3.183 GB, free: 287.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/8.252, allocations: 43.95 kB / 3.183 GB, free: 287.5 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.0004276/8.252, allocations: 151.2 kB / 3.183 GB, free: 287.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03709/8.289, allocations: 2.309 MB / 3.185 GB, free: 285 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008248/8.29, allocations: 138.3 kB / 3.186 GB, free: 284.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03552/8.326, allocations: 2.187 MB / 3.188 GB, free: 282.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/8.326, allocations: 4 kB / 3.188 GB, free: 282.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/8.326, allocations: 0 / 3.188 GB, free: 282.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/8.326, allocations: 4 kB / 3.188 GB, free: 282.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/8.328, allocations: 1.064 MB / 3.189 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/8.328, allocations: 0 / 3.189 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004368/8.333, allocations: 391.5 kB / 3.189 GB, free: 281.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006362/8.333, allocations: 129.3 kB / 3.189 GB, free: 281.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/8.334, allocations: 19.97 kB / 3.189 GB, free: 281.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008047/8.334, allocations: 0.6206 MB / 3.19 GB, free: 280.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/8.334, allocations: 0 / 3.19 GB, free: 280.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03531/8.37, allocations: 2.119 MB / 3.192 GB, free: 278.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/8.371, allocations: 439.1 kB / 3.192 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004444/8.372, allocations: 4 kB / 3.192 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00599/8.378, allocations: 413.9 kB / 3.193 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/8.378, allocations: 27.72 kB / 3.193 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/8.378, allocations: 35.95 kB / 3.193 GB, free: 277.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003631/8.382, allocations: 1.594 MB / 3.194 GB, free: 275.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.82e-07/8.382, allocations: 0 / 3.194 GB, free: 275.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0031/8.385, allocations: 0.5583 MB / 3.195 GB, free: 275.2 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.006797/8.392, allocations: 2.61 MB / 3.198 GB, free: 272.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01479/8.407, allocations: 2.689 MB / 3.2 GB, free: 269.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/8.407, allocations: 0 / 3.2 GB, free: 269.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/8.408, allocations: 449.1 kB / 3.201 GB, free: 269.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/8.411, allocations: 311 kB / 3.201 GB, free: 269.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/8.438, allocations: 3.71 MB / 3.204 GB, free: 265.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/8.439, allocations: 1.405 MB / 3.206 GB, free: 264 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005765/8.445, allocations: 1.01 MB / 3.207 GB, free: 263 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/8.446, allocations: 407.3 kB / 3.207 GB, free: 262.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.343e-06/8.446, allocations: 4 kB / 3.207 GB, free: 262.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/8.576, allocations: 45.8 MB / 3.252 GB, free: 217 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/8.577, allocations: 176 kB / 3.252 GB, free: 216.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.502/13.08, allocations: 0 / 3.252 GB, free: 216.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1)