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.0007303/0.0007304, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0007663/0.0007663, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.672/1.672, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0004583/0.0004584, allocations: 18.56 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2019, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002192/0.2041, allocations: 1.96 MB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2054, allocations: 0.9761 MB / 0.7902 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.2055, allocations: 4 kB / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.2057, allocations: 47.69 kB / 0.7902 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.2058, allocations: 67.47 kB / 0.7903 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.2062, allocations: 131.7 kB / 0.7904 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.2064, allocations: 262.8 kB / 0.7906 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.2065, allocations: 44.59 kB / 0.7907 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.2067, allocations: 95.58 kB / 0.7908 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.2068, allocations: 103.5 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.2068, allocations: 8 kB / 0.7909 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.207, allocations: 99.84 kB / 0.791 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.2071, allocations: 39.83 kB / 0.791 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.897e-05/0.2071, allocations: 69.58 kB / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.2074, allocations: 223.5 kB / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2074, allocations: 0 / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2074, allocations: 0 / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2074, allocations: 0 / 0.7913 GB, free: 7.84 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.0007772/0.2082, allocations: 0.5552 MB / 0.7918 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.2082, allocations: 16.03 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.2083, allocations: 23.72 kB / 0.7919 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.2087, allocations: 289.7 kB / 0.7922 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2087, allocations: 16.22 kB / 0.7922 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.2087, allocations: 16 kB / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.2091, allocations: 208.3 kB / 0.7924 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.2091, allocations: 7.938 kB / 0.7924 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.2092, allocations: 4 kB / 0.7924 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2092, allocations: 4 kB / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.2095, allocations: 127.8 kB / 0.7925 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.2104, allocations: 0.8682 MB / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.2108, allocations: 215.9 kB / 0.7936 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.211, allocations: 90.59 kB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.211, allocations: 4 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.2114, allocations: 217.8 kB / 0.7939 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.2114, allocations: 0 / 0.7939 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007837/0.2122, allocations: 377 kB / 0.7942 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.2123, allocations: 118.8 kB / 0.7943 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.2125, allocations: 242.5 kB / 0.7946 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2125, allocations: 37.7 kB / 0.7946 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.2126, allocations: 144.5 kB / 0.7948 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.2127, allocations: 63.19 kB / 0.7948 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.2127, allocations: 8 kB / 0.7948 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.2128, allocations: 338.8 kB / 0.7951 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.213, allocations: 92.75 kB / 0.7952 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.2133, allocations: 263 kB / 0.7955 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.2136, allocations: 145.5 kB / 0.7956 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2136, allocations: 0 / 0.7956 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006559/0.2142, allocations: 419 kB / 0.796 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.2143, allocations: 37.66 kB / 0.7961 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2143, allocations: 8 kB / 0.7961 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2143, allocations: 11.98 kB / 0.7961 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.2145, allocations: 71.84 kB / 0.7961 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.2146, allocations: 11.98 kB / 0.7962 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.2148, allocations: 47.77 kB / 0.7962 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.2148, allocations: 20 kB / 0.7962 GB, free: 2.379 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 ($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.0001207/0.2149, allocations: 160.6 kB / 0.7964 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.215, allocations: 27.7 kB / 0.7964 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.215, allocations: 25.67 kB / 0.7964 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.215, allocations: 4 kB / 0.7964 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2151, allocations: 7.984 kB / 0.7964 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.2151, allocations: 0 / 0.7964 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.2153, allocations: 265.7 kB / 0.7967 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.2153, allocations: 4 kB / 0.7967 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2155, allocations: 23.92 kB / 0.7967 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2155, allocations: 0 / 0.7967 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.2155, allocations: 15.92 kB / 0.7967 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.2155, allocations: 7.953 kB / 0.7967 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.2155, allocations: 3.938 kB / 0.7967 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.2163, allocations: 436.7 kB / 0.7972 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.2163, allocations: 96.73 kB / 0.7972 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.2164, allocations: 12.03 kB / 0.7973 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2165, allocations: 15.98 kB / 0.7973 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.2166, allocations: 35.86 kB / 0.7973 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.2166, allocations: 15.98 kB / 0.7973 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001244/0.2168, allocations: 166 kB / 0.7975 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2168, allocations: 0 / 0.7975 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003675/0.2172, allocations: 83.92 kB / 0.7976 GB, free: 0.9023 MB / 0.6075 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.000281/0.2174, allocations: 162.8 kB / 0.7977 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005388/0.218, allocations: 307.1 kB / 0.798 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.218, allocations: 0 / 0.798 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.2183, allocations: 117.2 kB / 0.7981 GB, free: 320 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.2186, allocations: 64.64 kB / 0.7982 GB, free: 256 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2197, allocations: 0.7067 MB / 0.7989 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.2199, allocations: 0.7371 MB / 0.7996 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.2201, allocations: 54.94 kB / 0.7996 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.2201, allocations: 23.44 kB / 0.7997 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2201, allocations: 0 / 0.7997 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.006689/0.2268, allocations: 3.604 MB / 0.8032 GB, free: 11.15 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: