Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001254/0.001254, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001385/0.001385, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.8644/0.8644, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.001596/0.001596, allocations: 241 kB / 260.5 MB, free: 12.69 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.6596/0.6596, allocations: 138.4 MB / 402.2 MB, free: 0.5586 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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 462.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.413e-05, allocations: 5.391 kB / 462.4 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003273/0.003297, allocations: 1.47 MB / 463.9 MB, free: 15.94 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.006824, allocations: 2.786 MB / 466.7 MB, free: 14.19 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.006865, allocations: 3.938 kB / 466.7 MB, free: 14.18 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.006885, allocations: 7.328 kB / 466.7 MB, free: 14.18 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.619e-05/0.006941, allocations: 12.17 kB / 466.7 MB, free: 14.17 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.009981, allocations: 1.652 MB / 468.4 MB, free: 12.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.942e-05/0.01006, allocations: 43.67 kB / 468.4 MB, free: 12.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.01009, allocations: 3.984 kB / 468.4 MB, free: 12.64 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.74e-05/0.01013, allocations: 19.98 kB / 468.4 MB, free: 12.62 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.973e-05/0.01015, allocations: 16.62 kB / 468.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.01016, allocations: 0 / 468.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.01177, allocations: 1.463 MB / 469.9 MB, free: 11.14 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.01178, allocations: 1.875 kB / 469.9 MB, free: 11.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.01181, allocations: 15.92 kB / 469.9 MB, free: 11.12 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.01309, allocations: 1.253 MB / 471.2 MB, free: 9.867 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01309, allocations: 4 kB / 471.2 MB, free: 9.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0131, allocations: 0 / 471.2 MB, free: 9.863 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.0131, allocations: 0 / 471.2 MB, free: 9.863 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000419/0.01352, allocations: 446.6 kB / 471.6 MB, free: 9.406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.01355, allocations: 8.031 kB / 471.6 MB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.01358, allocations: 76.75 kB / 471.7 MB, free: 9.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.683e-05/0.01367, allocations: 203.1 kB / 471.9 MB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.01371, allocations: 151.6 kB / 472 MB, free: 8.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.01375, allocations: 156.2 kB / 472.2 MB, free: 8.801 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.479e-05/0.01379, allocations: 105.5 kB / 472.3 MB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.01381, allocations: 75.47 kB / 472.4 MB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.01384, allocations: 154.7 kB / 472.5 MB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.01387, allocations: 155.3 kB / 472.7 MB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.01391, allocations: 150.6 kB / 472.8 MB, free: 8.164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.01405, allocations: 357.9 kB / 473.2 MB, free: 7.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.01411, allocations: 169.1 kB / 473.3 MB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.01413, allocations: 85.73 kB / 473.4 MB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.01415, allocations: 79.22 kB / 473.5 MB, free: 7.461 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.01418, allocations: 107.3 kB / 473.6 MB, free: 7.348 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.01418, allocations: 0 / 473.6 MB, free: 7.348 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.515e-05/0.01423, allocations: 34.47 kB / 473.6 MB, free: 7.309 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.01427, allocations: 130.6 kB / 473.8 MB, free: 7.168 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.01435, allocations: 145 kB / 473.9 MB, free: 7.016 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.01436, allocations: 25.7 kB / 473.9 MB, free: 6.984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.01438, allocations: 85.23 kB / 474 MB, free: 6.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.01439, allocations: 0 / 474 MB, free: 6.898 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.01441, allocations: 21.69 kB / 474 MB, free: 6.871 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.01447, allocations: 315.6 kB / 474.3 MB, free: 6.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.01448, allocations: 0 / 474.3 MB, free: 6.555 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.01449, allocations: 4.719 kB / 474.3 MB, free: 6.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.01452, allocations: 14.8 kB / 474.4 MB, free: 6.535 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01452, allocations: 0 / 474.4 MB, free: 6.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.565e-05/0.01458, allocations: 38.33 kB / 474.4 MB, free: 6.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.01459, allocations: 5.375 kB / 474.4 MB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.01461, allocations: 0 / 474.4 MB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.01462, allocations: 4 kB / 474.4 MB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.01462, allocations: 0 / 474.4 MB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.01462, allocations: 4.891 kB / 474.4 MB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.01464, allocations: 7.891 kB / 474.4 MB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.01464, allocations: 2.156 kB / 474.4 MB, free: 6.473 MB / 426.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.184e-05/0.0147, allocations: 185.1 kB / 474.6 MB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.01474, allocations: 106.3 kB / 474.7 MB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.01478, allocations: 118.7 kB / 474.8 MB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/0.01481, allocations: 176.3 kB / 475 MB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.782e-05/0.01485, allocations: 185.2 kB / 475.2 MB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-05/0.01488, allocations: 184.1 kB / 475.4 MB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.015, allocations: 326 kB / 475.7 MB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/0.01502, allocations: 111 kB / 475.8 MB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.01504, allocations: 105 kB / 475.9 MB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.53e-05/0.01508, allocations: 180.3 kB / 476.1 MB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.01512, allocations: 184.7 kB / 476.2 MB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.718e-05/0.01515, allocations: 176.3 kB / 476.4 MB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.092e-05/0.0152, allocations: 186.1 kB / 476.6 MB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.423e-05/0.01528, allocations: 311.6 kB / 476.9 MB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.01531, allocations: 113.4 kB / 477 MB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.01535, allocations: 176.3 kB / 477.2 MB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.0154, allocations: 108.9 kB / 477.3 MB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.01544, allocations: 177.7 kB / 477.5 MB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.01546, allocations: 109.8 kB / 477.6 MB, free: 3.164 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.116e-05/0.01548, allocations: 26.55 kB / 477.6 MB, free: 3.133 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01548, allocations: 0 / 477.6 MB, free: 3.133 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000496/0.01598, allocations: 295.6 kB / 477.9 MB, free: 2.844 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0007195/0.0167, allocations: 0.5569 MB / 478.4 MB, free: 2.281 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.719e-05/0.01677, allocations: 40.47 kB / 478.5 MB, free: 2.234 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01677, allocations: 4 kB / 478.5 MB, free: 2.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01677, allocations: 0 / 478.5 MB, free: 2.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.01699, allocations: 472.3 kB / 478.9 MB, free: 1.766 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.01721, allocations: 218.4 kB / 479.2 MB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.896e-05/0.01724, allocations: 55.34 kB / 479.2 MB, free: 1.457 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.384e-05/0.01725, allocations: 0.5312 kB / 479.2 MB, free: 1.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.01729, allocations: 69.16 kB / 479.3 MB, free: 1.395 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01729, allocations: 0 / 479.3 MB, free: 1.395 MB / 426.7 MB Notification: Performance of Templates: time 0.008804/0.0261, allocations: 7.139 MB / 486.4 MB, free: 10.55 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.489812657237053]