Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",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.636/1.636, allocations: 285.4 MB / 298 MB, free: 6.008 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.001101/0.001101, allocations: 172.9 kB / 366.4 MB, free: 2.086 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.535/1.535, allocations: 205.1 MB / 0.6248 GB, free: 7.703 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.0007982/0.0007981, allocations: 93.27 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.779e-05, allocations: 4 kB / 0.8584 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7051/0.7051, allocations: 115.3 MB / 0.971 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.176/5.881, allocations: 2.067 GB / 3.038 GB, free: 26.99 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/5.882, allocations: 97.42 kB / 3.038 GB, free: 26.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.972/6.854, allocations: 107.6 MB / 3.143 GB, free: 309.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.194e-06/6.854, allocations: 0 / 3.143 GB, free: 309.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001132/6.854, allocations: 22.59 kB / 3.143 GB, free: 309.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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002705/6.857, allocations: 1.397 MB / 3.144 GB, free: 308.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/6.857, allocations: 10.34 kB / 3.144 GB, free: 308.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/6.857, allocations: 47.3 kB / 3.144 GB, free: 308.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/6.872, allocations: 2.085 MB / 3.146 GB, free: 307.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004691/6.876, allocations: 1.301 MB / 3.148 GB, free: 306.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/6.877, allocations: 11.91 kB / 3.148 GB, free: 306.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/6.877, allocations: 23.72 kB / 3.148 GB, free: 306.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009938/6.878, allocations: 0.4918 MB / 3.148 GB, free: 306.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/6.878, allocations: 0 / 3.148 GB, free: 306.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/6.878, allocations: 0 / 3.148 GB, free: 306.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/6.878, allocations: 3.781 kB / 3.148 GB, free: 306.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/6.879, allocations: 0.5989 MB / 3.149 GB, free: 306.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/6.89, allocations: 3.66 MB / 3.152 GB, free: 302.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/6.891, allocations: 0.7455 MB / 3.153 GB, free: 301.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/6.892, allocations: 328.9 kB / 3.153 GB, free: 301.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/6.892, allocations: 99.47 kB / 3.153 GB, free: 301.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006141/6.893, allocations: 461.8 kB / 3.154 GB, free: 300.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 4.489e-06/6.893, allocations: 4 kB / 3.154 GB, free: 300.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.002595/6.895, allocations: 0.8656 MB / 3.155 GB, free: 300 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/6.895, allocations: 106.8 kB / 3.155 GB, free: 299.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/6.899, allocations: 2.177 MB / 3.157 GB, free: 297.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/6.9, allocations: 33.69 kB / 3.157 GB, free: 297.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000586/6.9, allocations: 0.5582 MB / 3.158 GB, free: 297.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/6.9, allocations: 71.08 kB / 3.158 GB, free: 297.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/6.9, allocations: 8 kB / 3.158 GB, free: 297.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.517e-05/6.9, allocations: 322 kB / 3.158 GB, free: 296.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006259/6.901, allocations: 440.2 kB / 3.158 GB, free: 296.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/6.902, allocations: 480.1 kB / 3.159 GB, free: 295.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/6.902, allocations: 410.7 kB / 3.159 GB, free: 295.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/6.902, allocations: 0 / 3.159 GB, free: 295.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003045/6.905, allocations: 1.422 MB / 3.161 GB, free: 294 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/6.906, allocations: 134.4 kB / 3.161 GB, free: 293.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/6.906, allocations: 0 / 3.161 GB, free: 293.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/6.908, allocations: 0.7445 MB / 3.161 GB, free: 293.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/6.911, allocations: 0.4954 MB / 3.162 GB, free: 292.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/6.914, allocations: 2.662 MB / 3.165 GB, free: 289.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/6.917, allocations: 459.1 kB / 3.165 GB, free: 289.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/6.917, allocations: 35.97 kB / 3.165 GB, free: 289.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/6.917, allocations: 4 kB / 3.165 GB, free: 289.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002103/6.92, allocations: 1.184 MB / 3.166 GB, free: 288.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/6.92, allocations: 3.984 kB / 3.166 GB, free: 288.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/6.922, allocations: 0.6399 MB / 3.167 GB, free: 287.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/6.924, allocations: 0.4915 MB / 3.167 GB, free: 287 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/6.929, allocations: 6.171 MB / 3.173 GB, free: 280.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/6.932, allocations: 455.2 kB / 3.174 GB, free: 279.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/6.932, allocations: 35.97 kB / 3.174 GB, free: 279.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.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 (36): * Single equations (assignments): 31 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003388/6.933, allocations: 154.6 kB / 3.174 GB, free: 279.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005207/6.933, allocations: 146.2 kB / 3.174 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/6.935, allocations: 0.9176 MB / 3.175 GB, free: 278.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/6.935, allocations: 4 kB / 3.175 GB, free: 278.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/6.936, allocations: 0 / 3.175 GB, free: 278.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/6.936, allocations: 0 / 3.175 GB, free: 278.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/6.938, allocations: 1.238 MB / 3.176 GB, free: 277.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/6.938, allocations: 0 / 3.176 GB, free: 277.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/6.94, allocations: 455.4 kB / 3.177 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/6.94, allocations: 0 / 3.177 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/6.94, allocations: 11.98 kB / 3.177 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/6.94, allocations: 3.984 kB / 3.177 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/6.94, allocations: 0 / 3.177 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/6.942, allocations: 0.8365 MB / 3.177 GB, free: 275.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/6.943, allocations: 435 kB / 3.178 GB, free: 275.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005077/6.944, allocations: 8 kB / 3.178 GB, free: 275.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/6.946, allocations: 395.5 kB / 3.178 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/6.947, allocations: 31.95 kB / 3.178 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.834e-05/6.947, allocations: 23.98 kB / 3.178 GB, free: 275 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003459/6.95, allocations: 1.675 MB / 3.18 GB, free: 273.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.7e-07/6.95, allocations: 0 / 3.18 GB, free: 273.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002823/6.953, allocations: 0.5895 MB / 3.181 GB, free: 272.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.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 (20): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003941/6.957, allocations: 2.272 MB / 3.183 GB, free: 270.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00405/6.961, allocations: 2.363 MB / 3.185 GB, free: 268 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/6.961, allocations: 0 / 3.185 GB, free: 268 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005467/6.962, allocations: 421.4 kB / 3.185 GB, free: 267.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/6.964, allocations: 316 kB / 3.186 GB, free: 267.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/6.982, allocations: 4.004 MB / 3.19 GB, free: 263.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/6.983, allocations: 1.418 MB / 3.191 GB, free: 261.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003879/6.987, allocations: 0.9895 MB / 3.192 GB, free: 260.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008221/6.988, allocations: 411.2 kB / 3.192 GB, free: 260.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.455e-06/6.988, allocations: 0 / 3.192 GB, free: 260.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08992/7.078, allocations: 55.19 MB / 3.246 GB, free: 205.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/7.078, allocations: 227.7 kB / 3.247 GB, free: 205.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.054/11.13, allocations: 5.422 kB / 3.247 GB, free: 205.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)