Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001072/0.001072, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001168/0.001168, allocations: 170.5 kB / 25.18 MB, free: 8.328 MB / 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.9146/0.9146, allocations: 177.1 MB / 205.6 MB, free: 4.363 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.909/1.909, allocations: 389.6 MB / 0.6364 GB, free: 13.31 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_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=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.368e-06/4.368e-06, allocations: 4 kB / 0.7756 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.333e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005268/0.005301, allocations: 3.121 MB / 0.7787 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003754/0.009055, allocations: 2.164 MB / 0.7808 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003789/0.009434, allocations: 7.938 kB / 0.7808 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.01124, allocations: 0.4975 MB / 0.7813 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.01164, allocations: 154.8 kB / 0.7814 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.01179, allocations: 59.88 kB / 0.7815 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.01233, allocations: 465.6 kB / 0.7819 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.01256, allocations: 104.5 kB / 0.782 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.01298, allocations: 251.3 kB / 0.7823 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.01321, allocations: 139.6 kB / 0.7824 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.01326, allocations: 36 kB / 0.7824 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.337e-05/0.01333, allocations: 32 kB / 0.7825 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.01345, allocations: 103.6 kB / 0.7826 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.01362, allocations: 143.7 kB / 0.7827 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.01401, allocations: 282.9 kB / 0.783 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.01402, allocations: 0 / 0.783 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/0.01402, allocations: 4 kB / 0.783 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.01403, allocations: 0 / 0.783 GB, free: 6.953 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000851/0.01488, allocations: 0.6042 MB / 0.7836 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.01492, allocations: 11.98 kB / 0.7836 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.015, allocations: 44.89 kB / 0.7836 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.01537, allocations: 259.8 kB / 0.7839 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.01539, allocations: 16.88 kB / 0.7839 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.01544, allocations: 28.38 kB / 0.7839 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.01568, allocations: 145.3 kB / 0.784 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.0157, allocations: 192 / 0.784 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.01572, allocations: 8.375 kB / 0.7841 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.01573, allocations: 11.94 kB / 0.7841 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.01586, allocations: 53.47 kB / 0.7841 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007615/0.01662, allocations: 440.1 kB / 0.7845 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.01678, allocations: 90.45 kB / 0.7846 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.01685, allocations: 45.16 kB / 0.7847 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.01686, allocations: 0 / 0.7847 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.01689, allocations: 46.45 kB / 0.7847 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.01689, allocations: 0 / 0.7847 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0002473/0.01714, allocations: 113.4 kB / 0.7848 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.01718, allocations: 55.41 kB / 0.7849 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.01758, allocations: 311.3 kB / 0.7852 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.0176, allocations: 29.7 kB / 0.7852 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.01769, allocations: 169.3 kB / 0.7854 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.01775, allocations: 67.42 kB / 0.7854 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.01781, allocations: 33.7 kB / 0.7855 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.01793, allocations: 354.7 kB / 0.7858 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.902e-05/0.01797, allocations: 15.98 kB / 0.7858 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.01801, allocations: 16 kB / 0.7858 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.105e-05/0.0181, allocations: 60.55 kB / 0.7859 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.0181, allocations: 0 / 0.7859 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000162/0.01826, allocations: 105.6 kB / 0.786 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.01828, allocations: 4 kB / 0.786 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01829, allocations: 3.938 kB / 0.786 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.0183, allocations: 3.984 kB / 0.786 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.01866, allocations: 87.86 kB / 0.7861 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.01866, allocations: 0 / 0.7861 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.01874, allocations: 7.953 kB / 0.7861 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.01875, allocations: 8 kB / 0.7861 GB, free: 3.598 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 (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.0001175/0.01887, allocations: 124.6 kB / 0.7862 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.01892, allocations: 19.97 kB / 0.7862 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.01898, allocations: 39.41 kB / 0.7863 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01899, allocations: 4 kB / 0.7863 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.01899, allocations: 3.938 kB / 0.7863 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01899, allocations: 0 / 0.7863 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.01927, allocations: 189.6 kB / 0.7865 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01927, allocations: 0 / 0.7865 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.01953, allocations: 75.92 kB / 0.7865 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.01954, allocations: 4 kB / 0.7865 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.01956, allocations: 11.94 kB / 0.7865 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01956, allocations: 0 / 0.7865 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01956, allocations: 0 / 0.7865 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.01983, allocations: 227.3 kB / 0.7868 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.01989, allocations: 43.7 kB / 0.7868 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.01992, allocations: 3.938 kB / 0.7868 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.02003, allocations: 8 kB / 0.7868 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.02007, allocations: 11.97 kB / 0.7868 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.02008, allocations: 4 kB / 0.7868 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001336/0.02021, allocations: 128.7 kB / 0.7869 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02021, allocations: 32 / 0.7869 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002623/0.02048, allocations: 75.89 kB / 0.787 GB, free: 2.598 MB / 0.7448 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 0.0001491/0.02062, allocations: 92.36 kB / 0.7871 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.02078, allocations: 68.72 kB / 0.7872 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.02079, allocations: 4 kB / 0.7872 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.02085, allocations: 52.47 kB / 0.7872 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.02127, allocations: 95.97 kB / 0.7873 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.02253, allocations: 0.6666 MB / 0.788 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.02271, allocations: 198.4 kB / 0.7882 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.02293, allocations: 117.3 kB / 0.7883 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.02293, allocations: 0 / 0.7883 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of Templates: time 0.007062/0.02999, allocations: 4.372 MB / 0.7925 GB, free: 12.9 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.351666387170553]