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.493/1.493, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001136/0.001136, allocations: 177.1 kB / 326.5 MB, free: 2.258 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.888/1.888, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008766/0.0008766, allocations: 107.7 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 12.66 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2008, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002479/0.2033, allocations: 2.325 MB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1347/0.3381, allocations: 130.6 MB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.3385, allocations: 4 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.34, allocations: 0.5882 MB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.3412, allocations: 0.4946 MB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3426, allocations: 453.8 kB / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009773/0.3436, allocations: 0.8518 MB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.3438, allocations: 170.6 kB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.3442, allocations: 378.6 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006265/0.3448, allocations: 0.4942 MB / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-05/0.3449, allocations: 36 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.3464, allocations: 0.7879 MB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.3466, allocations: 243 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.3468, allocations: 277 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.3486, allocations: 1.828 MB / 1.036 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3486, allocations: 4 kB / 1.036 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3486, allocations: 0 / 1.036 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.3486, allocations: 0 / 1.036 GB, free: 3.984 MB / 0.6823 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.003154/0.3518, allocations: 1.75 MB / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3518, allocations: 12.03 kB / 1.038 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.3519, allocations: 46.55 kB / 1.038 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.368, allocations: 2.183 MB / 1.04 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.3706, allocations: 0.9763 MB / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.3707, allocations: 12 kB / 1.041 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/0.3708, allocations: 31.95 kB / 1.041 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005358/0.3761, allocations: 1.214 MB / 1.042 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3762, allocations: 0 / 1.042 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.3762, allocations: 4 kB / 1.042 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3763, allocations: 0 / 1.042 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009754/0.386, allocations: 2.068 MB / 1.044 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009935/0.396, allocations: 3.269 MB / 1.048 GB, free: 8.117 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.4064, allocations: 2.176 MB / 1.05 GB, free: 5.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006967/0.4071, allocations: 453.4 kB / 1.05 GB, free: 5.395 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005381/0.4125, allocations: 1.18 MB / 1.051 GB, free: 4.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 4.167e-06/0.4126, allocations: 0 / 1.051 GB, free: 4.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.01644/0.429, allocations: 3.389 MB / 1.055 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.4291, allocations: 106.8 kB / 1.055 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3661/0.7953, allocations: 2.01 MB / 1.057 GB, free: 154.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/0.7955, allocations: 34.83 kB / 1.057 GB, free: 154.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/0.7962, allocations: 0.5453 MB / 1.057 GB, free: 154.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.7964, allocations: 73.61 kB / 1.057 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.7964, allocations: 6.625 kB / 1.057 GB, free: 154.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.7965, allocations: 321.2 kB / 1.058 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005238/0.8018, allocations: 1.174 MB / 1.059 GB, free: 153.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005231/0.807, allocations: 1.2 MB / 1.06 GB, free: 153.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004983/0.812, allocations: 1.089 MB / 1.061 GB, free: 153.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.8121, allocations: 3.281 kB / 1.061 GB, free: 153.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01322/0.8253, allocations: 2.882 MB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.48e-05/0.8254, allocations: 132.6 kB / 1.064 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8254, allocations: 0.9375 kB / 1.064 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00376/0.8292, allocations: 0.7703 MB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/0.8327, allocations: 0.4892 MB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009146/0.8418, allocations: 7.548 MB / 1.073 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003465/0.8453, allocations: 464 kB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.8455, allocations: 41.31 kB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.8456, allocations: 6.188 kB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01101/0.8566, allocations: 2.603 MB / 1.076 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.8567, allocations: 1.312 kB / 1.076 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/0.8587, allocations: 0.6054 MB / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/0.8618, allocations: 497.1 kB / 1.077 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004154/0.8659, allocations: 6.252 MB / 1.083 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/0.8691, allocations: 456.2 kB / 1.083 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.8693, allocations: 29.95 kB / 1.083 GB, free: 141.5 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.0009141/0.8702, allocations: 0.6709 MB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.8705, allocations: 136.8 kB / 1.084 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.8807, allocations: 2.332 MB / 1.086 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.8808, allocations: 6.031 kB / 1.086 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8808, allocations: 4.688 kB / 1.086 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.8808, allocations: 0.5312 kB / 1.086 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.8827, allocations: 1.101 MB / 1.087 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.8827, allocations: 0 / 1.087 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/0.8856, allocations: 454.4 kB / 1.088 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.8856, allocations: 0.875 kB / 1.088 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.8857, allocations: 20.47 kB / 1.088 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8857, allocations: 0 / 1.088 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8857, allocations: 1.062 kB / 1.088 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00945/0.8952, allocations: 2.263 MB / 1.09 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000777/0.896, allocations: 352.4 kB / 1.09 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.8963, allocations: 7.469 kB / 1.09 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/0.8991, allocations: 399.7 kB / 1.091 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.8992, allocations: 23.16 kB / 1.091 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.8993, allocations: 28.81 kB / 1.091 GB, free: 138.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002257/0.9016, allocations: 1.451 MB / 1.092 GB, free: 137.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9016, allocations: 0 / 1.092 GB, free: 137.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0017/0.9033, allocations: 0.5038 MB / 1.093 GB, free: 136.7 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.01013/0.9134, allocations: 2.931 MB / 1.096 GB, free: 133.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01651/0.93, allocations: 4.976 MB / 1.101 GB, free: 128.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/0.93, allocations: 0 / 1.101 GB, free: 128.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004703/0.9347, allocations: 1.151 MB / 1.102 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.9361, allocations: 302.3 kB / 1.102 GB, free: 127.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/0.9535, allocations: 5.298 MB / 1.107 GB, free: 121.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/0.9544, allocations: 1.413 MB / 1.108 GB, free: 120.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001518/0.9559, allocations: 260.6 kB / 1.109 GB, free: 120.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000714/0.9566, allocations: 415.2 kB / 1.109 GB, free: 119.8 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.9566, allocations: 4 kB / 1.109 GB, free: 119.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05142/1.008, allocations: 35.66 MB / 1.144 GB, free: 84.47 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.008, allocations: 257.9 kB / 1.144 GB, free: 84.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/4.077, allocations: 0 / 1.144 GB, free: 84.13 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)