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.0009345/0.0009345, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002166, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000968/0.000968, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001221/0.002189, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.8738/0.8738, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07796/0.9518, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.805/1.805, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4283/2.233, allocations: 127.1 MB / 0.7432 GB, free: 4.617 MB / 0.7136 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.243e-06/1.243e-06, allocations: 0 / 0.7445 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.818e-05, allocations: 5.5 kB / 0.7445 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003734/0.003752, allocations: 4.238 MB / 0.7487 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.006417, allocations: 2.475 MB / 0.7511 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.006588, allocations: 8 kB / 0.7511 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009217/0.00751, allocations: 0.5352 MB / 0.7516 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.007784, allocations: 257.8 kB / 0.7518 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.007932, allocations: 143.8 kB / 0.752 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005138/0.008446, allocations: 0.8445 MB / 0.7528 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.008686, allocations: 217 kB / 0.753 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004416/0.009128, allocations: 0.5408 MB / 0.7535 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.009337, allocations: 247.3 kB / 0.7538 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.009392, allocations: 76 kB / 0.7539 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.81e-05/0.00946, allocations: 76 kB / 0.7539 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.841e-05/0.009558, allocations: 146.9 kB / 0.7541 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.009717, allocations: 227.6 kB / 0.7543 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.01008, allocations: 488.6 kB / 0.7547 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.01009, allocations: 3.938 kB / 0.7548 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.41e-07/0.0101, allocations: 0 / 0.7548 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.01011, allocations: 0 / 0.7548 GB, free: 8.836 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.0008419/0.01095, allocations: 0.9938 MB / 0.7557 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.01098, allocations: 8.031 kB / 0.7557 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.01115, allocations: 88.86 kB / 0.7558 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.01143, allocations: 292.7 kB / 0.7561 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.01145, allocations: 39.03 kB / 0.7561 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.01149, allocations: 52.33 kB / 0.7562 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.01175, allocations: 287.7 kB / 0.7565 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.01177, allocations: 192 / 0.7565 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.01179, allocations: 21.06 kB / 0.7565 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.0118, allocations: 15.94 kB / 0.7565 GB, free: 7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.01195, allocations: 131.9 kB / 0.7566 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008807/0.01283, allocations: 0.8648 MB / 0.7575 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.013, allocations: 163.9 kB / 0.7576 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.01314, allocations: 155 kB / 0.7578 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.01316, allocations: 8.875 kB / 0.7578 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.01317, allocations: 43.19 kB / 0.7578 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.01318, allocations: 0 / 0.7578 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.0002396/0.01342, allocations: 217.7 kB / 0.758 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.01344, allocations: 60.19 kB / 0.7581 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.01363, allocations: 343.3 kB / 0.7584 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.01365, allocations: 34.8 kB / 0.7584 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.01373, allocations: 237.4 kB / 0.7587 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.523e-05/0.0138, allocations: 150.7 kB / 0.7588 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.01386, allocations: 63.52 kB / 0.7589 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.01394, allocations: 362.7 kB / 0.7592 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.01398, allocations: 36.67 kB / 0.7593 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.402e-05/0.01403, allocations: 45.23 kB / 0.7593 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.01414, allocations: 134 kB / 0.7594 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01414, allocations: 4 kB / 0.7594 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001583/0.0143, allocations: 185.3 kB / 0.7596 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.01431, allocations: 5.062 kB / 0.7596 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01432, allocations: 4 kB / 0.7596 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.702e-06/0.01432, allocations: 0 / 0.7596 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.01476, allocations: 210.6 kB / 0.7598 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.01476, allocations: 3.938 kB / 0.7598 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.01484, allocations: 31.78 kB / 0.7598 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.01485, allocations: 4.719 kB / 0.7599 GB, free: 3.477 MB / 0.7292 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.692e-05/0.01493, allocations: 133.7 kB / 0.76 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.01497, allocations: 47.89 kB / 0.76 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.01503, allocations: 52.81 kB / 0.7601 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01503, allocations: 5.438 kB / 0.7601 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.01503, allocations: 0 / 0.7601 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01504, allocations: 7.984 kB / 0.7601 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.01528, allocations: 293.4 kB / 0.7604 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01528, allocations: 1.531 kB / 0.7604 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.01564, allocations: 204.5 kB / 0.7606 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.01569, allocations: 47.55 kB / 0.7606 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01569, allocations: 4 kB / 0.7606 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01571, allocations: 12 kB / 0.7606 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01571, allocations: 4.531 kB / 0.7606 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01571, allocations: 0.625 kB / 0.7606 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.01599, allocations: 372.8 kB / 0.761 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.01601, allocations: 4 kB / 0.761 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.0161, allocations: 11.03 kB / 0.761 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.01613, allocations: 27.95 kB / 0.761 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.01614, allocations: 8 kB / 0.761 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001032/0.01624, allocations: 152.7 kB / 0.7612 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01624, allocations: 0 / 0.7612 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001993/0.01644, allocations: 147.6 kB / 0.7613 GB, free: 1.945 MB / 0.7292 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.26e-05/0.01651, allocations: 103.1 kB / 0.7614 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.01667, allocations: 156.4 kB / 0.7616 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.01668, allocations: 8 kB / 0.7616 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.01675, allocations: 97.02 kB / 0.7617 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.01705, allocations: 161.5 kB / 0.7618 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.02315, allocations: 1.004 MB / 0.7628 GB, free: 396 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.365e-05/0.02322, allocations: 137.8 kB / 0.7629 GB, free: 240 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.02333, allocations: 52.06 kB / 0.763 GB, free: 192 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.02351, allocations: 153.2 kB / 0.7631 GB, free: 40 kB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.02351, allocations: 0 / 0.7631 GB, free: 40 kB / 0.7292 GB Notification: Performance of Templates: time 0.008471/0.03199, allocations: 6.544 MB / 0.7695 GB, free: 9.848 MB / 0.7448 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.561764607205987]