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.SingleUTubeResistances.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 252 MB / 268 MB, free: 10.87 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.00102/0.00102, allocations: 183 kB / 327.6 MB, free: 2.105 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.882/1.882, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0008869/0.0008867, allocations: 93.2 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 9.094 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001582/0.2234, allocations: 1.204 MB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2246, allocations: 0.955 MB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.2246, allocations: 11.94 kB / 0.9036 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.2248, allocations: 35.83 kB / 0.9036 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.372e-05/0.2249, allocations: 19.84 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.2253, allocations: 166.2 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.2254, allocations: 51.67 kB / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.2254, allocations: 0 / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.2255, allocations: 19.88 kB / 0.9039 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.102e-05/0.2255, allocations: 23.84 kB / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2256, allocations: 4 kB / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.2258, allocations: 139.8 kB / 0.904 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.2258, allocations: 7.984 kB / 0.904 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.2259, allocations: 41.58 kB / 0.9041 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.226, allocations: 84.09 kB / 0.9041 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.226, allocations: 0 / 0.9041 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.226, allocations: 3.938 kB / 0.9041 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.226, allocations: 0 / 0.9041 GB, free: 60.74 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002736/0.2263, allocations: 365.5 kB / 0.9045 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2264, allocations: 12.03 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.2264, allocations: 84.06 kB / 0.9046 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2266, allocations: 263.4 kB / 0.9048 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.2266, allocations: 158.9 kB / 0.905 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.2267, allocations: 154.9 kB / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.604e-05/0.2267, allocations: 109.3 kB / 0.9052 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2267, allocations: 79.22 kB / 0.9053 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.2268, allocations: 150.6 kB / 0.9055 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.2268, allocations: 150.6 kB / 0.9056 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.576e-05/0.2269, allocations: 158.5 kB / 0.9058 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.2271, allocations: 461.9 kB / 0.9062 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.344e-05/0.2271, allocations: 165.1 kB / 0.9064 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.2271, allocations: 84.14 kB / 0.9064 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.2272, allocations: 79.28 kB / 0.9065 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.2272, allocations: 117.7 kB / 0.9066 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2272, allocations: 0 / 0.9066 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.634e-05/0.2273, allocations: 29.7 kB / 0.9066 GB, free: 58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.2273, allocations: 126.7 kB / 0.9068 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2274, allocations: 136.2 kB / 0.9069 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.2274, allocations: 29.7 kB / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.2275, allocations: 92.12 kB / 0.907 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/0.2275, allocations: 0 / 0.907 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.2275, allocations: 0 / 0.907 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.2275, allocations: 314.8 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.2276, allocations: 4 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.2276, allocations: 11.98 kB / 0.9073 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/0.2276, allocations: 12.8 kB / 0.9073 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2276, allocations: 0 / 0.9073 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001028/0.2277, allocations: 57.61 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2278, allocations: 4 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.2278, allocations: 7.984 kB / 0.9074 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2278, allocations: 0 / 0.9074 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.2278, allocations: 0 / 0.9074 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2278, allocations: 3.984 kB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.2278, allocations: 4 kB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2279, allocations: 0 / 0.9074 GB, free: 57.16 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.448e-05/0.2279, allocations: 185.1 kB / 0.9076 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.228, allocations: 124.8 kB / 0.9077 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.228, allocations: 112.8 kB / 0.9078 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.228, allocations: 176.3 kB / 0.908 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.481e-05/0.2281, allocations: 180.2 kB / 0.9082 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.2281, allocations: 180.3 kB / 0.9083 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.2283, allocations: 421.1 kB / 0.9087 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.2283, allocations: 112.9 kB / 0.9088 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.2283, allocations: 109 kB / 0.9089 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.399e-05/0.2283, allocations: 184.3 kB / 0.9091 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.2284, allocations: 180.3 kB / 0.9093 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-05/0.2284, allocations: 180.2 kB / 0.9095 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.542e-05/0.2284, allocations: 180.3 kB / 0.9096 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.831e-05/0.2285, allocations: 311.8 kB / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.2285, allocations: 185.9 kB / 0.9101 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.2286, allocations: 188.2 kB / 0.9103 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.367e-05/0.2286, allocations: 105 kB / 0.9104 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.2287, allocations: 184.2 kB / 0.9106 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.2287, allocations: 101 kB / 0.9107 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.2287, allocations: 105.9 kB / 0.9108 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2287, allocations: 0 / 0.9108 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002587/0.229, allocations: 35.92 kB / 0.9108 GB, free: 53.47 MB / 0.6042 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002416/0.2293, allocations: 210.5 kB / 0.911 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8e-05/0.2293, allocations: 41.69 kB / 0.911 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2294, allocations: 0 / 0.911 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-06/0.2294, allocations: 3.938 kB / 0.911 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.2297, allocations: 0.5283 MB / 0.9116 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.23, allocations: 275.3 kB / 0.9118 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.2301, allocations: 0.6886 MB / 0.9125 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-06/0.2302, allocations: 7.438 kB / 0.9125 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.2302, allocations: 3.938 kB / 0.9125 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.002385/0.2326, allocations: 1.217 MB / 0.9137 GB, free: 50.43 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)