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.00106/0.00106, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001192/0.001192, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.386/1.386, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.707/1.707, allocations: 292.2 MB / 0.5485 GB, free: 13.6 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.001463/0.001463, allocations: 68.84 kB / 0.671 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2307, allocations: 114.6 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003922/0.2347, allocations: 2.376 MB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.2364, allocations: 1.03 MB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.2366, allocations: 7.938 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.2369, allocations: 43.75 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.2372, allocations: 63.48 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.2378, allocations: 139.7 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.2381, allocations: 290.8 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.2383, allocations: 48.55 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.2385, allocations: 111.5 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.2387, allocations: 119.5 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.2387, allocations: 16 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.239, allocations: 107.9 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.2391, allocations: 51.77 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2392, allocations: 123.3 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.2397, allocations: 307.1 kB / 0.7876 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.2397, allocations: 7.984 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2397, allocations: 0 / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.2397, allocations: 0 / 0.7876 GB, free: 9.012 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.001154/0.2409, allocations: 0.5903 MB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2409, allocations: 8.031 kB / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.241, allocations: 32.66 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.2415, allocations: 287 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.2415, allocations: 20.59 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.2416, allocations: 20.38 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.242, allocations: 206 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2421, allocations: 0 / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.2421, allocations: 8 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.2421, allocations: 0 / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.2424, allocations: 115.8 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.2436, allocations: 0.8684 MB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.2441, allocations: 207.7 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.2443, allocations: 82.59 kB / 0.7899 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.2443, allocations: 0 / 0.7899 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004718/0.2448, allocations: 196.8 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 4.428e-06/0.2448, allocations: 0 / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0009045/0.2457, allocations: 369 kB / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.2458, allocations: 106.8 kB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.246, allocations: 254.4 kB / 0.7908 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.2461, allocations: 37.7 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.2462, allocations: 140.6 kB / 0.791 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.2463, allocations: 67.19 kB / 0.7911 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.2464, allocations: 78.06 kB / 0.7911 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2466, allocations: 342.8 kB / 0.7915 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.2468, allocations: 76.77 kB / 0.7915 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.2471, allocations: 255.3 kB / 0.7918 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/0.2477, allocations: 384.5 kB / 0.7921 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2477, allocations: 4 kB / 0.7921 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000705/0.2484, allocations: 399 kB / 0.7925 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/0.2485, allocations: 41.73 kB / 0.7926 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.2485, allocations: 8 kB / 0.7926 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2485, allocations: 8 kB / 0.7926 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.2487, allocations: 63.89 kB / 0.7926 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.2487, allocations: 19.88 kB / 0.7927 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.249, allocations: 35.73 kB / 0.7927 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.249, allocations: 20 kB / 0.7927 GB, free: 3.242 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.0001511/0.2492, allocations: 167.9 kB / 0.7929 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.2492, allocations: 31.62 kB / 0.7929 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.2493, allocations: 25.7 kB / 0.7929 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2493, allocations: 4.25 kB / 0.7929 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.2493, allocations: 7.875 kB / 0.7929 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2493, allocations: 4 kB / 0.7929 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.2496, allocations: 269.3 kB / 0.7932 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2496, allocations: 0 / 0.7932 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.2498, allocations: 27.97 kB / 0.7932 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2498, allocations: 0 / 0.7932 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.2498, allocations: 11.94 kB / 0.7932 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2498, allocations: 4 kB / 0.7932 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.2498, allocations: 3.938 kB / 0.7932 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/0.2507, allocations: 406.2 kB / 0.7936 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.2507, allocations: 96.86 kB / 0.7937 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.2508, allocations: 12 kB / 0.7937 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.2509, allocations: 15.98 kB / 0.7938 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.251, allocations: 27.84 kB / 0.7938 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.2511, allocations: 11.98 kB / 0.7938 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001578/0.2512, allocations: 170 kB / 0.794 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2512, allocations: 0 / 0.794 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004058/0.2516, allocations: 83.92 kB / 0.794 GB, free: 1.789 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 (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.000355/0.252, allocations: 176.2 kB / 0.7942 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006284/0.2526, allocations: 304.1 kB / 0.7945 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2527, allocations: 3.938 kB / 0.7945 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.2529, allocations: 108.3 kB / 0.7946 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2533, allocations: 66.95 kB / 0.7947 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2546, allocations: 0.6677 MB / 0.7953 GB, free: 444 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.2549, allocations: 0.7407 MB / 0.796 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.2551, allocations: 46.94 kB / 0.7961 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.2551, allocations: 31.38 kB / 0.7961 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.2551, allocations: 4 kB / 0.7961 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.007954/0.2631, allocations: 3.907 MB / 0.7999 GB, free: 11.76 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (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)