Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001406, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003542, allocations: 15.98 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7372/0.7376, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002597/0.7402, allocations: 2.407 MB / 0.9562 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.8922, allocations: 140.4 MB / 1.093 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.8925, allocations: 0 / 1.093 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.8938, allocations: 473.9 kB / 1.094 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.8949, allocations: 481.7 kB / 1.094 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.8961, allocations: 474 kB / 1.095 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009393/0.897, allocations: 1.043 MB / 1.096 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.8973, allocations: 178.6 kB / 1.096 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.8976, allocations: 418.4 kB / 1.096 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/0.8983, allocations: 0.5565 MB / 1.097 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.28e-05/0.8984, allocations: 56 kB / 1.097 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.8998, allocations: 0.8306 MB / 1.098 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.9001, allocations: 326.9 kB / 1.098 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.9003, allocations: 273 kB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.902, allocations: 2.139 MB / 1.1 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.902, allocations: 4 kB / 1.1 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.902, allocations: 3.938 kB / 1.1 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.9021, allocations: 4 kB / 1.1 GB, free: 9.676 MB / 0.8575 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.002706/0.9048, allocations: 1.82 MB / 1.102 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.9048, allocations: 12.03 kB / 1.102 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.9049, allocations: 54.48 kB / 1.102 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.9186, allocations: 2.187 MB / 1.104 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.921, allocations: 1.3 MB / 1.106 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.9211, allocations: 19.95 kB / 1.106 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.9211, allocations: 20 kB / 1.106 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.9256, allocations: 1.221 MB / 1.107 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.9256, allocations: 0 / 1.107 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.9257, allocations: 7.938 kB / 1.107 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.9257, allocations: 4 kB / 1.107 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008082/0.9338, allocations: 2.061 MB / 1.109 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008594/0.9424, allocations: 3.648 MB / 1.112 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008751/0.9512, allocations: 2.18 MB / 1.115 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004114/0.9553, allocations: 1.043 MB / 1.116 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006482/0.956, allocations: 0.5259 MB / 1.116 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004365/0.9603, allocations: 1.175 MB / 1.117 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 3.767e-06/0.9604, allocations: 0 / 1.117 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.01378/0.9741, allocations: 3.3 MB / 1.121 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.9742, allocations: 110.8 kB / 1.121 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/0.9777, allocations: 2.393 MB / 1.123 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.9779, allocations: 33.7 kB / 1.123 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/0.9784, allocations: 0.5543 MB / 1.124 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.9785, allocations: 67.02 kB / 1.124 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.9786, allocations: 4 kB / 1.124 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.9787, allocations: 329.9 kB / 1.124 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004425/0.9831, allocations: 1.171 MB / 1.125 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004417/0.9875, allocations: 1.198 MB / 1.126 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004128/0.9917, allocations: 1.095 MB / 1.127 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.9917, allocations: 4 kB / 1.127 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01063/1.002, allocations: 2.885 MB / 1.13 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.723e-05/1.002, allocations: 122.4 kB / 1.13 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.002, allocations: 7.984 kB / 1.13 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/1.006, allocations: 0.7991 MB / 1.131 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/1.008, allocations: 491.4 kB / 1.131 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008094/1.017, allocations: 7.435 MB / 1.139 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/1.02, allocations: 467 kB / 1.139 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.02, allocations: 31.97 kB / 1.139 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/1.02, allocations: 7.938 kB / 1.139 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009309/1.029, allocations: 2.604 MB / 1.142 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.029, allocations: 7.922 kB / 1.142 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/1.031, allocations: 0.6314 MB / 1.142 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/1.034, allocations: 499.4 kB / 1.143 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005178/1.039, allocations: 6.177 MB / 1.149 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/1.042, allocations: 459.2 kB / 1.149 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/1.042, allocations: 31.92 kB / 1.149 GB, free: 5.844 MB / 0.9044 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.001138/1.044, allocations: 0.6757 MB / 1.15 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004322/1.044, allocations: 138.2 kB / 1.15 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009262/1.053, allocations: 2.334 MB / 1.152 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.053, allocations: 3.953 kB / 1.152 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/1.053, allocations: 0 / 1.152 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/1.053, allocations: 0 / 1.152 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/1.055, allocations: 1.227 MB / 1.154 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.055, allocations: 0 / 1.154 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/1.057, allocations: 451.4 kB / 1.154 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.057, allocations: 0 / 1.154 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/1.057, allocations: 23.86 kB / 1.154 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.057, allocations: 4 kB / 1.154 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.057, allocations: 0 / 1.154 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008731/1.066, allocations: 2.241 MB / 1.156 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007473/1.067, allocations: 431.1 kB / 1.157 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/1.067, allocations: 8 kB / 1.157 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/1.07, allocations: 395.5 kB / 1.157 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/1.07, allocations: 27.97 kB / 1.157 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.85e-05/1.07, allocations: 27.97 kB / 1.157 GB, free: 13.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00273/1.073, allocations: 1.703 MB / 1.159 GB, free: 12.04 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/1.073, allocations: 0 / 1.159 GB, free: 12.04 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001648/1.074, allocations: 0.5428 MB / 1.159 GB, free: 11.49 MB / 0.92 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.009506/1.084, allocations: 2.932 MB / 1.162 GB, free: 8.52 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01646/1.1, allocations: 4.979 MB / 1.167 GB, free: 3.41 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.101, allocations: 0 / 1.167 GB, free: 3.41 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004517/1.105, allocations: 1.154 MB / 1.168 GB, free: 2.242 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/1.107, allocations: 324.6 kB / 1.168 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05116/1.158, allocations: 16.11 MB / 1.184 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.159, allocations: 1.391 MB / 1.186 GB, free: 44 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001837/1.161, allocations: 394.7 kB / 1.186 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008665/1.162, allocations: 435.2 kB / 1.186 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of SimCode: time 8.82e-07/1.162, allocations: 4 kB / 1.186 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/1.225, allocations: 39.7 MB / 1.225 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/1.226, allocations: 257.2 kB / 1.225 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.78, allocations: 4 kB / 1.225 GB, free: 7.652 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)