Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 106.2 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 0.6729 GB, free: 5.781 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2001, allocations: 114.6 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004763/0.2049, allocations: 3.026 MB / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3325/0.5374, allocations: 2.184 MB / 0.7899 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.5377, allocations: 5.781 kB / 0.7899 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.5389, allocations: 0.4916 MB / 0.7904 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.5392, allocations: 154 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.5393, allocations: 58.69 kB / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.5397, allocations: 453.2 kB / 0.791 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.5399, allocations: 155 kB / 0.7912 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.54, allocations: 153 kB / 0.7913 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.5402, allocations: 187.7 kB / 0.7915 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.5403, allocations: 34.31 kB / 0.7915 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.5404, allocations: 35.81 kB / 0.7916 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.5405, allocations: 98.58 kB / 0.7917 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.5406, allocations: 216.7 kB / 0.7919 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.5409, allocations: 0.5415 MB / 0.7924 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.541, allocations: 0 / 0.7924 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.172e-06/0.541, allocations: 2.906 kB / 0.7924 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.541, allocations: 0.5625 kB / 0.7924 GB, free: 46.78 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008196/0.5418, allocations: 0.6971 MB / 0.7931 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.5418, allocations: 10.41 kB / 0.7931 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.5419, allocations: 47.25 kB / 0.7931 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.5423, allocations: 383.6 kB / 0.7935 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.5423, allocations: 13.94 kB / 0.7935 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.5424, allocations: 23.03 kB / 0.7935 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.5427, allocations: 203.4 kB / 0.7937 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5427, allocations: 0 / 0.7937 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.5427, allocations: 11.17 kB / 0.7937 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5428, allocations: 4.75 kB / 0.7937 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.5431, allocations: 166.3 kB / 0.7939 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009088/0.544, allocations: 0.8608 MB / 0.7947 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.5443, allocations: 155.1 kB / 0.7949 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.5445, allocations: 113 kB / 0.795 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.5445, allocations: 3.125 kB / 0.795 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.5445, allocations: 35.09 kB / 0.795 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.5445, allocations: 4.531 kB / 0.795 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005314/0.5451, allocations: 259.4 kB / 0.7953 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.5451, allocations: 51.41 kB / 0.7953 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.5455, allocations: 421.5 kB / 0.7957 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.5455, allocations: 25.7 kB / 0.7958 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.5456, allocations: 208.8 kB / 0.796 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.5456, allocations: 60.86 kB / 0.796 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.5457, allocations: 35.78 kB / 0.796 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.5457, allocations: 346.5 kB / 0.7964 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.5459, allocations: 55.05 kB / 0.7964 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.546, allocations: 67.91 kB / 0.7965 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.5463, allocations: 134 kB / 0.7966 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5463, allocations: 0 / 0.7966 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003159/0.5466, allocations: 209 kB / 0.7968 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5466, allocations: 3.656 kB / 0.7968 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5466, allocations: 1.781 kB / 0.7968 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5466, allocations: 3.938 kB / 0.7968 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.5469, allocations: 56.19 kB / 0.7969 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.5469, allocations: 4 kB / 0.7969 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.547, allocations: 19.14 kB / 0.7969 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.547, allocations: 3.406 kB / 0.7969 GB, free: 44.65 MB / 0.6544 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 (20): * Single equations (assignments): 20 * 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 0.0001103/0.5472, allocations: 172.6 kB / 0.7971 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.5472, allocations: 36.28 kB / 0.7971 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.373e-05/0.5473, allocations: 41.84 kB / 0.7971 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.5473, allocations: 0 / 0.7971 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5473, allocations: 3.438 kB / 0.7972 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5473, allocations: 3.234 kB / 0.7972 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.5476, allocations: 378.9 kB / 0.7975 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5476, allocations: 2.25 kB / 0.7975 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.5479, allocations: 58.33 kB / 0.7976 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5479, allocations: 1.75 kB / 0.7976 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.5479, allocations: 7.438 kB / 0.7976 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5479, allocations: 2.984 kB / 0.7976 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5479, allocations: 5.625 kB / 0.7976 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.5484, allocations: 381.2 kB / 0.798 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.5485, allocations: 114.9 kB / 0.7981 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.5485, allocations: 7.156 kB / 0.7981 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.5487, allocations: 10.67 kB / 0.7981 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.5488, allocations: 12.2 kB / 0.7981 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.5488, allocations: 7.344 kB / 0.7981 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002557/0.549, allocations: 300.2 kB / 0.7984 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.549, allocations: 0 / 0.7984 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000293/0.5493, allocations: 72.06 kB / 0.7985 GB, free: 43.68 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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 9.363e-05/0.5494, allocations: 113.8 kB / 0.7986 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.5498, allocations: 140.4 kB / 0.7987 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5498, allocations: 0 / 0.7987 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.5499, allocations: 85.17 kB / 0.7988 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.5505, allocations: 97.7 kB / 0.7989 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009648/0.5514, allocations: 0.7515 MB / 0.7996 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.5516, allocations: 0.7917 MB / 0.8004 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000109/0.5518, allocations: 35.36 kB / 0.8004 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.5518, allocations: 24 kB / 0.8004 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.5518, allocations: 4 kB / 0.8004 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.008312/0.5601, allocations: 3.939 MB / 0.8043 GB, free: 42.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)