Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.782/1.782, allocations: 287.5 MB / 302.6 MB, free: 8.078 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.001501/0.001501, allocations: 178.7 kB / 371.2 MB, free: 10.76 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.427/1.427, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007408/0.0007408, allocations: 96.92 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004024, allocations: 10.12 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2137, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001289/0.2151, allocations: 1.009 MB / 0.9797 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003566/0.2187, allocations: 3.507 MB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.2187, allocations: 0 / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.2188, allocations: 0 / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005066/0.2193, allocations: 79.55 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.2197, allocations: 101.1 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.2197, allocations: 19.92 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.2198, allocations: 4 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.2199, allocations: 23.86 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.22, allocations: 39.89 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.22, allocations: 0 / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.2205, allocations: 287.6 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.2205, allocations: 7.984 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.2205, allocations: 25.7 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.2207, allocations: 88.09 kB / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2207, allocations: 0 / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2207, allocations: 3.938 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2208, allocations: 0 / 0.9837 GB, free: 22.96 MB / 0.6198 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.0003517/0.2211, allocations: 355.5 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2212, allocations: 8.031 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.2212, allocations: 0.9375 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.448e-05/0.2213, allocations: 176.2 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.2213, allocations: 384 / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2213, allocations: 4.375 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.691e-05/0.2214, allocations: 33.83 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2214, allocations: 0 / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2215, allocations: 0 / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2215, allocations: 0 / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.2215, allocations: 8 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.2216, allocations: 157.6 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.2217, allocations: 26.55 kB / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.2217, allocations: 12.84 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.2219, allocations: 101.2 kB / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.222, allocations: 34.5 kB / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.222, allocations: 0 / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001405/0.2221, allocations: 41.62 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.2221, allocations: 59.53 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.846e-05/0.2222, allocations: 101.9 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.2222, allocations: 25.7 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.2222, allocations: 84.14 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2223, allocations: 11.89 kB / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.2223, allocations: 0 / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.2223, allocations: 310.8 kB / 0.9852 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.2224, allocations: 4 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-06/0.2224, allocations: 4 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.2224, allocations: 16.92 kB / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2224, allocations: 0 / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.988e-05/0.2225, allocations: 49.56 kB / 0.9853 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.2225, allocations: 4 kB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2225, allocations: 0 / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2225, allocations: 0 / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.2226, allocations: 4 kB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2226, allocations: 0 / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.836e-05/0.2226, allocations: 4 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.2226, allocations: 4.031 kB / 0.9853 GB, free: 21.12 MB / 0.6198 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 4.336e-05/0.2227, allocations: 109.8 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.2227, allocations: 11.88 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-05/0.2228, allocations: 44.81 kB / 0.9855 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2228, allocations: 3.938 kB / 0.9855 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2228, allocations: 3.938 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2228, allocations: 0 / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.653e-05/0.2229, allocations: 157.7 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2229, allocations: 4 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.2229, allocations: 3.938 kB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2229, allocations: 0 / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2229, allocations: 7.984 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.223, allocations: 0 / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.223, allocations: 0 / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.638e-05/0.223, allocations: 65.03 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.2231, allocations: 97 kB / 0.9858 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.2231, allocations: 0 / 0.9858 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.527e-05/0.2231, allocations: 0 / 0.9858 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.2231, allocations: 4 kB / 0.9858 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.2231, allocations: 4 kB / 0.9858 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.2232, allocations: 79.53 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.92e-07/0.2232, allocations: 0 / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002348/0.2234, allocations: 27.92 kB / 0.9859 GB, free: 20.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001722/0.2236, allocations: 131.2 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.598e-05/0.2237, allocations: 8 kB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2237, allocations: 4 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.2237, allocations: 7.984 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.2239, allocations: 3.938 kB / 0.9861 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.2242, allocations: 158.5 kB / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.792e-05/0.2243, allocations: 0.677 MB / 0.9869 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.2243, allocations: 4 kB / 0.9869 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.2244, allocations: 7.438 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2244, allocations: 0 / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.002429/0.2268, allocations: 0.7178 MB / 0.9876 GB, free: 18.64 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)