Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.386/1.386, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001014/0.001014, allocations: 172.9 kB / 325.8 MB, free: 2.719 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.617/1.617, allocations: 205 MB / 0.576 GB, free: 21.02 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.0007302/0.0007299, allocations: 95.83 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003294, allocations: 16.94 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1888, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00371/0.1926, allocations: 4.31 MB / 0.9004 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007037/0.1933, allocations: 0.8187 MB / 0.9012 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.1934, allocations: 4 kB / 0.9012 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.1935, allocations: 23.89 kB / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.378e-05/0.1936, allocations: 31.7 kB / 0.9013 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.194, allocations: 143.6 kB / 0.9014 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.1941, allocations: 167.4 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.568e-05/0.1942, allocations: 21.11 kB / 0.9016 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1944, allocations: 75.77 kB / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.1944, allocations: 71.67 kB / 0.9017 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.1945, allocations: 11.94 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.1947, allocations: 143.7 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.1947, allocations: 19.92 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.1948, allocations: 59.72 kB / 0.902 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.1951, allocations: 231.3 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1951, allocations: 0 / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1951, allocations: 0 / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1951, allocations: 4 kB / 0.9022 GB, free: 61.97 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006911/0.1958, allocations: 474.9 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1958, allocations: 12.02 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.1959, allocations: 38.75 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1959, allocations: 16.84 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.196, allocations: 180.1 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.196, allocations: 12.28 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1961, allocations: 12.38 kB / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1963, allocations: 136.4 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1964, allocations: 0 / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1964, allocations: 4 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1964, allocations: 3.984 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.1968, allocations: 167.8 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.1976, allocations: 476.4 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.1978, allocations: 134.5 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.198, allocations: 76.81 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.1991, allocations: 0.9568 MB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.1991, allocations: 38.5 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1991, allocations: 0 / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005958/0.1997, allocations: 245.3 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.1997, allocations: 51.41 kB / 0.9051 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1999, allocations: 174 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1999, allocations: 25.7 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.1999, allocations: 108.4 kB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1999, allocations: 39.39 kB / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.2, allocations: 29.7 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.2, allocations: 322.8 kB / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.2002, allocations: 91.94 kB / 0.9059 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2005, allocations: 124 kB / 0.906 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.2008, allocations: 179.4 kB / 0.9061 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2008, allocations: 0 / 0.9061 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004804/0.2013, allocations: 276.4 kB / 0.9064 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2013, allocations: 4 kB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2014, allocations: 11.88 kB / 0.9064 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2014, allocations: 96 / 0.9064 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.2016, allocations: 67.83 kB / 0.9065 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2016, allocations: 4 kB / 0.9065 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2018, allocations: 31.83 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2018, allocations: 12 kB / 0.9065 GB, free: 57.13 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.723e-05/0.2019, allocations: 125.8 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.2019, allocations: 11.81 kB / 0.9067 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/0.2024, allocations: 203.3 kB / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2024, allocations: 0 / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2024, allocations: 0 / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2024, allocations: 3.984 kB / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.2026, allocations: 209.6 kB / 0.9071 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2026, allocations: 0 / 0.9071 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.2027, allocations: 47.91 kB / 0.9071 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2027, allocations: 0 / 0.9071 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.2028, allocations: 11.88 kB / 0.9071 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2028, allocations: 0 / 0.9071 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2028, allocations: 0 / 0.9071 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.2031, allocations: 275.3 kB / 0.9074 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.2032, allocations: 96.91 kB / 0.9075 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2032, allocations: 7.938 kB / 0.9075 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2034, allocations: 27.97 kB / 0.9075 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.2034, allocations: 15.98 kB / 0.9075 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.2034, allocations: 0 / 0.9075 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.2035, allocations: 112.9 kB / 0.9076 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2035, allocations: 0 / 0.9076 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002797/0.2038, allocations: 68.31 kB / 0.9077 GB, free: 55.83 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007095/0.2045, allocations: 0.8703 MB / 0.9085 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.2049, allocations: 196 kB / 0.9087 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2049, allocations: 0 / 0.9087 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.2051, allocations: 75.89 kB / 0.9088 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.2055, allocations: 31.84 kB / 0.9088 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.2075, allocations: 2.044 MB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2077, allocations: 0.7045 MB / 0.9115 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.219e-05/0.2078, allocations: 17.52 kB / 0.9115 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.2078, allocations: 35.42 kB / 0.9116 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2078, allocations: 4 kB / 0.9116 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/0.3805, allocations: 3.889 MB / 0.9154 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.3807, allocations: 237.9 kB / 0.9156 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.034, allocations: 0 / 0.9156 GB, free: 47.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)