Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 189.2 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008999/0.0008999, allocations: 96.47 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 8.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2453, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.853/5.098, allocations: 2.185 GB / 3.086 GB, free: 35.24 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/5.099, allocations: 104.8 kB / 3.086 GB, free: 35.14 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.741/5.84, allocations: 107.6 MB / 3.191 GB, free: 291.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.693e-06/5.84, allocations: 0 / 3.191 GB, free: 291.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.084e-05/5.84, allocations: 16 kB / 3.191 GB, free: 291.4 MB / 0.8855 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.003278/5.843, allocations: 1.895 MB / 3.193 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/5.843, allocations: 12.03 kB / 3.193 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/5.843, allocations: 50.48 kB / 3.193 GB, free: 289.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/5.857, allocations: 2.086 MB / 3.195 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/5.86, allocations: 1.324 MB / 3.196 GB, free: 286 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/5.861, allocations: 12 kB / 3.196 GB, free: 286 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/5.861, allocations: 28 kB / 3.196 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/5.865, allocations: 1.226 MB / 3.197 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/5.865, allocations: 0 / 3.197 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/5.865, allocations: 8 kB / 3.197 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/5.865, allocations: 4 kB / 3.197 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008313/5.874, allocations: 2.065 MB / 3.199 GB, free: 282.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009989/5.884, allocations: 3.656 MB / 3.203 GB, free: 278.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009133/5.893, allocations: 2.169 MB / 3.205 GB, free: 276.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/5.893, allocations: 97.09 kB / 3.205 GB, free: 276.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004644/5.898, allocations: 1.185 MB / 3.206 GB, free: 275.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 3.326e-06/5.898, allocations: 0 / 3.206 GB, free: 275.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.01455/5.912, allocations: 3.413 MB / 3.21 GB, free: 271.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/5.913, allocations: 106.8 kB / 3.21 GB, free: 271.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/5.916, allocations: 2.205 MB / 3.212 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002409/5.916, allocations: 37.7 kB / 3.212 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/5.917, allocations: 0.5582 MB / 3.212 GB, free: 268.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.472e-05/5.917, allocations: 67.02 kB / 3.212 GB, free: 268.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/5.917, allocations: 4 kB / 3.212 GB, free: 268.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/5.917, allocations: 329.9 kB / 3.213 GB, free: 268.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00456/5.921, allocations: 1.175 MB / 3.214 GB, free: 267.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004579/5.926, allocations: 1.202 MB / 3.215 GB, free: 266.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004307/5.93, allocations: 1.095 MB / 3.216 GB, free: 265 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/5.93, allocations: 0 / 3.216 GB, free: 265 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01064/5.941, allocations: 2.861 MB / 3.219 GB, free: 262.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/5.941, allocations: 126.4 kB / 3.219 GB, free: 262 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/5.941, allocations: 0 / 3.219 GB, free: 262 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/5.944, allocations: 0.7523 MB / 3.22 GB, free: 261.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/5.947, allocations: 499.4 kB / 3.22 GB, free: 260.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/5.949, allocations: 2.673 MB / 3.223 GB, free: 258 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/5.953, allocations: 463.2 kB / 3.223 GB, free: 257.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/5.953, allocations: 39.97 kB / 3.223 GB, free: 257.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/5.953, allocations: 4 kB / 3.223 GB, free: 257.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009587/5.962, allocations: 2.627 MB / 3.226 GB, free: 254.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/5.962, allocations: 0 / 3.226 GB, free: 254.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/5.964, allocations: 0.6355 MB / 3.227 GB, free: 254.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/5.967, allocations: 0.4915 MB / 3.227 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004381/5.972, allocations: 6.241 MB / 3.233 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/5.976, allocations: 451.2 kB / 3.234 GB, free: 246.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/5.976, allocations: 35.97 kB / 3.234 GB, free: 246.4 MB / 0.8855 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 () * Number of clocked 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.001635/5.977, allocations: 0.6726 MB / 3.234 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/5.978, allocations: 138.3 kB / 3.234 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/5.988, allocations: 2.347 MB / 3.237 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/5.988, allocations: 4 kB / 3.237 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/5.988, allocations: 0 / 3.237 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/5.988, allocations: 3.984 kB / 3.237 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/5.991, allocations: 1.227 MB / 3.238 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/5.991, allocations: 3.953 kB / 3.238 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/5.993, allocations: 447.5 kB / 3.238 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/5.993, allocations: 0 / 3.238 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/5.993, allocations: 19.97 kB / 3.238 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/5.993, allocations: 3.938 kB / 3.238 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.993, allocations: 3.938 kB / 3.238 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008927/6.002, allocations: 2.267 MB / 3.241 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/6.004, allocations: 427.1 kB / 3.241 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004382/6.004, allocations: 12 kB / 3.241 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/6.007, allocations: 399.5 kB / 3.241 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/6.007, allocations: 23.95 kB / 3.241 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/6.007, allocations: 27.98 kB / 3.241 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003034/6.01, allocations: 1.707 MB / 3.243 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.02e-07/6.01, allocations: 0 / 3.243 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002544/6.013, allocations: 0.5896 MB / 3.244 GB, free: 236 MB / 0.8855 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) * Number of clocked states: 0 () * 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.01101/6.024, allocations: 3.69 MB / 3.247 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0151/6.039, allocations: 4.514 MB / 3.252 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.006e-05/6.039, allocations: 0 / 3.252 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004426/6.043, allocations: 1.149 MB / 3.253 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/6.045, allocations: 325.1 kB / 3.253 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/6.068, allocations: 5.899 MB / 3.259 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/6.069, allocations: 1.411 MB / 3.26 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001977/6.071, allocations: 394.7 kB / 3.261 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/6.072, allocations: 439.2 kB / 3.261 GB, free: 218 MB / 0.8855 GB Notification: Performance of SimCode: time 1.753e-06/6.072, allocations: 4 kB / 3.261 GB, free: 218 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08501/6.158, allocations: 50.06 MB / 3.31 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/6.158, allocations: 258.9 kB / 3.31 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.749/9.906, allocations: 0 / 3.31 GB, free: 167.9 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)