Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009855/0.0009855, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8716/0.8716, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.813/1.813, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_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=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.753e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00526/0.005278, allocations: 4.17 MB / 0.7793 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.008353, allocations: 2.444 MB / 0.7817 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.008537, allocations: 15.94 kB / 0.7817 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009921/0.009529, allocations: 0.53 MB / 0.7822 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.009802, allocations: 255.5 kB / 0.7825 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.009948, allocations: 136.9 kB / 0.7826 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.01046, allocations: 0.8405 MB / 0.7834 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.01072, allocations: 225.9 kB / 0.7836 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.01112, allocations: 467 kB / 0.7841 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.01135, allocations: 248.6 kB / 0.7843 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.01141, allocations: 76 kB / 0.7844 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.15e-05/0.01147, allocations: 72 kB / 0.7845 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.01158, allocations: 175.4 kB / 0.7846 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.01174, allocations: 268.5 kB / 0.7849 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.0121, allocations: 0.5061 MB / 0.7854 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.0121, allocations: 0 / 0.7854 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.01e-07/0.0121, allocations: 1.062 kB / 0.7854 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.0121, allocations: 0 / 0.7854 GB, free: 10.97 MB / 0.7448 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.000749/0.01285, allocations: 0.8539 MB / 0.7862 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.01288, allocations: 12.61 kB / 0.7862 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.023e-05/0.01296, allocations: 85.44 kB / 0.7863 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.01325, allocations: 293.4 kB / 0.7866 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.01327, allocations: 33.38 kB / 0.7866 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.01331, allocations: 52.33 kB / 0.7867 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.01357, allocations: 288.4 kB / 0.7869 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.01359, allocations: 4.188 kB / 0.7869 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.01361, allocations: 29.69 kB / 0.787 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.01362, allocations: 15.94 kB / 0.787 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.01377, allocations: 130.9 kB / 0.7871 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.01465, allocations: 0.8536 MB / 0.788 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.01481, allocations: 167.2 kB / 0.7881 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.01495, allocations: 165.2 kB / 0.7883 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.01497, allocations: 4 kB / 0.7883 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.01499, allocations: 42.34 kB / 0.7883 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 1.242e-06/0.01499, allocations: 1.406 kB / 0.7883 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0002474/0.01524, allocations: 217.2 kB / 0.7885 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.01526, allocations: 63.33 kB / 0.7886 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.01546, allocations: 344.6 kB / 0.7889 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.01547, allocations: 29.7 kB / 0.7889 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.01555, allocations: 237.4 kB / 0.7892 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/0.01563, allocations: 146.7 kB / 0.7893 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.01568, allocations: 63.48 kB / 0.7894 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.01577, allocations: 362.7 kB / 0.7897 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.01581, allocations: 32.73 kB / 0.7897 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/0.01586, allocations: 45.48 kB / 0.7898 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.01597, allocations: 135.6 kB / 0.7899 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01598, allocations: 0 / 0.7899 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001659/0.01614, allocations: 185 kB / 0.7901 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.01615, allocations: 8 kB / 0.7901 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.01616, allocations: 0.6562 kB / 0.7901 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01617, allocations: 4.641 kB / 0.7901 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.01641, allocations: 122.8 kB / 0.7902 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01641, allocations: 4 kB / 0.7902 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.01649, allocations: 31.77 kB / 0.7903 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.0165, allocations: 8 kB / 0.7903 GB, free: 5.824 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.01659, allocations: 128.6 kB / 0.7904 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.01662, allocations: 39.91 kB / 0.7904 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.01667, allocations: 59.92 kB / 0.7905 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.01668, allocations: 4 kB / 0.7905 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01668, allocations: 4 kB / 0.7905 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01668, allocations: 7.922 kB / 0.7905 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.01693, allocations: 297.2 kB / 0.7908 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01693, allocations: 0 / 0.7908 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.01717, allocations: 119.9 kB / 0.7909 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.01717, allocations: 5.812 kB / 0.7909 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.01719, allocations: 8 kB / 0.7909 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01719, allocations: 4 kB / 0.7909 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01719, allocations: 0 / 0.7909 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.01746, allocations: 368.3 kB / 0.7913 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.01751, allocations: 42.88 kB / 0.7913 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.01753, allocations: 12 kB / 0.7913 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.01762, allocations: 12 kB / 0.7913 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.01766, allocations: 27.94 kB / 0.7914 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.01766, allocations: 4 kB / 0.7914 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001056/0.01777, allocations: 152.7 kB / 0.7915 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01777, allocations: 0 / 0.7915 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002091/0.01798, allocations: 151.6 kB / 0.7916 GB, free: 4.367 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.562e-05/0.01805, allocations: 95.14 kB / 0.7917 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.01823, allocations: 168.5 kB / 0.7919 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01823, allocations: 4 kB / 0.7919 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.204e-05/0.01832, allocations: 100.5 kB / 0.792 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.01859, allocations: 107.5 kB / 0.7921 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01963, allocations: 0.9588 MB / 0.793 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.0197, allocations: 125.8 kB / 0.7932 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.638e-05/0.0198, allocations: 41.92 kB / 0.7932 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.01996, allocations: 139.3 kB / 0.7933 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of SimCode: time 4.5e-07/0.01996, allocations: 2.406 kB / 0.7933 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of Templates: time 0.007244/0.0272, allocations: 5.359 MB / 0.7986 GB, free: 13.52 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.692770059220493]