Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",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.44/1.44, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001105/0.001105, allocations: 182.3 kB / 326.5 MB, free: 2.199 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.879/1.879, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008737/0.0008737, allocations: 86.36 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.000314, allocations: 9.719 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2234, allocations: 106.3 MB / 0.9002 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002204/0.2256, allocations: 1.87 MB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2268, allocations: 0.9837 MB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.227, allocations: 7.938 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.2272, allocations: 35.81 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.2273, allocations: 79.72 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.2277, allocations: 139.6 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.2278, allocations: 187.6 kB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2279, allocations: 36.38 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2281, allocations: 99.62 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2282, allocations: 103.5 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.2282, allocations: 8 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.2284, allocations: 87.91 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.2285, allocations: 39.83 kB / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.2285, allocations: 69.58 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.2288, allocations: 227.6 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2288, allocations: 0 / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2288, allocations: 0 / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2288, allocations: 4 kB / 0.904 GB, free: 59.77 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007871/0.2296, allocations: 0.5514 MB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2296, allocations: 8.031 kB / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.2297, allocations: 42.55 kB / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.2298, allocations: 27.67 kB / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.2301, allocations: 289.8 kB / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2302, allocations: 20.22 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.2302, allocations: 16 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.2306, allocations: 208.3 kB / 0.9051 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2306, allocations: 4 kB / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2306, allocations: 0 / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2306, allocations: 4 kB / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.231, allocations: 127.8 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.2318, allocations: 0.872 MB / 0.9061 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.2323, allocations: 223.8 kB / 0.9063 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2323, allocations: 7.984 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.2327, allocations: 216.3 kB / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/0.2327, allocations: 0 / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.000756/0.2335, allocations: 373.1 kB / 0.9069 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.2335, allocations: 118.8 kB / 0.907 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.2337, allocations: 242.5 kB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.2338, allocations: 33.7 kB / 0.9073 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.2338, allocations: 144.5 kB / 0.9074 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.2339, allocations: 59.27 kB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.2339, allocations: 8 kB / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.234, allocations: 346.8 kB / 0.9078 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.2342, allocations: 80.77 kB / 0.9079 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.2344, allocations: 263.8 kB / 0.9082 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.2347, allocations: 149.6 kB / 0.9083 GB, free: 55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2347, allocations: 0 / 0.9083 GB, free: 55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006295/0.2353, allocations: 418.8 kB / 0.9087 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.2354, allocations: 37.69 kB / 0.9087 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.2354, allocations: 8.391 kB / 0.9087 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.2354, allocations: 8 kB / 0.9087 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.2356, allocations: 72.12 kB / 0.9088 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.2356, allocations: 12 kB / 0.9088 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.2359, allocations: 47.61 kB / 0.9089 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.2359, allocations: 23.98 kB / 0.9089 GB, free: 54.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.0001138/0.236, allocations: 155.9 kB / 0.909 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.2361, allocations: 35.56 kB / 0.9091 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.2361, allocations: 33.7 kB / 0.9091 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2361, allocations: 4 kB / 0.9091 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2361, allocations: 0 / 0.9091 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.2361, allocations: 3.984 kB / 0.9091 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.2364, allocations: 253.5 kB / 0.9094 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2364, allocations: 4 kB / 0.9094 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.2365, allocations: 27.91 kB / 0.9094 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2365, allocations: 0 / 0.9094 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.2365, allocations: 19.94 kB / 0.9094 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2365, allocations: 7.984 kB / 0.9094 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2365, allocations: 0 / 0.9094 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.2373, allocations: 461 kB / 0.9099 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.2373, allocations: 105.1 kB / 0.91 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.2374, allocations: 12.23 kB / 0.91 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2375, allocations: 19.98 kB / 0.91 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.2376, allocations: 23.97 kB / 0.91 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.2377, allocations: 19.92 kB / 0.91 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001107/0.2378, allocations: 166 kB / 0.9102 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2378, allocations: 0 / 0.9102 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003634/0.2381, allocations: 79.98 kB / 0.9103 GB, free: 52.85 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001154/0.2393, allocations: 1.194 MB / 0.9114 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005432/0.2399, allocations: 315.1 kB / 0.9117 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2399, allocations: 1.438 kB / 0.9117 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.2401, allocations: 107.9 kB / 0.9118 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2404, allocations: 52.52 kB / 0.9119 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.2424, allocations: 5.002 MB / 0.9168 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.2426, allocations: 0.7485 MB / 0.9175 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.2427, allocations: 50.94 kB / 0.9175 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.2428, allocations: 67.42 kB / 0.9176 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of SimCode: time 1.182e-06/0.2428, allocations: 4 kB / 0.9176 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.2594, allocations: 5.924 MB / 0.9234 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.2596, allocations: 232.3 kB / 0.9236 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.236, allocations: 2.531 kB / 0.9236 GB, free: 39.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)