Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.867/2.867, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.001549/0.001549, allocations: 187.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.00111/0.00111, allocations: 89.69 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006542/0.0006543, allocations: 12.56 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2189, allocations: 115.3 MB / 0.9782 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001663/0.2206, allocations: 1.118 MB / 0.9793 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004969/0.2256, allocations: 2.639 MB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.2257, allocations: 3.938 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.2258, allocations: 7.984 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.516e-05/0.2259, allocations: 15.97 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00498/0.2308, allocations: 1.295 MB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.263e-05/0.231, allocations: 27.95 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.231, allocations: 4 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.998e-05/0.2311, allocations: 15.92 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.2311, allocations: 11.94 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.2311, allocations: 4 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.2338, allocations: 1.174 MB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.2339, allocations: 7.938 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.2339, allocations: 33.7 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.2357, allocations: 0.7099 MB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2358, allocations: 0 / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2358, allocations: 0 / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2358, allocations: 0 / 0.9851 GB, free: 21.26 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006815/0.2365, allocations: 0.5088 MB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2366, allocations: 8.031 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.2366, allocations: 87.14 kB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2368, allocations: 250.2 kB / 0.986 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.2368, allocations: 154.6 kB / 0.9861 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.2369, allocations: 150.6 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.107e-05/0.237, allocations: 104.9 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.237, allocations: 79.28 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.237, allocations: 150.6 kB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.2371, allocations: 154.6 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.2371, allocations: 150.6 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.2373, allocations: 473.8 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.603e-05/0.2374, allocations: 169.1 kB / 0.9875 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.2374, allocations: 75.28 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.2375, allocations: 109.8 kB / 0.9877 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.2375, allocations: 0 / 0.9877 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.886e-05/0.2376, allocations: 29.7 kB / 0.9877 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2376, allocations: 134.7 kB / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2378, allocations: 136.4 kB / 0.9879 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.2378, allocations: 25.7 kB / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.2378, allocations: 96.12 kB / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.2379, allocations: 0 / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.2379, allocations: 0 / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.2379, allocations: 322.8 kB / 0.9884 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.238, allocations: 4 kB / 0.9884 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.238, allocations: 11.98 kB / 0.9884 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.2381, allocations: 7.938 kB / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2381, allocations: 0 / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.2382, allocations: 45.69 kB / 0.9884 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2382, allocations: 8 kB / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.2383, allocations: 0 / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2383, allocations: 0 / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.2383, allocations: 0 / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2383, allocations: 4 kB / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.2384, allocations: 3.906 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.2384, allocations: 4.062 kB / 0.9885 GB, free: 17.64 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.624e-05/0.2385, allocations: 193 kB / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.2385, allocations: 105 kB / 0.9887 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.2386, allocations: 112.8 kB / 0.9888 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.2386, allocations: 184.1 kB / 0.989 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.404e-05/0.2387, allocations: 176.3 kB / 0.9892 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/0.2387, allocations: 188.2 kB / 0.9894 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.2389, allocations: 417.2 kB / 0.9898 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.2389, allocations: 101 kB / 0.9899 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.239, allocations: 108.9 kB / 0.99 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.355e-05/0.239, allocations: 180.3 kB / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.239, allocations: 192.2 kB / 0.9903 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.001e-05/0.2391, allocations: 176.3 kB / 0.9905 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.409e-05/0.2391, allocations: 184.2 kB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.754e-05/0.2392, allocations: 311.9 kB / 0.991 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.2393, allocations: 185.9 kB / 0.9911 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.2393, allocations: 192.3 kB / 0.9913 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.2394, allocations: 101 kB / 0.9914 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.2395, allocations: 180.2 kB / 0.9916 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.2395, allocations: 101 kB / 0.9917 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.2396, allocations: 99.27 kB / 0.9918 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2396, allocations: 0 / 0.9918 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009594/0.2406, allocations: 283.8 kB / 0.9921 GB, free: 13.73 MB / 0.6198 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 (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.001464/0.2421, allocations: 0.5144 MB / 0.9926 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.2422, allocations: 37.64 kB / 0.9926 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2422, allocations: 0 / 0.9926 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-06/0.2423, allocations: 0 / 0.9926 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.2426, allocations: 0.5341 MB / 0.9931 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.2429, allocations: 255.7 kB / 0.9934 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.2431, allocations: 0.6926 MB / 0.994 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.2431, allocations: 0 / 0.994 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.2431, allocations: 7.438 kB / 0.994 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.2431, allocations: 0 / 0.994 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.01311/0.2562, allocations: 5.511 MB / 0.9994 GB, free: 6.16 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)