Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.292/2.292, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001342/0.001341, allocations: 179 kB / 326.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.4 MB / 0.5772 GB, free: 21.2 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.0008872/0.000887, allocations: 95.45 kB / 0.6817 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004612, allocations: 19.67 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1991, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001481/0.2006, allocations: 1.009 MB / 0.9005 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004593/0.2053, allocations: 3.514 MB / 0.9039 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.2054, allocations: 4 kB / 0.9039 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.2054, allocations: 4 kB / 0.9039 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.2058, allocations: 79.56 kB / 0.904 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.2062, allocations: 89.62 kB / 0.9041 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.789e-05/0.2063, allocations: 27.92 kB / 0.9041 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.2063, allocations: 3.938 kB / 0.9041 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.2064, allocations: 31.84 kB / 0.9042 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.2066, allocations: 35.91 kB / 0.9042 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.2066, allocations: 0 / 0.9042 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00059/0.2072, allocations: 291.6 kB / 0.9045 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.2072, allocations: 4 kB / 0.9045 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.2072, allocations: 33.64 kB / 0.9045 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.2074, allocations: 75.81 kB / 0.9046 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2074, allocations: 0 / 0.9046 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2074, allocations: 0 / 0.9046 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2074, allocations: 0 / 0.9046 GB, free: 60.82 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.0003317/0.2078, allocations: 355.4 kB / 0.9049 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2078, allocations: 8.031 kB / 0.9049 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.2079, allocations: 4.938 kB / 0.9049 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.766e-05/0.208, allocations: 168.3 kB / 0.9051 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.208, allocations: 384 / 0.9051 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.208, allocations: 384 / 0.9051 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.2081, allocations: 41.81 kB / 0.9051 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2081, allocations: 0 / 0.9051 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2082, allocations: 4 kB / 0.9051 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2082, allocations: 4 kB / 0.9051 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.2082, allocations: 7.938 kB / 0.9051 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.2084, allocations: 161.6 kB / 0.9053 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.217e-05/0.2084, allocations: 18.58 kB / 0.9053 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.2085, allocations: 12.92 kB / 0.9053 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.2088, allocations: 101.1 kB / 0.9054 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2088, allocations: 34.5 kB / 0.9055 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.694e-06/0.2088, allocations: 0 / 0.9055 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001553/0.209, allocations: 45.64 kB / 0.9055 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.209, allocations: 59.33 kB / 0.9056 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.2091, allocations: 101.9 kB / 0.9057 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.2091, allocations: 25.7 kB / 0.9057 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.2091, allocations: 84.27 kB / 0.9058 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.2092, allocations: 7.844 kB / 0.9058 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.2092, allocations: 0 / 0.9058 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.2092, allocations: 318.8 kB / 0.9061 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.2093, allocations: 4 kB / 0.9061 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.2093, allocations: 4 kB / 0.9061 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/0.2093, allocations: 0 / 0.9061 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2093, allocations: 0 / 0.9061 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.661e-05/0.2094, allocations: 49.7 kB / 0.9061 GB, free: 59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2094, allocations: 11.92 kB / 0.9061 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2094, allocations: 0 / 0.9061 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2095, allocations: 0 / 0.9061 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.2095, allocations: 4 kB / 0.9061 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2096, allocations: 0 / 0.9061 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.2096, allocations: 0 / 0.9061 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.2096, allocations: 0 / 0.9061 GB, free: 58.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.2097, allocations: 109.8 kB / 0.9062 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.2097, allocations: 7.969 kB / 0.9063 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.2098, allocations: 56.7 kB / 0.9063 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2098, allocations: 0 / 0.9063 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2098, allocations: 3.938 kB / 0.9063 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.2099, allocations: 81.09 kB / 0.9064 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.2099, allocations: 0 / 0.9064 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.2099, allocations: 8 kB / 0.9064 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.21, allocations: 0 / 0.9064 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.137e-05/0.2101, allocations: 113 kB / 0.9065 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001049/0.2102, allocations: 214.7 kB / 0.9067 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.469e-05/0.2102, allocations: 11.94 kB / 0.9067 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.66e-05/0.2103, allocations: 83.27 kB / 0.9068 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of Backend: time 6.52e-07/0.2103, allocations: 0 / 0.9068 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005825/0.2109, allocations: 144 kB / 0.9069 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004326/0.2113, allocations: 0.5935 MB / 0.9075 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.004575/0.2159, allocations: 1.351 MB / 0.9088 GB, free: 56.12 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)