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 2.249/2.249, allocations: 287.4 MB / 303.2 MB, free: 8.246 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.001988/0.001988, allocations: 170.1 kB / 371.8 MB, free: 10.84 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.607/1.607, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.001151/0.001151, allocations: 98.02 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004342, allocations: 11.38 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2385, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001312/0.2399, allocations: 1.005 MB / 0.9803 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.2433, allocations: 3.507 MB / 0.9837 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.2433, allocations: 0 / 0.9837 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.2433, allocations: 4 kB / 0.9837 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.2437, allocations: 75.56 kB / 0.9838 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.244, allocations: 91.75 kB / 0.9839 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.244, allocations: 27.92 kB / 0.9839 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.2441, allocations: 0 / 0.9839 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.2442, allocations: 35.78 kB / 0.9839 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.097e-05/0.2443, allocations: 31.91 kB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2443, allocations: 0 / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.2447, allocations: 295.6 kB / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.2447, allocations: 0 / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.2447, allocations: 29.7 kB / 0.9843 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.2449, allocations: 84.09 kB / 0.9843 GB, free: 23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.2449, allocations: 4 kB / 0.9843 GB, free: 23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.085e-06/0.2449, allocations: 3.938 kB / 0.9843 GB, free: 23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2449, allocations: 0 / 0.9843 GB, free: 23 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.0003618/0.2453, allocations: 349.8 kB / 0.9847 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2453, allocations: 11.97 kB / 0.9847 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.2454, allocations: 12.94 kB / 0.9847 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.022e-05/0.2455, allocations: 164.4 kB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2455, allocations: 384 / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.2455, allocations: 384 / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.729e-05/0.2456, allocations: 41.81 kB / 0.9849 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2456, allocations: 0 / 0.9849 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2456, allocations: 0 / 0.9849 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2457, allocations: 4 kB / 0.9849 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.585e-05/0.2457, allocations: 4 kB / 0.9849 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.2459, allocations: 157.6 kB / 0.9851 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.124e-05/0.2459, allocations: 30.5 kB / 0.9851 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.2459, allocations: 12.92 kB / 0.9851 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.2462, allocations: 97.08 kB / 0.9852 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.2462, allocations: 34.5 kB / 0.9852 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2462, allocations: 0 / 0.9852 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001558/0.2464, allocations: 45.64 kB / 0.9853 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.2464, allocations: 51.41 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.2465, allocations: 110 kB / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.2465, allocations: 25.7 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.2465, allocations: 80.14 kB / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.2466, allocations: 7.906 kB / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.2466, allocations: 0 / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.2467, allocations: 314.8 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.2467, allocations: 4 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.2467, allocations: 4 kB / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.2467, allocations: 16.92 kB / 0.9859 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2467, allocations: 0 / 0.9859 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.389e-05/0.2468, allocations: 37.64 kB / 0.9859 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2468, allocations: 18.27 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2468, allocations: 0 / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2469, allocations: 3.938 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.2469, allocations: 4 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2469, allocations: 0 / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.247, allocations: 0 / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.247, allocations: 7.938 kB / 0.9859 GB, free: 21.15 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 5.808e-05/0.247, allocations: 117.9 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-06/0.2471, allocations: 3.938 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.691e-05/0.2472, allocations: 44.81 kB / 0.9861 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2472, allocations: 4 kB / 0.9861 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2472, allocations: 0 / 0.9861 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.2472, allocations: 88.94 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2472, allocations: 0 / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.2472, allocations: 4.031 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.2473, allocations: 4 kB / 0.9862 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.237e-05/0.2473, allocations: 113 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.636e-05/0.2474, allocations: 210.8 kB / 0.9865 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.074e-05/0.2475, allocations: 7.938 kB / 0.9865 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.234e-05/0.2475, allocations: 95.58 kB / 0.9866 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of Backend: time 4.01e-07/0.2475, allocations: 0 / 0.9866 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.248, allocations: 136.7 kB / 0.9867 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003943/0.2484, allocations: 0.5974 MB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.00321/0.2516, allocations: 1.353 MB / 0.9886 GB, free: 18.28 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)