Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001024/0.001023, allocations: 176.9 kB / 361.4 MB, free: 6.867 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.579/1.579, allocations: 205.3 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008299/0.0008299, allocations: 89.42 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.726e-05, allocations: 8 kB / 0.8518 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6553/0.6553, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2123/0.8677, allocations: 148 MB / 1.109 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.8681, allocations: 111.9 kB / 1.109 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05624/0.9243, allocations: 21.93 MB / 1.13 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9244, allocations: 3.938 kB / 1.13 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.9244, allocations: 12 kB / 1.131 GB, free: 1.812 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001059/0.9255, allocations: 0.7478 MB / 1.131 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.9255, allocations: 8.031 kB / 1.131 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.9256, allocations: 83.09 kB / 1.131 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.9262, allocations: 435 kB / 1.132 GB, free: 468 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.9262, allocations: 17.75 kB / 1.132 GB, free: 452 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.9263, allocations: 28 kB / 1.132 GB, free: 424 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005255/0.9268, allocations: 306.6 kB / 1.132 GB, free: 120 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.9274, allocations: 328 kB / 1.132 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.9275, allocations: 9.531 kB / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.9275, allocations: 0 / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.9275, allocations: 12 kB / 1.132 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.9295, allocations: 1.438 MB / 1.134 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.9299, allocations: 303.2 kB / 1.134 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.9303, allocations: 281.2 kB / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.9303, allocations: 4 kB / 1.134 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.9303, allocations: 34.56 kB / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.9304, allocations: 0 / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0005296/0.9309, allocations: 309.5 kB / 1.135 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.9309, allocations: 59.19 kB / 1.135 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.9314, allocations: 373.3 kB / 1.135 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.9314, allocations: 29.7 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.9316, allocations: 280.1 kB / 1.135 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.9317, allocations: 137.9 kB / 1.136 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.9318, allocations: 0 / 1.136 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.9319, allocations: 362.7 kB / 1.136 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.9321, allocations: 98.91 kB / 1.136 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.9323, allocations: 104.9 kB / 1.136 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.9324, allocations: 113.8 kB / 1.136 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9325, allocations: 0 / 1.136 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005069/0.933, allocations: 333.1 kB / 1.137 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.933, allocations: 4 kB / 1.137 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.933, allocations: 3.938 kB / 1.137 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.933, allocations: 4 kB / 1.137 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.9336, allocations: 127.8 kB / 1.137 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9336, allocations: 4 kB / 1.137 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.9338, allocations: 44.42 kB / 1.137 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.9339, allocations: 14.38 kB / 1.137 GB, free: 11.24 MB / 0.7448 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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 9.708e-05/0.934, allocations: 108.9 kB / 1.137 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.934, allocations: 47.44 kB / 1.137 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.9341, allocations: 52.97 kB / 1.137 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.9342, allocations: 8 kB / 1.137 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.9342, allocations: 0 / 1.137 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.9342, allocations: 7.922 kB / 1.137 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/0.9348, allocations: 0.4976 MB / 1.137 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9348, allocations: 4 kB / 1.137 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.9353, allocations: 123.9 kB / 1.138 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.9353, allocations: 4 kB / 1.138 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.9353, allocations: 3.984 kB / 1.138 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.9353, allocations: 5.406 kB / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9353, allocations: 0 / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.936, allocations: 0.565 MB / 1.138 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.9362, allocations: 140.4 kB / 1.138 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.9362, allocations: 0 / 1.138 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.9365, allocations: 19.98 kB / 1.138 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.9365, allocations: 23.97 kB / 1.138 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.9366, allocations: 10.94 kB / 1.138 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003333/0.9369, allocations: 295 kB / 1.139 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9369, allocations: 0 / 1.139 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004123/0.9373, allocations: 143.4 kB / 1.139 GB, free: 9.129 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0004046/0.9377, allocations: 263.8 kB / 1.139 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.9382, allocations: 271.5 kB / 1.139 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9382, allocations: 0 / 1.139 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.9384, allocations: 164.1 kB / 1.139 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.9389, allocations: 81.89 kB / 1.139 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.9403, allocations: 0.882 MB / 1.14 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.9408, allocations: 0.8782 MB / 1.141 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.941, allocations: 49.44 kB / 1.141 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.451e-05/0.9411, allocations: 39.44 kB / 1.141 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.9411, allocations: 0 / 1.141 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of Templates: time 0.009226/0.9503, allocations: 4.83 MB / 1.146 GB, free: 1.777 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)