Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001021/0.001021, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.00227, 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.0007189/0.0007189, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009276/0.001646, 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.8765/0.8765, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07504/0.9516, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.00198/0.00198, allocations: 233.3 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.003319, allocations: 475.4 kB / 244.7 MB, free: 14.16 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.6435/0.6435, allocations: 138.7 MB / 384.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05984/0.7033, allocations: 42.4 MB / 426.5 MB, free: 5.938 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 427.8 MB, free: 4.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.335e-06/9.417e-06, allocations: 2.312 kB / 427.8 MB, free: 4.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001459/0.001468, allocations: 1.543 MB / 429.4 MB, free: 3.016 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.004, allocations: 2.825 MB / 432.2 MB, free: 176 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.004022, allocations: 0 / 432.2 MB, free: 176 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.839e-06/0.004032, allocations: 7.922 kB / 432.2 MB, free: 168 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.883e-05/0.004061, allocations: 15.86 kB / 432.2 MB, free: 152 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1737/0.1778, allocations: 1.537 MB / 433.8 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.548e-05/0.1779, allocations: 49.28 kB / 433.8 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.1779, allocations: 4.344 kB / 433.8 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.178, allocations: 36.25 kB / 433.9 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.299e-05/0.178, allocations: 10.17 kB / 433.9 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.178, allocations: 1.25 kB / 433.9 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.1798, allocations: 1.56 MB / 435.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.1798, allocations: 2.375 kB / 435.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.1798, allocations: 12.06 kB / 435.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.1811, allocations: 1.062 MB / 436.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.1811, allocations: 0 / 436.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1811, allocations: 0 / 436.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1811, allocations: 0 / 436.5 MB, free: 1.086 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.0006402/0.1818, allocations: 0.5316 MB / 437 MB, free: 16.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.1818, allocations: 10.31 kB / 437 MB, free: 16.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1818, allocations: 79.98 kB / 437.1 MB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.1819, allocations: 196.2 kB / 437.3 MB, free: 16.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.1819, allocations: 150.9 kB / 437.5 MB, free: 16.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.182, allocations: 152.9 kB / 437.6 MB, free: 16.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.017e-05/0.182, allocations: 103.6 kB / 437.7 MB, free: 16.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.182, allocations: 77.47 kB / 437.8 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.1821, allocations: 151.5 kB / 437.9 MB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.1821, allocations: 156.2 kB / 438.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.36e-05/0.1821, allocations: 161.2 kB / 438.2 MB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.1823, allocations: 361.9 kB / 438.6 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/0.1823, allocations: 170 kB / 438.8 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.1823, allocations: 80.14 kB / 438.8 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.1823, allocations: 76.91 kB / 438.9 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1824, allocations: 115 kB / 439 MB, free: 14.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.1824, allocations: 0.6562 kB / 439 MB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.086e-05/0.1824, allocations: 28.22 kB / 439.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1825, allocations: 129.5 kB / 439.2 MB, free: 14.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.1825, allocations: 140.1 kB / 439.3 MB, free: 14.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.1825, allocations: 27.52 kB / 439.3 MB, free: 14.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.1826, allocations: 88.58 kB / 439.4 MB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.1826, allocations: 1.312 kB / 439.4 MB, free: 14.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.1826, allocations: 15.59 kB / 439.4 MB, free: 14.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.1827, allocations: 326 kB / 439.8 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.1827, allocations: 3.312 kB / 439.8 MB, free: 13.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.1827, allocations: 6.75 kB / 439.8 MB, free: 13.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.1827, allocations: 13.16 kB / 439.8 MB, free: 13.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1827, allocations: 1.125 kB / 439.8 MB, free: 13.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.847e-05/0.1828, allocations: 39.47 kB / 439.8 MB, free: 13.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1828, allocations: 5.297 kB / 439.8 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.1828, allocations: 1.953 kB / 439.8 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.1828, allocations: 1.938 kB / 439.8 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-06/0.1828, allocations: 0 / 439.8 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.1828, allocations: 4.734 kB / 439.8 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.1828, allocations: 11.73 kB / 439.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.1828, allocations: 2.688 kB / 439.9 MB, free: 13.94 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.448e-05/0.1829, allocations: 183 kB / 440 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.1829, allocations: 104.5 kB / 440.1 MB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.1829, allocations: 119.1 kB / 440.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.661e-05/0.183, allocations: 178.6 kB / 440.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.592e-05/0.183, allocations: 180.2 kB / 440.6 MB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.029e-05/0.1831, allocations: 182.3 kB / 440.8 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1832, allocations: 326.3 kB / 441.1 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/0.1832, allocations: 110.3 kB / 441.2 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.1832, allocations: 103.8 kB / 441.3 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.1832, allocations: 112.5 kB / 441.4 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.64e-05/0.1833, allocations: 180 kB / 441.6 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.1833, allocations: 186.1 kB / 441.8 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.811e-05/0.1834, allocations: 180.1 kB / 442 MB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.709e-05/0.1834, allocations: 181.8 kB / 442.1 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.579e-05/0.1835, allocations: 311.2 kB / 442.4 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.1835, allocations: 180.6 kB / 442.6 MB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.1836, allocations: 105.3 kB / 442.7 MB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.1836, allocations: 180 kB / 442.9 MB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1836, allocations: 105.9 kB / 443 MB, free: 10.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.179e-05/0.1836, allocations: 30.48 kB / 443 MB, free: 10.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1836, allocations: 0.5625 kB / 443 MB, free: 10.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005436/0.1842, allocations: 294 kB / 443.3 MB, free: 10.68 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.0007661/0.1849, allocations: 0.5939 MB / 443.9 MB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.918e-05/0.185, allocations: 43.5 kB / 443.9 MB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.185, allocations: 8.359 kB / 444 MB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.103e-06/0.185, allocations: 0.75 kB / 444 MB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.1852, allocations: 474.5 kB / 444.4 MB, free: 9.973 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.1858, allocations: 234.6 kB / 444.6 MB, free: 9.777 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.667e-05/0.1858, allocations: 56.5 kB / 444.7 MB, free: 9.707 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.608e-06/0.1858, allocations: 0.875 kB / 444.7 MB, free: 9.707 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.1859, allocations: 57.33 kB / 444.8 MB, free: 9.664 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1859, allocations: 1.094 kB / 444.8 MB, free: 9.664 MB / 426.7 MB Notification: Performance of Templates: time 0.008265/0.1941, allocations: 7.343 MB / 452.1 MB, free: 6.934 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.354881034232676]