Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.29/1.29, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009178/0.0009178, allocations: 184.7 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205 MB / 0.5767 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000696/0.0006961, allocations: 90.22 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 11.84 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002155/0.1489, allocations: 2.057 MB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1503, allocations: 1.049 MB / 0.8998 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1504, allocations: 7.938 kB / 0.8998 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.1507, allocations: 43.75 kB / 0.8999 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1509, allocations: 71.41 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.1513, allocations: 135.7 kB / 0.9001 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1515, allocations: 282.7 kB / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.1516, allocations: 36.39 kB / 0.9004 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1518, allocations: 103.5 kB / 0.9005 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1519, allocations: 103.5 kB / 0.9006 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.152, allocations: 8 kB / 0.9006 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.1522, allocations: 99.84 kB / 0.9007 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.1523, allocations: 35.83 kB / 0.9007 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1524, allocations: 111.4 kB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.1527, allocations: 307 kB / 0.9011 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1527, allocations: 3.938 kB / 0.9011 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1527, allocations: 0 / 0.9011 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.1527, allocations: 0 / 0.9011 GB, free: 63.73 MB / 0.6042 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.0007459/0.1534, allocations: 0.5476 MB / 0.9016 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1535, allocations: 12.03 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.1536, allocations: 28.66 kB / 0.9017 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.1539, allocations: 283 kB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1539, allocations: 20.59 kB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.154, allocations: 24.31 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.1543, allocations: 208.6 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1543, allocations: 3.938 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1544, allocations: 7.938 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1544, allocations: 4 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.1547, allocations: 123.8 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007515/0.1554, allocations: 0.8722 MB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.1558, allocations: 215.9 kB / 0.9034 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.156, allocations: 90.61 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1561, allocations: 3.984 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/0.1564, allocations: 209.7 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.1564, allocations: 0 / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0007501/0.1572, allocations: 377.1 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1572, allocations: 122.8 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.1574, allocations: 246.8 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1574, allocations: 37.7 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.1575, allocations: 140.5 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.1575, allocations: 63.25 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.1576, allocations: 49.62 kB / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.1576, allocations: 338.8 kB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1578, allocations: 92.75 kB / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.1581, allocations: 259.8 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.1585, allocations: 400.5 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1585, allocations: 4 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006088/0.1591, allocations: 419 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1592, allocations: 37.8 kB / 0.9061 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1592, allocations: 8 kB / 0.9061 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1592, allocations: 8 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1594, allocations: 72.08 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1594, allocations: 15.88 kB / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1597, allocations: 51.61 kB / 0.9063 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1597, allocations: 20 kB / 0.9063 GB, free: 57.9 MB / 0.6042 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 9.704e-05/0.1598, allocations: 164 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.1598, allocations: 27.72 kB / 0.9065 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.1599, allocations: 21.7 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1599, allocations: 4 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1599, allocations: 0 / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.1599, allocations: 100.8 kB / 0.9066 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.16, allocations: 11.98 kB / 0.9066 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1601, allocations: 23.92 kB / 0.9066 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.1602, allocations: 19.97 kB / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006725/0.1609, allocations: 0.5343 MB / 0.9072 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007304/0.1616, allocations: 0.6999 MB / 0.9079 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002084/0.1619, allocations: 104.4 kB / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.339e-05/0.162, allocations: 170 kB / 0.9081 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of Backend: time 4.31e-07/0.162, allocations: 0 / 0.9081 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009321/0.1629, allocations: 375.9 kB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008344/0.1637, allocations: 1.079 MB / 0.9095 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.006045/0.1698, allocations: 3.653 MB / 0.9131 GB, free: 50.89 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)