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.36/1.36, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009387/0.000939, allocations: 175.2 kB / 327 MB, free: 2.121 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.542/1.542, allocations: 205.4 MB / 0.578 GB, free: 20.44 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.0008041/0.0008041, allocations: 90.73 kB / 0.6826 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 8.5 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 106.3 MB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002843/0.2062, allocations: 2.036 MB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.208, allocations: 1.038 MB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.2082, allocations: 7.938 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.2085, allocations: 39.77 kB / 0.904 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.2088, allocations: 75.41 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.2094, allocations: 134.8 kB / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.2097, allocations: 274.8 kB / 0.9044 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2098, allocations: 36.38 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.21, allocations: 103.5 kB / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2102, allocations: 99.53 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.2102, allocations: 15.94 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.2105, allocations: 103.8 kB / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.2106, allocations: 39.83 kB / 0.9048 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.2107, allocations: 133.2 kB / 0.9049 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.2111, allocations: 303.1 kB / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2111, allocations: 0 / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2111, allocations: 0 / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.2112, allocations: 4 kB / 0.9052 GB, free: 59.3 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.0008833/0.212, allocations: 0.5477 MB / 0.9058 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2121, allocations: 12.02 kB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.2122, allocations: 42.73 kB / 0.9058 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.2122, allocations: 28.66 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.2126, allocations: 294.9 kB / 0.9061 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.2126, allocations: 16.59 kB / 0.9061 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.2127, allocations: 24.38 kB / 0.9062 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.213, allocations: 208.5 kB / 0.9064 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.213, allocations: 3.938 kB / 0.9064 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.2131, allocations: 4 kB / 0.9064 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2131, allocations: 3.938 kB / 0.9064 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.2134, allocations: 123.8 kB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.2143, allocations: 0.8761 MB / 0.9074 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.2147, allocations: 215.9 kB / 0.9076 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.2149, allocations: 90.61 kB / 0.9076 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.2149, allocations: 7.969 kB / 0.9077 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003844/0.2153, allocations: 207.7 kB / 0.9079 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.2153, allocations: 4 kB / 0.9079 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0007868/0.2161, allocations: 385.1 kB / 0.9082 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.2162, allocations: 114.8 kB / 0.9083 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.2163, allocations: 242.5 kB / 0.9086 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.2164, allocations: 45.64 kB / 0.9086 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.2165, allocations: 140.5 kB / 0.9087 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.2165, allocations: 63.19 kB / 0.9088 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.2165, allocations: 8 kB / 0.9088 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.2166, allocations: 346.8 kB / 0.9091 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.2168, allocations: 80.77 kB / 0.9092 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.2171, allocations: 259.9 kB / 0.9095 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.2175, allocations: 400.5 kB / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.2176, allocations: 7.984 kB / 0.9099 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000636/0.2182, allocations: 414.6 kB / 0.9103 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.2182, allocations: 33.7 kB / 0.9103 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2183, allocations: 4.531 kB / 0.9103 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.2183, allocations: 15.98 kB / 0.9103 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.2185, allocations: 71.84 kB / 0.9104 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2185, allocations: 15.88 kB / 0.9104 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.2187, allocations: 43.67 kB / 0.9104 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.2188, allocations: 20 kB / 0.9104 GB, free: 53.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.2189, allocations: 163.9 kB / 0.9106 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.2189, allocations: 23.72 kB / 0.9106 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.219, allocations: 29.7 kB / 0.9107 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.219, allocations: 4.375 kB / 0.9107 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.219, allocations: 3.938 kB / 0.9107 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.219, allocations: 0 / 0.9107 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.2192, allocations: 265.4 kB / 0.9109 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2192, allocations: 7.938 kB / 0.9109 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2194, allocations: 27.97 kB / 0.911 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2194, allocations: 0 / 0.911 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.2194, allocations: 4 kB / 0.911 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2194, allocations: 7.938 kB / 0.911 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2194, allocations: 7.922 kB / 0.911 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.2201, allocations: 441.5 kB / 0.9114 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.2202, allocations: 104.8 kB / 0.9115 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.2203, allocations: 8 kB / 0.9115 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.2204, allocations: 23.97 kB / 0.9115 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.2205, allocations: 23.91 kB / 0.9115 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.2205, allocations: 11.98 kB / 0.9116 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001056/0.2206, allocations: 166 kB / 0.9117 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2206, allocations: 4 kB / 0.9117 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003582/0.221, allocations: 83.94 kB / 0.9118 GB, free: 51.98 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 (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.001123/0.2221, allocations: 1.037 MB / 0.9128 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005088/0.2227, allocations: 303.2 kB / 0.9131 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2227, allocations: 0 / 0.9131 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.2229, allocations: 117.2 kB / 0.9132 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.2233, allocations: 62.28 kB / 0.9133 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.2266, allocations: 3.174 MB / 0.9164 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2268, allocations: 0.7405 MB / 0.9171 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.2269, allocations: 54.92 kB / 0.9171 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.961e-05/0.227, allocations: 71.41 kB / 0.9172 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of SimCode: time 5.92e-07/0.227, allocations: 0 / 0.9172 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.2435, allocations: 6.056 MB / 0.9231 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.2437, allocations: 263.3 kB / 0.9234 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.418, allocations: 2.062 kB / 0.9234 GB, free: 40.02 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)