Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009327/0.0009327, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001424/0.001424, allocations: 165 kB / 23.02 MB, free: 1.551 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.8931/0.8931, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001578/0.001578, allocations: 236 kB / 260.2 MB, free: 12.82 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.6748/0.6748, allocations: 138.4 MB / 455.2 MB, free: 1.527 MB / 362.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.537e-06/3.537e-06, allocations: 4 kB / 0.5552 GB, free: 460 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.778e-05, allocations: 2.312 kB / 0.5552 GB, free: 456 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004376/0.004393, allocations: 3.113 MB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.007384, allocations: 2.149 MB / 0.5603 GB, free: 11.15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.00755, allocations: 4 kB / 0.5603 GB, free: 11.15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.008927, allocations: 461.6 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.009227, allocations: 162.7 kB / 0.5609 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.009357, allocations: 59.94 kB / 0.561 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.009855, allocations: 473.6 kB / 0.5614 GB, free: 10.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.01007, allocations: 99.77 kB / 0.5615 GB, free: 9.91 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.01043, allocations: 247.4 kB / 0.5618 GB, free: 9.668 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.01065, allocations: 139.6 kB / 0.5619 GB, free: 9.531 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.01071, allocations: 32 kB / 0.5619 GB, free: 9.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.01077, allocations: 36 kB / 0.562 GB, free: 9.465 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.01088, allocations: 95.67 kB / 0.562 GB, free: 9.371 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.01104, allocations: 147.6 kB / 0.5622 GB, free: 9.227 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.01142, allocations: 283 kB / 0.5625 GB, free: 8.949 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01142, allocations: 4 kB / 0.5625 GB, free: 8.945 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01142, allocations: 0 / 0.5625 GB, free: 8.945 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.01143, allocations: 4 kB / 0.5625 GB, free: 8.941 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000942/0.01237, allocations: 0.7445 MB / 0.5632 GB, free: 8.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.01241, allocations: 12.03 kB / 0.5632 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.01251, allocations: 68.59 kB / 0.5633 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.01295, allocations: 310.7 kB / 0.5636 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.01297, allocations: 24.81 kB / 0.5636 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.01302, allocations: 16.38 kB / 0.5636 GB, free: 7.707 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.01335, allocations: 161.4 kB / 0.5638 GB, free: 7.539 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.01337, allocations: 192 / 0.5638 GB, free: 7.539 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.01339, allocations: 8.375 kB / 0.5638 GB, free: 7.531 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.0134, allocations: 11.94 kB / 0.5638 GB, free: 7.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.01362, allocations: 78.88 kB / 0.5638 GB, free: 7.445 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.01466, allocations: 0.6981 MB / 0.5645 GB, free: 6.707 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.01488, allocations: 105.9 kB / 0.5646 GB, free: 6.594 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.01501, allocations: 63.17 kB / 0.5647 GB, free: 6.531 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.01502, allocations: 4.312 kB / 0.5647 GB, free: 6.527 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.01505, allocations: 37.39 kB / 0.5647 GB, free: 6.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.01505, allocations: 0 / 0.5647 GB, free: 6.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003642/0.01541, allocations: 169.3 kB / 0.5649 GB, free: 6.309 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.01545, allocations: 55.41 kB / 0.5649 GB, free: 6.242 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/0.01593, allocations: 446.8 kB / 0.5654 GB, free: 5.793 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01595, allocations: 25.7 kB / 0.5654 GB, free: 5.762 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.01612, allocations: 275.2 kB / 0.5657 GB, free: 5.488 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.01619, allocations: 67.42 kB / 0.5657 GB, free: 5.422 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.01625, allocations: 35.38 kB / 0.5658 GB, free: 5.379 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.01645, allocations: 0.5391 MB / 0.5663 GB, free: 4.828 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.15e-05/0.01652, allocations: 23.98 kB / 0.5663 GB, free: 4.805 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.01658, allocations: 23.98 kB / 0.5663 GB, free: 4.781 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.01673, allocations: 77.94 kB / 0.5664 GB, free: 4.703 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.01673, allocations: 4 kB / 0.5664 GB, free: 4.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002508/0.01698, allocations: 149.4 kB / 0.5665 GB, free: 4.547 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.017, allocations: 8 kB / 0.5666 GB, free: 4.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01701, allocations: 4 kB / 0.5666 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01702, allocations: 0 / 0.5666 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.01724, allocations: 47.97 kB / 0.5666 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.01725, allocations: 0 / 0.5666 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.01736, allocations: 19.83 kB / 0.5666 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.01737, allocations: 4 kB / 0.5666 GB, free: 4.465 MB / 490.7 MB 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.0001194/0.01749, allocations: 172.5 kB / 0.5668 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.01755, allocations: 35.77 kB / 0.5668 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.01762, allocations: 47.39 kB / 0.5669 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01762, allocations: 0 / 0.5669 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01763, allocations: 0 / 0.5669 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01763, allocations: 4 kB / 0.5669 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.01802, allocations: 308.3 kB / 0.5672 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01802, allocations: 4 kB / 0.5672 GB, free: 3.855 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.01824, allocations: 51.91 kB / 0.5672 GB, free: 3.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.01824, allocations: 0 / 0.5672 GB, free: 3.805 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.01826, allocations: 4 kB / 0.5672 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01827, allocations: 4 kB / 0.5672 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01827, allocations: 4 kB / 0.5672 GB, free: 3.793 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.01865, allocations: 330.5 kB / 0.5676 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.01872, allocations: 35.75 kB / 0.5676 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.01876, allocations: 8 kB / 0.5676 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.01889, allocations: 0 / 0.5676 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.01894, allocations: 19.97 kB / 0.5676 GB, free: 3.391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.01895, allocations: 0 / 0.5676 GB, free: 3.391 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002926/0.01924, allocations: 287.1 kB / 0.5679 GB, free: 3.117 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01924, allocations: 0 / 0.5679 GB, free: 3.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003365/0.01958, allocations: 79.77 kB / 0.568 GB, free: 3.039 MB / 490.7 MB 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.0001004/0.01968, allocations: 115.2 kB / 0.5681 GB, free: 2.918 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.01989, allocations: 82.86 kB / 0.5682 GB, free: 2.836 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0199, allocations: 0 / 0.5682 GB, free: 2.836 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.291e-05/0.01999, allocations: 55.59 kB / 0.5682 GB, free: 2.777 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.02048, allocations: 92.31 kB / 0.5683 GB, free: 2.688 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.02177, allocations: 0.6521 MB / 0.5689 GB, free: 2.004 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.599e-05/0.02185, allocations: 108.3 kB / 0.569 GB, free: 1.879 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.776e-05/0.02194, allocations: 26.97 kB / 0.5691 GB, free: 1.855 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.022, allocations: 24.5 kB / 0.5691 GB, free: 1.832 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.022, allocations: 0 / 0.5691 GB, free: 1.832 MB / 490.7 MB Notification: Performance of Templates: time 0.007605/0.02961, allocations: 3.663 MB / 0.5727 GB, free: 14.29 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5171916680410504]