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.453/1.453, allocations: 252 MB / 267 MB, free: 10.99 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.0009826/0.0009825, allocations: 184.2 kB / 326.6 MB, free: 2.23 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.538/1.538, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0007379/0.0007379, allocations: 84.08 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004095, allocations: 11.91 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2173, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002552/0.2199, allocations: 2.433 MB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1532/0.3731, allocations: 140.4 MB / 1.04 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.3737, allocations: 11.94 kB / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.3756, allocations: 470.2 kB / 1.04 GB, free: 24 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.3777, allocations: 489.6 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.3794, allocations: 470.7 kB / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.3808, allocations: 1.049 MB / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.3812, allocations: 182.6 kB / 1.042 GB, free: 13.83 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.3817, allocations: 418.4 kB / 1.043 GB, free: 13.42 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008341/0.3825, allocations: 0.5526 MB / 1.043 GB, free: 12.87 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.3826, allocations: 56 kB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.3847, allocations: 0.8266 MB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.385, allocations: 326.9 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.3853, allocations: 277 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.3877, allocations: 2.135 MB / 1.047 GB, free: 9.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3878, allocations: 0 / 1.047 GB, free: 9.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3878, allocations: 4 kB / 1.047 GB, free: 9.246 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.3878, allocations: 0 / 1.047 GB, free: 9.246 MB / 0.698 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.003706/0.3915, allocations: 1.82 MB / 1.049 GB, free: 7.363 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.3916, allocations: 15.97 kB / 1.049 GB, free: 7.348 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.572e-05/0.3917, allocations: 50.48 kB / 1.049 GB, free: 7.289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01584/0.4075, allocations: 2.187 MB / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.4104, allocations: 1.297 MB / 1.052 GB, free: 3.754 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.4105, allocations: 19.94 kB / 1.052 GB, free: 3.734 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/0.4106, allocations: 27.95 kB / 1.052 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00535/0.4159, allocations: 1.218 MB / 1.053 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.416, allocations: 0 / 1.053 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.416, allocations: 4 kB / 1.053 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4161, allocations: 4 kB / 1.053 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009756/0.4258, allocations: 2.061 MB / 1.055 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4438/0.8696, allocations: 3.65 MB / 1.059 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.88, allocations: 2.167 MB / 1.061 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006069/0.8861, allocations: 1.043 MB / 1.062 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009545/0.8872, allocations: 0.5288 MB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00906/0.8962, allocations: 1.176 MB / 1.064 GB, free: 152.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 4.519e-06/0.8963, allocations: 0.8438 kB / 1.064 GB, free: 152.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.03156/0.9279, allocations: 3.301 MB / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.928, allocations: 113.1 kB / 1.067 GB, free: 152.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007142/0.9352, allocations: 2.392 MB / 1.069 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.9355, allocations: 36.64 kB / 1.069 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007828/0.9363, allocations: 0.552 MB / 1.07 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.9364, allocations: 69.08 kB / 1.07 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.9366, allocations: 9.156 kB / 1.07 GB, free: 152.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.9367, allocations: 322.2 kB / 1.07 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007573/0.9442, allocations: 1.169 MB / 1.072 GB, free: 151.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005601/0.9499, allocations: 1.205 MB / 1.073 GB, free: 151.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/0.9549, allocations: 1.093 MB / 1.074 GB, free: 150.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.955, allocations: 3.953 kB / 1.074 GB, free: 150.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01281/0.9678, allocations: 2.878 MB / 1.077 GB, free: 149.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.9679, allocations: 129.6 kB / 1.077 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.968, allocations: 1.312 kB / 1.077 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/0.9717, allocations: 0.7989 MB / 1.077 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/0.975, allocations: 0.4896 MB / 1.078 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008764/0.9838, allocations: 7.433 MB / 1.085 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/0.9875, allocations: 468.4 kB / 1.086 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.9878, allocations: 33.06 kB / 1.086 GB, free: 143.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.9878, allocations: 3.344 kB / 1.086 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0108/0.9986, allocations: 2.603 MB / 1.088 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.9987, allocations: 4 kB / 1.088 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/1.001, allocations: 0.6242 MB / 1.089 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/1.004, allocations: 0.4912 MB / 1.089 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004315/1.008, allocations: 6.194 MB / 1.095 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/1.012, allocations: 448.4 kB / 1.096 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/1.012, allocations: 31.98 kB / 1.096 GB, free: 133.6 MB / 0.698 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.001189/1.013, allocations: 0.6733 MB / 1.097 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005725/1.014, allocations: 138.2 kB / 1.097 GB, free: 132.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/1.024, allocations: 2.329 MB / 1.099 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.024, allocations: 0 / 1.099 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.024, allocations: 0 / 1.099 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.024, allocations: 4 kB / 1.099 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/1.026, allocations: 1.24 MB / 1.1 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.026, allocations: 0 / 1.1 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/1.029, allocations: 451.4 kB / 1.101 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/1.029, allocations: 7.953 kB / 1.101 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-05/1.029, allocations: 19.97 kB / 1.101 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/1.029, allocations: 0 / 1.101 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.029, allocations: 0 / 1.101 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00988/1.039, allocations: 2.248 MB / 1.103 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009395/1.04, allocations: 420.9 kB / 1.103 GB, free: 125.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/1.04, allocations: 8 kB / 1.103 GB, free: 125.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/1.044, allocations: 403.4 kB / 1.104 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.044, allocations: 26.55 kB / 1.104 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/1.044, allocations: 27.91 kB / 1.104 GB, free: 125.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002936/1.047, allocations: 1.711 MB / 1.105 GB, free: 123.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/1.047, allocations: 0 / 1.105 GB, free: 123.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002198/1.049, allocations: 0.5383 MB / 1.106 GB, free: 123.3 MB / 0.698 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.0107/1.06, allocations: 2.93 MB / 1.109 GB, free: 120.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01732/1.077, allocations: 4.979 MB / 1.114 GB, free: 115.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.077, allocations: 0 / 1.114 GB, free: 115.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005317/1.082, allocations: 1.143 MB / 1.115 GB, free: 114 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.085, allocations: 328.8 kB / 1.115 GB, free: 113.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05422/1.139, allocations: 16.12 MB / 1.131 GB, free: 97.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008992/1.14, allocations: 1.391 MB / 1.132 GB, free: 95.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00198/1.142, allocations: 390.7 kB / 1.132 GB, free: 95.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008894/1.143, allocations: 427.2 kB / 1.133 GB, free: 95.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.143, allocations: 4 kB / 1.133 GB, free: 95.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05406/1.197, allocations: 39.71 MB / 1.172 GB, free: 55.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/1.197, allocations: 265.1 kB / 1.172 GB, free: 55.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/4.004, allocations: 3.094 kB / 1.172 GB, free: 55.34 MB / 0.698 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)