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.001916/0.001916, allocations: 80.45 kB / 19.95 MB, free: 4.605 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.002102/0.002102, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.642/1.642, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 3.085/3.085, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.603e-06/1.603e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.601e-05/3.761e-05, allocations: 6.219 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006611/0.006648, allocations: 3.803 MB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.01097, allocations: 2.23 MB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003866/0.01135, allocations: 15.94 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.0132, allocations: 0.509 MB / 1.008 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.01381, allocations: 253.8 kB / 1.008 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.01409, allocations: 143.8 kB / 1.008 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.0151, allocations: 0.8444 MB / 1.009 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.01552, allocations: 219 kB / 1.009 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006919/0.01622, allocations: 467 kB / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.0166, allocations: 239.3 kB / 1.01 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.0167, allocations: 76 kB / 1.01 GB, free: 4.184 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.01683, allocations: 72 kB / 1.01 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.01704, allocations: 179.3 kB / 1.01 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.01737, allocations: 259.5 kB / 1.01 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.01881, allocations: 1.004 MB / 1.011 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.01882, allocations: 4 kB / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01882, allocations: 0 / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.01883, allocations: 0 / 1.011 GB, free: 2.676 MB / 0.9636 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.001627/0.02046, allocations: 0.8821 MB / 1.012 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.0205, allocations: 8.625 kB / 1.012 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.02064, allocations: 76.47 kB / 1.012 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.02131, allocations: 399.5 kB / 1.013 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.02136, allocations: 37.38 kB / 1.013 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.633e-05/0.02145, allocations: 48.33 kB / 1.013 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008237/0.02227, allocations: 427 kB / 1.013 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.02229, allocations: 192 / 1.013 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.02234, allocations: 20.38 kB / 1.013 GB, free: 0.7422 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.02236, allocations: 19.94 kB / 1.013 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000785/0.02314, allocations: 367.8 kB / 1.013 GB, free: 368 kB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.02526, allocations: 1.164 MB / 1.015 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.02584, allocations: 311.2 kB / 1.015 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.02638, allocations: 285.4 kB / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.02641, allocations: 4 kB / 1.015 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.02645, allocations: 46.5 kB / 1.015 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=42): time 1.553e-06/0.02645, allocations: 0 / 1.015 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of matching and sorting (n=42): time 0.001051/0.0275, allocations: 489.3 kB / 1.016 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.02756, allocations: 67.27 kB / 1.016 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/0.02816, allocations: 438 kB / 1.016 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.0282, allocations: 33.7 kB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.02845, allocations: 280.5 kB / 1.016 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.02861, allocations: 154.6 kB / 1.017 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.02873, allocations: 66.08 kB / 1.017 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.02895, allocations: 358.8 kB / 1.017 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.02922, allocations: 116.7 kB / 1.017 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.02949, allocations: 129.4 kB / 1.017 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.03008, allocations: 298.1 kB / 1.017 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.03008, allocations: 0 / 1.017 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001012/0.03109, allocations: 388.6 kB / 1.018 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.03111, allocations: 4 kB / 1.018 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.03112, allocations: 0 / 1.018 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.03114, allocations: 7.938 kB / 1.018 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.03166, allocations: 127.8 kB / 1.018 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.03167, allocations: 3.984 kB / 1.018 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.03187, allocations: 27.84 kB / 1.018 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.0319, allocations: 12 kB / 1.018 GB, free: 11.51 MB / 0.9792 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 0.0002699/0.03217, allocations: 201.7 kB / 1.018 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.03225, allocations: 47.67 kB / 1.018 GB, free: 11.25 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.03236, allocations: 56.81 kB / 1.018 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.03237, allocations: 8 kB / 1.018 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.03238, allocations: 3.938 kB / 1.018 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.03239, allocations: 3.984 kB / 1.018 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.03301, allocations: 416.9 kB / 1.019 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.03302, allocations: 11.92 kB / 1.019 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.03354, allocations: 123.9 kB / 1.019 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.03355, allocations: 4 kB / 1.019 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.03357, allocations: 8 kB / 1.019 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.03357, allocations: 0 / 1.019 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.03358, allocations: 3.984 kB / 1.019 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.03468, allocations: 0.6443 MB / 1.02 GB, free: 9.938 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.03479, allocations: 63.73 kB / 1.02 GB, free: 9.875 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.03484, allocations: 4 kB / 1.02 GB, free: 9.871 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.03504, allocations: 23.98 kB / 1.02 GB, free: 9.848 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.03512, allocations: 31.81 kB / 1.02 GB, free: 9.816 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.03514, allocations: 12 kB / 1.02 GB, free: 9.805 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004051/0.03555, allocations: 315.1 kB / 1.02 GB, free: 9.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.03555, allocations: 0 / 1.02 GB, free: 9.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000448/0.03599, allocations: 147.7 kB / 1.02 GB, free: 9.355 MB / 0.9792 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 0.0001949/0.03619, allocations: 111.2 kB / 1.02 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006669/0.03685, allocations: 307.4 kB / 1.02 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.03686, allocations: 4 kB / 1.02 GB, free: 8.934 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.03718, allocations: 163.8 kB / 1.021 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.03776, allocations: 99.73 kB / 1.021 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.03974, allocations: 1.09 MB / 1.022 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.04006, allocations: 263.2 kB / 1.022 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.04024, allocations: 51.38 kB / 1.022 GB, free: 7.219 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.04033, allocations: 32.5 kB / 1.022 GB, free: 7.188 MB / 0.9792 GB Notification: Performance of SimCode: time 5.61e-07/0.04033, allocations: 0 / 1.022 GB, free: 7.188 MB / 0.9792 GB Notification: Performance of Templates: time 0.01184/0.05218, allocations: 4.959 MB / 1.027 GB, free: 2.375 MB / 0.9792 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: 8.960037651471794]