Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009644/0.0009644, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009856/0.0009856, allocations: 169 kB / 24.06 MB, free: 456 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.876/0.876, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001583/0.001583, allocations: 245.6 kB / 261.3 MB, free: 12.65 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6995/0.6995, allocations: 138.4 MB / 456.3 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.5564 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.917e-05, allocations: 2.859 kB / 0.5564 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003456/0.003475, allocations: 4.146 MB / 0.5604 GB, free: 11.65 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.00585, allocations: 2.386 MB / 0.5628 GB, free: 9.25 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.006058, allocations: 8 kB / 0.5628 GB, free: 9.242 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009828/0.007041, allocations: 0.4972 MB / 0.5633 GB, free: 8.742 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.007338, allocations: 265.8 kB / 0.5635 GB, free: 8.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.007493, allocations: 139.8 kB / 0.5637 GB, free: 8.344 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.008055, allocations: 0.8515 MB / 0.5645 GB, free: 7.492 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.008307, allocations: 227 kB / 0.5647 GB, free: 7.266 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.00871, allocations: 467 kB / 0.5652 GB, free: 6.809 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.008949, allocations: 251.3 kB / 0.5654 GB, free: 6.562 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.009008, allocations: 72 kB / 0.5655 GB, free: 6.492 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.009072, allocations: 76 kB / 0.5655 GB, free: 6.418 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.009178, allocations: 171.4 kB / 0.5657 GB, free: 6.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.009555, allocations: 275.4 kB / 0.566 GB, free: 5.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.009916, allocations: 0.4982 MB / 0.5664 GB, free: 5.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.009917, allocations: 0 / 0.5664 GB, free: 5.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.009918, allocations: 4 kB / 0.5665 GB, free: 5.477 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.009923, allocations: 0 / 0.5665 GB, free: 5.477 MB / 490.7 MB 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.000814/0.01074, allocations: 1.013 MB / 0.5674 GB, free: 4.426 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.01076, allocations: 9.219 kB / 0.5674 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.719e-05/0.01086, allocations: 112.5 kB / 0.5676 GB, free: 4.309 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.01117, allocations: 374.3 kB / 0.5679 GB, free: 3.914 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.01119, allocations: 37.38 kB / 0.5679 GB, free: 3.879 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.01123, allocations: 48.38 kB / 0.568 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.01151, allocations: 283.7 kB / 0.5683 GB, free: 3.547 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.01153, allocations: 8.172 kB / 0.5683 GB, free: 3.539 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.01155, allocations: 16.38 kB / 0.5683 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01156, allocations: 19.88 kB / 0.5683 GB, free: 3.504 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.01174, allocations: 150.8 kB / 0.5685 GB, free: 3.352 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.01275, allocations: 1.117 MB / 0.5695 GB, free: 2.211 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.01293, allocations: 192.7 kB / 0.5697 GB, free: 2.004 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.01309, allocations: 168.4 kB / 0.5699 GB, free: 1.836 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.01311, allocations: 8 kB / 0.5699 GB, free: 1.828 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.01312, allocations: 33.39 kB / 0.5699 GB, free: 1.785 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 2.525e-06/0.01312, allocations: 11.92 kB / 0.5699 GB, free: 1.773 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003095/0.01343, allocations: 298.5 kB / 0.5702 GB, free: 1.477 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.01346, allocations: 55.41 kB / 0.5703 GB, free: 1.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.01372, allocations: 470.5 kB / 0.5707 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.01374, allocations: 29.7 kB / 0.5708 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.01388, allocations: 355.1 kB / 0.5711 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/0.01396, allocations: 162.6 kB / 0.5712 GB, free: 396 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.01402, allocations: 63.7 kB / 0.5713 GB, free: 320 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.01416, allocations: 0.5508 MB / 0.5718 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.01421, allocations: 40.72 kB / 0.5719 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.01427, allocations: 51.7 kB / 0.5719 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.0144, allocations: 148.9 kB / 0.5721 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01441, allocations: 0 / 0.5721 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002183/0.01462, allocations: 248.6 kB / 0.5723 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.01463, allocations: 8 kB / 0.5723 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.01464, allocations: 0 / 0.5723 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.114e-06/0.01464, allocations: 3.984 kB / 0.5723 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.0149, allocations: 119.9 kB / 0.5724 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.0149, allocations: 7.938 kB / 0.5724 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.58e-05/0.01499, allocations: 27.77 kB / 0.5725 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.015, allocations: 12 kB / 0.5725 GB, free: 15.09 MB / 0.4948 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 9.546e-05/0.01509, allocations: 172.5 kB / 0.5726 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.01515, allocations: 63.67 kB / 0.5727 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.01545, allocations: 52.88 kB / 0.5728 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01545, allocations: 8 kB / 0.5728 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.01545, allocations: 0 / 0.5728 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01546, allocations: 11.86 kB / 0.5728 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.01575, allocations: 348.5 kB / 0.5731 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01576, allocations: 0 / 0.5731 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.01602, allocations: 127.9 kB / 0.5732 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01602, allocations: 0 / 0.5732 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.01604, allocations: 8 kB / 0.5732 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01604, allocations: 0 / 0.5732 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01604, allocations: 0 / 0.5732 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.01639, allocations: 471.2 kB / 0.5737 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.01644, allocations: 59.53 kB / 0.5737 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.01647, allocations: 12 kB / 0.5738 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.01656, allocations: 11.98 kB / 0.5738 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.0166, allocations: 27.95 kB / 0.5738 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-06/0.01661, allocations: 8 kB / 0.5738 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001493/0.01676, allocations: 295 kB / 0.5741 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01676, allocations: 3.938 kB / 0.5741 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002397/0.017, allocations: 143.7 kB / 0.5742 GB, free: 13.25 MB / 0.4948 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.328e-05/0.01707, allocations: 115.1 kB / 0.5743 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.01725, allocations: 175.3 kB / 0.5745 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01725, allocations: 0 / 0.5745 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.071e-05/0.01734, allocations: 115.6 kB / 0.5746 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.01767, allocations: 99 kB / 0.5747 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.01875, allocations: 1.031 MB / 0.5757 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.369e-05/0.01882, allocations: 125.8 kB / 0.5758 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.01893, allocations: 40.92 kB / 0.5759 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.0191, allocations: 166.1 kB / 0.576 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.0191, allocations: 0 / 0.576 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.007561/0.02666, allocations: 5.555 MB / 0.5815 GB, free: 5.953 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4667040118947625]