Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 288.4 MB / 303.3 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000946/0.0009461, allocations: 186.2 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007905/0.0007904, allocations: 101.1 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 12.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2249, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002252/0.2272, allocations: 1.952 MB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2283, allocations: 0.984 MB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.2285, allocations: 7.938 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.2286, allocations: 39.77 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.2288, allocations: 67.47 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.2291, allocations: 127.7 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.2293, allocations: 266.8 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2294, allocations: 32.34 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.2295, allocations: 103.5 kB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2297, allocations: 99.53 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.2297, allocations: 12 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.2299, allocations: 95.89 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.23, allocations: 35.84 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.23, allocations: 77.52 kB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.2303, allocations: 215.5 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2303, allocations: 7.984 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2303, allocations: 0 / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2303, allocations: 3.938 kB / 0.9837 GB, free: 23.43 MB / 0.6198 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.000751/0.2311, allocations: 0.5485 MB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2311, allocations: 12.02 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.2312, allocations: 46.55 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.2312, allocations: 35.61 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.2316, allocations: 285.8 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2316, allocations: 12.23 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.2317, allocations: 23.98 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.232, allocations: 210.1 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2321, allocations: 0 / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.2321, allocations: 8 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2321, allocations: 4 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.2324, allocations: 127.8 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/0.2332, allocations: 0.8763 MB / 0.9858 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.2337, allocations: 219.8 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.2339, allocations: 82.61 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2339, allocations: 4 kB / 0.9861 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003982/0.2343, allocations: 212.8 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.2343, allocations: 4 kB / 0.9863 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0007744/0.2351, allocations: 373 kB / 0.9866 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.2352, allocations: 122.8 kB / 0.9868 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.2353, allocations: 246.5 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.2354, allocations: 37.7 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.2354, allocations: 140.6 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.2355, allocations: 63.19 kB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.2355, allocations: 4 kB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/0.2356, allocations: 346.8 kB / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.2358, allocations: 84.77 kB / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.236, allocations: 266.9 kB / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.2363, allocations: 141.6 kB / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2363, allocations: 7.938 kB / 0.988 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005933/0.2369, allocations: 411.4 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.2369, allocations: 37.66 kB / 0.9885 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2369, allocations: 12.23 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.237, allocations: 8 kB / 0.9885 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.2372, allocations: 75.78 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.2372, allocations: 11.94 kB / 0.9886 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.2374, allocations: 47.83 kB / 0.9886 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.2374, allocations: 23.98 kB / 0.9886 GB, free: 17.92 MB / 0.6198 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.0001147/0.2376, allocations: 159.9 kB / 0.9888 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.2376, allocations: 23.72 kB / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.2376, allocations: 33.66 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2377, allocations: 0 / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2377, allocations: 4 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2377, allocations: 3.984 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.2379, allocations: 265.4 kB / 0.9891 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2379, allocations: 0 / 0.9891 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.238, allocations: 27.97 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.238, allocations: 0 / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.238, allocations: 8 kB / 0.9891 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2381, allocations: 11.94 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2381, allocations: 4 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007331/0.2388, allocations: 426.2 kB / 0.9896 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.2389, allocations: 104.8 kB / 0.9897 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.2389, allocations: 12.03 kB / 0.9897 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2391, allocations: 23.97 kB / 0.9897 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.2391, allocations: 27.91 kB / 0.9897 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.2392, allocations: 15.98 kB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.967e-05/0.2393, allocations: 166 kB / 0.9899 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2393, allocations: 0 / 0.9899 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003462/0.2396, allocations: 83.92 kB / 0.99 GB, free: 16.45 MB / 0.6198 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.001072/0.2407, allocations: 1.036 MB / 0.991 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005153/0.2412, allocations: 304.3 kB / 0.9913 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2412, allocations: 0 / 0.9913 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.2415, allocations: 115.8 kB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.2418, allocations: 64.91 kB / 0.9914 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.2443, allocations: 1.798 MB / 0.9932 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.2444, allocations: 0.7524 MB / 0.9939 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.2446, allocations: 50.88 kB / 0.994 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.2447, allocations: 75.36 kB / 0.9941 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.2447, allocations: 0 / 0.9941 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.2607, allocations: 6.037 MB / 0.9999 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.2609, allocations: 249.1 kB / 1 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.422, allocations: 0 / 1 GB, free: 6.031 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)