Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007971/0.0007971, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005104/0.005104, allocations: 170.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005005, allocations: 20.66 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2013, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002546/0.2039, allocations: 2.025 MB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2054, allocations: 1.034 MB / 0.7909 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2056, allocations: 7.938 kB / 0.7909 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.2058, allocations: 39.75 kB / 0.7909 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.2059, allocations: 75.41 kB / 0.791 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.2063, allocations: 139.7 kB / 0.7911 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.2066, allocations: 274.8 kB / 0.7914 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.2067, allocations: 32.62 kB / 0.7914 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.2069, allocations: 103.5 kB / 0.7915 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.2071, allocations: 103.5 kB / 0.7916 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.2071, allocations: 12 kB / 0.7916 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.2074, allocations: 99.84 kB / 0.7917 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.2074, allocations: 39.83 kB / 0.7918 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2075, allocations: 133.1 kB / 0.7919 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.2079, allocations: 303 kB / 0.7922 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2079, allocations: 4 kB / 0.7922 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2079, allocations: 0 / 0.7922 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2079, allocations: 0 / 0.7922 GB, free: 7.133 MB / 0.6075 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.0008488/0.2088, allocations: 0.5515 MB / 0.7927 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2088, allocations: 8.031 kB / 0.7927 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.2089, allocations: 32.66 kB / 0.7928 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.2093, allocations: 287 kB / 0.793 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.2093, allocations: 16.59 kB / 0.7931 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.2094, allocations: 24.28 kB / 0.7931 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.2098, allocations: 212.6 kB / 0.7933 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2098, allocations: 3.938 kB / 0.7933 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.2099, allocations: 8 kB / 0.7933 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2099, allocations: 4 kB / 0.7933 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.2102, allocations: 123.8 kB / 0.7934 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000991/0.2112, allocations: 0.8723 MB / 0.7943 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.2117, allocations: 215.9 kB / 0.7945 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.212, allocations: 94.59 kB / 0.7946 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.212, allocations: 0 / 0.7946 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004358/0.2124, allocations: 205.8 kB / 0.7948 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.2124, allocations: 0 / 0.7948 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.000907/0.2134, allocations: 381 kB / 0.7951 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.2134, allocations: 114.8 kB / 0.7952 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.2137, allocations: 254.4 kB / 0.7955 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.2137, allocations: 45.64 kB / 0.7955 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.2138, allocations: 140.5 kB / 0.7957 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.2139, allocations: 67.19 kB / 0.7957 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.214, allocations: 45.62 kB / 0.7958 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2141, allocations: 338.8 kB / 0.7961 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.2143, allocations: 92.75 kB / 0.7962 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.2147, allocations: 263 kB / 0.7964 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.2153, allocations: 392.5 kB / 0.7968 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.2153, allocations: 4 kB / 0.7968 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007664/0.216, allocations: 414.6 kB / 0.7972 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.2161, allocations: 34.3 kB / 0.7972 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2161, allocations: 4 kB / 0.7972 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2161, allocations: 12 kB / 0.7972 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.2164, allocations: 75.83 kB / 0.7973 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.2164, allocations: 16.27 kB / 0.7973 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.2166, allocations: 47.64 kB / 0.7974 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.2167, allocations: 16 kB / 0.7974 GB, free: 1.297 MB / 0.6075 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 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * 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.0001579/0.2168, allocations: 164 kB / 0.7975 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.2169, allocations: 31.91 kB / 0.7976 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.2169, allocations: 21.7 kB / 0.7976 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.217, allocations: 4 kB / 0.7976 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.217, allocations: 7.938 kB / 0.7976 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.217, allocations: 0 / 0.7976 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.2173, allocations: 273.3 kB / 0.7979 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2173, allocations: 0 / 0.7979 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.2174, allocations: 27.98 kB / 0.7979 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2174, allocations: 4 kB / 0.7979 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.2175, allocations: 7.984 kB / 0.7979 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2175, allocations: 0 / 0.7979 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2175, allocations: 3.938 kB / 0.7979 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.2184, allocations: 449.5 kB / 0.7983 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.2184, allocations: 100.9 kB / 0.7984 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.2185, allocations: 8.375 kB / 0.7984 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.2187, allocations: 23.97 kB / 0.7985 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.2188, allocations: 28 kB / 0.7985 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.2188, allocations: 7.984 kB / 0.7985 GB, free: 60 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001597/0.219, allocations: 173.9 kB / 0.7987 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.219, allocations: 4 kB / 0.7987 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004022/0.2194, allocations: 87.92 kB / 0.7988 GB, free: 15.8 MB / 0.6231 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.000333/0.2197, allocations: 160.8 kB / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006369/0.2204, allocations: 324.2 kB / 0.7992 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2204, allocations: 0 / 0.7992 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.2206, allocations: 107.9 kB / 0.7993 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.2211, allocations: 60.66 kB / 0.7994 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2223, allocations: 0.7217 MB / 0.8001 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.2226, allocations: 0.741 MB / 0.8008 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.2227, allocations: 58.86 kB / 0.8009 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.2228, allocations: 23.44 kB / 0.8009 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.2228, allocations: 0 / 0.8009 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of Templates: time 0.007624/0.2304, allocations: 3.725 MB / 0.8045 GB, free: 9.898 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) Environment - environmentSimulation: