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.ConvectionResistance.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.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 251.5 MB / 267.4 MB, free: 11.12 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.0009549/0.0009549, allocations: 180.4 kB / 326.5 MB, free: 2.715 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.436/1.436, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007247/0.0007247, allocations: 98.86 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 9.5 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1564, 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.ConvectionResistance): time 0.001108/0.1576, allocations: 1.014 MB / 0.8978 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.1605, allocations: 3.777 MB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.1605, allocations: 0 / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.1606, allocations: 0 / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.1609, allocations: 99.55 kB / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.1611, allocations: 91.75 kB / 0.9016 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.934e-05/0.1611, allocations: 27.86 kB / 0.9017 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3e-05/0.1612, allocations: 4 kB / 0.9017 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.1613, allocations: 19.91 kB / 0.9017 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.1613, allocations: 39.84 kB / 0.9017 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.1614, allocations: 8 kB / 0.9017 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.1617, allocations: 299.6 kB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.1617, allocations: 0 / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.1617, allocations: 11.94 kB / 0.902 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1619, allocations: 112 kB / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1619, allocations: 0 / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1619, allocations: 7.938 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.1619, allocations: 0 / 0.9021 GB, free: 62.66 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002714/0.1622, allocations: 347.5 kB / 0.9025 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1622, allocations: 15.97 kB / 0.9025 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.1623, allocations: 4.844 kB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.871e-05/0.1623, allocations: 168.4 kB / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.1624, allocations: 384 / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.1624, allocations: 4.312 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.219e-05/0.1624, allocations: 41.81 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1625, allocations: 0 / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.1625, allocations: 0 / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1625, allocations: 0 / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/0.1625, allocations: 8 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.946e-05/0.1626, allocations: 153.7 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.871e-05/0.1627, allocations: 22.61 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.1627, allocations: 16.86 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.1629, allocations: 97.08 kB / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.1629, allocations: 38.5 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1629, allocations: 0 / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001136/0.163, allocations: 41.7 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.285e-05/0.163, allocations: 51.41 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.611e-05/0.1631, allocations: 101.8 kB / 0.9032 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.1631, allocations: 29.7 kB / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.266e-05/0.1631, allocations: 80.14 kB / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.1631, allocations: 7.844 kB / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.1632, allocations: 13.84 kB / 0.9033 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.568e-05/0.1632, allocations: 318.8 kB / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.1632, allocations: 7.938 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-06/0.1632, allocations: 4 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.352e-05/0.1633, allocations: 8.859 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1633, allocations: 0 / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.881e-05/0.1633, allocations: 45.62 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1633, allocations: 12.03 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1633, allocations: 4 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1634, allocations: 0 / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.501e-05/0.1634, allocations: 4 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1634, allocations: 0 / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.1634, allocations: 0 / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.1634, allocations: 3.984 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 3.941e-05/0.1635, allocations: 113.8 kB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-06/0.1635, allocations: 7.844 kB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.58e-05/0.1636, allocations: 60.75 kB / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1636, allocations: 0 / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1636, allocations: 256 / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.1636, allocations: 81.09 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1637, allocations: 4 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.427e-05/0.1637, allocations: 0 / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.1637, allocations: 4 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.475e-05/0.1638, allocations: 124.9 kB / 0.9041 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 6.526e-05/0.1638, allocations: 210.8 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.673e-05/0.1639, allocations: 4 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.689e-05/0.1639, allocations: 87.27 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of Backend: time 2.4e-07/0.1639, allocations: 0 / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000403/0.1643, allocations: 138.3 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002856/0.1646, allocations: 0.5846 MB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.002799/0.1674, allocations: 1.353 MB / 0.9064 GB, free: 57.97 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)