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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.622/1.622, allocations: 288.4 MB / 303.7 MB, free: 8.879 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.0009766/0.0009767, allocations: 172.5 kB / 372.3 MB, free: 6.441 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.446/1.446, allocations: 205.4 MB / 0.631 GB, free: 14.49 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007115/0.0007115, allocations: 88.31 kB / 0.7444 GB, free: 63.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004031, allocations: 16 kB / 0.8675 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 115.3 MB / 0.9801 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002599/0.2248, allocations: 1.963 MB / 0.9821 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2262, allocations: 0.9879 MB / 0.983 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.629e-05/0.2263, allocations: 7.938 kB / 0.983 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.2265, allocations: 31.77 kB / 0.9831 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.2266, allocations: 71.41 kB / 0.9831 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.2271, allocations: 135.7 kB / 0.9833 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.2273, allocations: 258.8 kB / 0.9835 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2274, allocations: 40.61 kB / 0.9835 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.2276, allocations: 91.58 kB / 0.9836 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2277, allocations: 103.5 kB / 0.9837 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.2277, allocations: 12 kB / 0.9837 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.228, allocations: 99.89 kB / 0.9838 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.2281, allocations: 43.77 kB / 0.9839 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2282, allocations: 125.2 kB / 0.984 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.2284, allocations: 215.5 kB / 0.9842 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2285, allocations: 0 / 0.9842 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2285, allocations: 4 kB / 0.9842 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2285, allocations: 0 / 0.9842 GB, free: 9.043 MB / 0.7136 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.0009001/0.2294, allocations: 0.5553 MB / 0.9847 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2294, allocations: 8.031 kB / 0.9848 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.2295, allocations: 28.66 kB / 0.9848 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.2299, allocations: 295 kB / 0.9851 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.2299, allocations: 12.61 kB / 0.9851 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.23, allocations: 28.36 kB / 0.9851 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.2304, allocations: 216.6 kB / 0.9853 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2304, allocations: 3.984 kB / 0.9853 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.2305, allocations: 0 / 0.9853 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2305, allocations: 4 kB / 0.9853 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.2308, allocations: 127.8 kB / 0.9854 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.2319, allocations: 0.8723 MB / 0.9863 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.2323, allocations: 215.8 kB / 0.9865 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.2326, allocations: 90.61 kB / 0.9866 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.2326, allocations: 0 / 0.9866 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004351/0.233, allocations: 212.6 kB / 0.9868 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.814e-06/0.2331, allocations: 7.938 kB / 0.9868 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0008569/0.2339, allocations: 381 kB / 0.9872 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.234, allocations: 118.8 kB / 0.9873 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.2343, allocations: 246.4 kB / 0.9875 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.2343, allocations: 41.7 kB / 0.9875 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.2344, allocations: 132.6 kB / 0.9877 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.2345, allocations: 71.17 kB / 0.9877 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.2345, allocations: 8 kB / 0.9877 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2346, allocations: 338.8 kB / 0.9881 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.2349, allocations: 84.75 kB / 0.9881 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.2352, allocations: 263.1 kB / 0.9884 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.2358, allocations: 396.5 kB / 0.9888 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2358, allocations: 0 / 0.9888 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000712/0.2365, allocations: 418.7 kB / 0.9892 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.2365, allocations: 33.7 kB / 0.9892 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2366, allocations: 4 kB / 0.9892 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2366, allocations: 8.469 kB / 0.9892 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.2368, allocations: 79.83 kB / 0.9893 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.2368, allocations: 11.94 kB / 0.9893 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.2371, allocations: 39.73 kB / 0.9893 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.2371, allocations: 20.25 kB / 0.9894 GB, free: 3.262 MB / 0.7136 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.0001487/0.2373, allocations: 167.9 kB / 0.9895 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.2373, allocations: 27.72 kB / 0.9896 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.2374, allocations: 25.7 kB / 0.9896 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2374, allocations: 7.938 kB / 0.9896 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.2374, allocations: 7.938 kB / 0.9896 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.2374, allocations: 0 / 0.9896 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.2377, allocations: 277.3 kB / 0.9899 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2377, allocations: 0 / 0.9899 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2378, allocations: 27.92 kB / 0.9899 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2379, allocations: 4 kB / 0.9899 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.2379, allocations: 12.36 kB / 0.9899 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2379, allocations: 0 / 0.9899 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.2379, allocations: 3.938 kB / 0.9899 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008278/0.2387, allocations: 434.1 kB / 0.9903 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.2388, allocations: 108.9 kB / 0.9904 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.2389, allocations: 4 kB / 0.9904 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.239, allocations: 15.98 kB / 0.9904 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.2391, allocations: 35.83 kB / 0.9905 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.2392, allocations: 11.98 kB / 0.9905 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001376/0.2393, allocations: 166 kB / 0.9906 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2393, allocations: 0 / 0.9906 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003764/0.2397, allocations: 87.84 kB / 0.9907 GB, free: 1.766 MB / 0.7136 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.0003275/0.24, allocations: 163.1 kB / 0.9909 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006281/0.2407, allocations: 308.7 kB / 0.9912 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2407, allocations: 4.25 kB / 0.9912 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.2409, allocations: 111.9 kB / 0.9913 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.2413, allocations: 60.64 kB / 0.9913 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.2426, allocations: 0.7103 MB / 0.992 GB, free: 376 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.243, allocations: 0.741 MB / 0.9928 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.2431, allocations: 50.94 kB / 0.9928 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.2432, allocations: 23.44 kB / 0.9928 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/0.2432, allocations: 0 / 0.9928 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of Templates: time 0.0073/0.2505, allocations: 3.658 MB / 0.9964 GB, free: 11.91 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)