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.001043/0.001043, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002577, allocations: 440 kB / 10.41 MB, free: 284 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.001052/0.001052, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002463, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9323/0.9323, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07568/1.008, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.00124/0.00124, allocations: 234.9 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009941/0.002234, allocations: 467.4 kB / 244.8 MB, free: 14.08 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.6456/0.6456, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06563/0.7113, allocations: 42.41 MB / 426.7 MB, free: 5.828 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.193e-06/1.193e-06, allocations: 0 / 428.1 MB, free: 4.441 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.99e-05, allocations: 2.312 kB / 428.1 MB, free: 4.438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001761/0.001781, allocations: 1.531 MB / 429.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002843/0.004624, allocations: 2.84 MB / 432.5 MB, free: 32 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.004652, allocations: 0 / 432.5 MB, free: 32 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.237e-06/0.004661, allocations: 3.938 kB / 432.5 MB, free: 28 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.05e-05/0.004691, allocations: 11.86 kB / 432.5 MB, free: 16 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1979/0.2025, allocations: 1.54 MB / 434 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.2026, allocations: 47.45 kB / 434.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.2027, allocations: 6.219 kB / 434.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.2027, allocations: 37.09 kB / 434.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.268e-05/0.2027, allocations: 8.969 kB / 434.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.2028, allocations: 5.062 kB / 434.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.2047, allocations: 1.553 MB / 435.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.2047, allocations: 3.531 kB / 435.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.2047, allocations: 12.12 kB / 435.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.2061, allocations: 1.064 MB / 436.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.592e-05/0.2062, allocations: 3.312 kB / 436.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2062, allocations: 2.562 kB / 436.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.2062, allocations: 0 / 436.8 MB, free: 1.055 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.000929/0.2071, allocations: 0.5222 MB / 437.3 MB, free: 16.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2071, allocations: 10.41 kB / 437.3 MB, free: 16.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.2072, allocations: 80.45 kB / 437.4 MB, free: 16.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.407e-05/0.2073, allocations: 196.4 kB / 437.6 MB, free: 16.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.2073, allocations: 155.1 kB / 437.7 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.2073, allocations: 152.2 kB / 437.9 MB, free: 16.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.258e-05/0.2074, allocations: 109.7 kB / 438 MB, free: 16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.2074, allocations: 75.47 kB / 438.1 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.2074, allocations: 154.1 kB / 438.2 MB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.2075, allocations: 160.2 kB / 438.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.2075, allocations: 153.1 kB / 438.5 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.2076, allocations: 356.6 kB / 438.9 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.313e-05/0.2077, allocations: 171.4 kB / 439 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.2077, allocations: 81.75 kB / 439.1 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.2077, allocations: 76.56 kB / 439.2 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.2078, allocations: 109.1 kB / 439.3 MB, free: 14.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.2078, allocations: 0 / 439.3 MB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.896e-05/0.2078, allocations: 33.25 kB / 439.3 MB, free: 14.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.2078, allocations: 131.6 kB / 439.5 MB, free: 14.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.2079, allocations: 138 kB / 439.6 MB, free: 14.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.2079, allocations: 26.33 kB / 439.6 MB, free: 14.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.208, allocations: 86.89 kB / 439.7 MB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-06/0.208, allocations: 0.625 kB / 439.7 MB, free: 14.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.208, allocations: 18.95 kB / 439.7 MB, free: 14.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.2081, allocations: 325 kB / 440 MB, free: 13.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.2081, allocations: 1.719 kB / 440 MB, free: 13.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.2081, allocations: 9.5 kB / 440 MB, free: 13.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.2081, allocations: 14.5 kB / 440.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2081, allocations: 0.5938 kB / 440.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.682e-05/0.2082, allocations: 40.75 kB / 440.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.2082, allocations: 7 kB / 440.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.2082, allocations: 0.7031 kB / 440.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.2082, allocations: 6.781 kB / 440.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.2082, allocations: 0 / 440.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.2082, allocations: 0.6094 kB / 440.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.2082, allocations: 9.375 kB / 440.1 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2082, allocations: 1.969 kB / 440.1 MB, free: 13.91 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.627e-05/0.2083, allocations: 184.6 kB / 440.3 MB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.2083, allocations: 107.8 kB / 440.4 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.2084, allocations: 114.3 kB / 440.5 MB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/0.2084, allocations: 181.9 kB / 440.7 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/0.2084, allocations: 180 kB / 440.9 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/0.2085, allocations: 182.6 kB / 441.1 MB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2086, allocations: 325.9 kB / 441.4 MB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/0.2086, allocations: 106.1 kB / 441.5 MB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.2086, allocations: 107.2 kB / 441.6 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.2087, allocations: 110.2 kB / 441.7 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.829e-05/0.2087, allocations: 185.8 kB / 441.9 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.2087, allocations: 180 kB / 442 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.743e-05/0.2088, allocations: 182.8 kB / 442.2 MB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.55e-05/0.2088, allocations: 177.4 kB / 442.4 MB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.981e-05/0.2089, allocations: 309.1 kB / 442.7 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.2089, allocations: 187.3 kB / 442.9 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.209, allocations: 107.6 kB / 443 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.209, allocations: 182.8 kB / 443.2 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.209, allocations: 103.1 kB / 443.3 MB, free: 10.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.2091, allocations: 25.95 kB / 443.3 MB, free: 10.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2091, allocations: 0 / 443.3 MB, free: 10.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006977/0.2098, allocations: 299.5 kB / 443.6 MB, free: 10.65 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.000869/0.2106, allocations: 0.5972 MB / 444.2 MB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.486e-05/0.2107, allocations: 37.8 kB / 444.2 MB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2107, allocations: 4.375 kB / 444.2 MB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.2107, allocations: 0 / 444.2 MB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.211, allocations: 0.5684 MB / 444.8 MB, free: 9.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.2115, allocations: 242.8 kB / 445 MB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.088e-05/0.2116, allocations: 58.44 kB / 445.1 MB, free: 9.547 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.246e-05/0.2116, allocations: 0 / 445.1 MB, free: 9.547 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.2116, allocations: 58.08 kB / 445.1 MB, free: 9.504 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2116, allocations: 0 / 445.1 MB, free: 9.504 MB / 426.7 MB Notification: Performance of Templates: time 0.008604/0.2202, allocations: 7.247 MB / 452.4 MB, free: 6.75 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.4672655360773206]