Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 252 MB / 267.9 MB, free: 10.91 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.001106/0.001106, allocations: 182.8 kB / 327.6 MB, free: 2.145 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.566/1.566, allocations: 205.4 MB / 0.5785 GB, free: 20.16 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.001028/0.001028, allocations: 84.94 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004492, allocations: 11.59 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 106.3 MB / 0.9013 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.4013, allocations: 140.4 MB / 1.038 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.4016, allocations: 107.9 kB / 1.038 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04733/0.449, allocations: 18.04 MB / 1.056 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.449, allocations: 4 kB / 1.056 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.27e-05/0.4491, allocations: 12 kB / 1.056 GB, free: 0.8477 MB / 0.698 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.001069/0.4501, allocations: 0.6521 MB / 1.057 GB, free: 144 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4502, allocations: 12.03 kB / 1.057 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.4503, allocations: 40.47 kB / 1.057 GB, free: 92 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4714/0.9217, allocations: 369.3 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.9218, allocations: 17.5 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.9218, allocations: 20.91 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.9223, allocations: 202.1 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.9223, allocations: 0.9375 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.9223, allocations: 8.688 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.9224, allocations: 7.688 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.9228, allocations: 177.5 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.9239, allocations: 0.8742 MB / 1.058 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.9242, allocations: 162.4 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.9244, allocations: 119.2 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.9244, allocations: 0 / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.9244, allocations: 36.83 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/0.9244, allocations: 3.703 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005302/0.925, allocations: 272.4 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.925, allocations: 51.41 kB / 1.059 GB, free: 146 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.9254, allocations: 413.7 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.9254, allocations: 28.61 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.9256, allocations: 210.8 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.9256, allocations: 62.8 kB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.9256, allocations: 6.312 kB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.9257, allocations: 355.8 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.9259, allocations: 55.3 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.926, allocations: 65.22 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.9263, allocations: 146 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9263, allocations: 2.906 kB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003177/0.9266, allocations: 216.2 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9266, allocations: 5.688 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.9266, allocations: 0 / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.9267, allocations: 6.469 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.9269, allocations: 54.02 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.9269, allocations: 5.5 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.9271, allocations: 28.98 kB / 1.061 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.9271, allocations: 6 kB / 1.061 GB, free: 145.3 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.9272, allocations: 165.8 kB / 1.061 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.9273, allocations: 36.88 kB / 1.061 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.844e-05/0.9274, allocations: 42.31 kB / 1.061 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.9274, allocations: 2.531 kB / 1.061 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9274, allocations: 2.062 kB / 1.061 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.9274, allocations: 3.938 kB / 1.061 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.9277, allocations: 378.6 kB / 1.061 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.9277, allocations: 0.6875 kB / 1.061 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.928, allocations: 57.7 kB / 1.061 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.928, allocations: 2.531 kB / 1.061 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.928, allocations: 2.562 kB / 1.061 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.928, allocations: 5.578 kB / 1.061 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.928, allocations: 0 / 1.061 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.9285, allocations: 396.5 kB / 1.062 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.9286, allocations: 113.4 kB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.9287, allocations: 6.781 kB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.9288, allocations: 19.52 kB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.9289, allocations: 16.95 kB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.9289, allocations: 7.562 kB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002685/0.9292, allocations: 298.6 kB / 1.062 GB, free: 144.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9292, allocations: 0 / 1.062 GB, free: 144.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003359/0.9295, allocations: 82.38 kB / 1.062 GB, free: 144.6 MB / 0.698 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 (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.0003362/0.9299, allocations: 261 kB / 1.062 GB, free: 144.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.9302, allocations: 162.2 kB / 1.063 GB, free: 144.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9302, allocations: 0 / 1.063 GB, free: 144.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.9303, allocations: 80.09 kB / 1.063 GB, free: 144.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.9309, allocations: 91.36 kB / 1.063 GB, free: 144.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.932, allocations: 0.8926 MB / 1.064 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.9322, allocations: 0.8022 MB / 1.064 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.9323, allocations: 33.66 kB / 1.064 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.9324, allocations: 24.81 kB / 1.064 GB, free: 143.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9324, allocations: 0 / 1.064 GB, free: 143.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01165/0.9441, allocations: 5.305 MB / 1.07 GB, free: 143 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)