Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.0006842/0.0006842, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008843/0.001568, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006826/0.0006826, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008588/0.001541, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8712/0.8712, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06949/0.9407, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001209/0.001209, allocations: 244.6 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009629/0.002172, allocations: 467.5 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6569/0.6569, allocations: 138.7 MB / 384.1 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06174/0.7187, allocations: 42.4 MB / 426.5 MB, free: 5.953 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 427.8 MB, free: 4.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.831e-05, allocations: 2.312 kB / 427.8 MB, free: 4.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002294/0.002313, allocations: 1.531 MB / 429.4 MB, free: 3.035 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004133/0.006446, allocations: 2.825 MB / 432.2 MB, free: 196 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.006476, allocations: 0 / 432.2 MB, free: 196 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.006488, allocations: 3.938 kB / 432.2 MB, free: 192 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.006532, allocations: 19.8 kB / 432.2 MB, free: 172 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.164/0.1705, allocations: 1.544 MB / 433.8 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.111e-05/0.1706, allocations: 44.5 kB / 433.8 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.1707, allocations: 10.05 kB / 433.8 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.084e-05/0.1707, allocations: 34.3 kB / 433.9 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.085e-05/0.1707, allocations: 9.828 kB / 433.9 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1707, allocations: 2.719 kB / 433.9 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.1728, allocations: 1.552 MB / 435.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.1728, allocations: 5.625 kB / 435.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.1728, allocations: 12.84 kB / 435.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.1743, allocations: 1.06 MB / 436.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.1743, allocations: 0 / 436.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1743, allocations: 0 / 436.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1743, allocations: 1.906 kB / 436.5 MB, free: 1.105 MB / 410.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.0008151/0.1751, allocations: 0.5301 MB / 437 MB, free: 16.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1752, allocations: 9.781 kB / 437 MB, free: 16.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.1752, allocations: 79.31 kB / 437.1 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.675e-05/0.1753, allocations: 193.8 kB / 437.3 MB, free: 16.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.1753, allocations: 151.5 kB / 437.4 MB, free: 16.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.1754, allocations: 160.9 kB / 437.6 MB, free: 16.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.259e-05/0.1754, allocations: 103.6 kB / 437.7 MB, free: 16.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1754, allocations: 75.47 kB / 437.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.1755, allocations: 156.2 kB / 437.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.1755, allocations: 155.6 kB / 438.1 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.1755, allocations: 159.2 kB / 438.2 MB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.1757, allocations: 360.8 kB / 438.6 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.169e-05/0.1757, allocations: 168.7 kB / 438.8 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.1757, allocations: 80.89 kB / 438.8 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1758, allocations: 79.08 kB / 438.9 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1758, allocations: 112.2 kB / 439 MB, free: 14.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.1758, allocations: 0 / 439 MB, free: 14.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.464e-05/0.1758, allocations: 28.28 kB / 439.1 MB, free: 14.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1759, allocations: 128.8 kB / 439.2 MB, free: 14.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.176, allocations: 139.4 kB / 439.3 MB, free: 14.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.972e-06/0.176, allocations: 26.8 kB / 439.3 MB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.176, allocations: 93.58 kB / 439.4 MB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.176, allocations: 1.062 kB / 439.4 MB, free: 14.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.176, allocations: 18.23 kB / 439.4 MB, free: 14.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.1761, allocations: 323.1 kB / 439.8 MB, free: 14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.1761, allocations: 2.188 kB / 439.8 MB, free: 14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.1761, allocations: 1.406 kB / 439.8 MB, free: 14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.1761, allocations: 12.25 kB / 439.8 MB, free: 14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1761, allocations: 0 / 439.8 MB, free: 14 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.65e-05/0.1762, allocations: 44.88 kB / 439.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1762, allocations: 7.375 kB / 439.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.1762, allocations: 1.406 kB / 439.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.1762, allocations: 0.7969 kB / 439.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.557e-06/0.1762, allocations: 0.5938 kB / 439.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.1762, allocations: 1.25 kB / 439.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.1763, allocations: 5.562 kB / 439.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1763, allocations: 1.984 kB / 439.8 MB, free: 13.96 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 5.848e-05/0.1763, allocations: 187.4 kB / 440 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1763, allocations: 108.4 kB / 440.1 MB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.1764, allocations: 112 kB / 440.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/0.1764, allocations: 184.3 kB / 440.4 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.418e-05/0.1765, allocations: 182.8 kB / 440.6 MB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.715e-05/0.1765, allocations: 181.7 kB / 440.8 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1766, allocations: 326.7 kB / 441.1 MB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/0.1766, allocations: 106.3 kB / 441.2 MB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.1767, allocations: 106.8 kB / 441.3 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.1767, allocations: 112.7 kB / 441.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.811e-05/0.1767, allocations: 181.3 kB / 441.6 MB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.1768, allocations: 184 kB / 441.8 MB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.531e-05/0.1768, allocations: 181.1 kB / 441.9 MB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-05/0.1768, allocations: 182.4 kB / 442.1 MB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.078e-05/0.1769, allocations: 310.7 kB / 442.4 MB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.177, allocations: 181.1 kB / 442.6 MB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.177, allocations: 106 kB / 442.7 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.177, allocations: 180.1 kB / 442.9 MB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.1771, allocations: 106.7 kB / 443 MB, free: 10.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.427e-05/0.1771, allocations: 28.62 kB / 443 MB, free: 10.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1771, allocations: 0.5312 kB / 443 MB, free: 10.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006273/0.1777, allocations: 295.4 kB / 443.3 MB, free: 10.7 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.0008811/0.1786, allocations: 0.5949 MB / 443.9 MB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.931e-05/0.1787, allocations: 40.08 kB / 443.9 MB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1787, allocations: 5.422 kB / 443.9 MB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.1787, allocations: 2 kB / 443.9 MB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1789, allocations: 480.5 kB / 444.4 MB, free: 9.984 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.1795, allocations: 229.5 kB / 444.6 MB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.1795, allocations: 58.73 kB / 444.7 MB, free: 9.723 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.327e-05/0.1795, allocations: 2.5 kB / 444.7 MB, free: 9.723 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1796, allocations: 56.02 kB / 444.8 MB, free: 9.68 MB / 426.7 MB Notification: Performance of SimCode: time 6.32e-07/0.1796, allocations: 1.062 kB / 444.8 MB, free: 9.68 MB / 426.7 MB Notification: Performance of Templates: time 0.008816/0.1884, allocations: 7.347 MB / 452.1 MB, free: 6.965 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3938615564256907]