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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 189.4 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.00248/0.00248, allocations: 283.3 kB / 306.5 MB, free: 8.328 MB / 238.1 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 1.201/1.201, allocations: 180.9 MB / 0.53 GB, free: 14.53 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002821/0.002821, allocations: 107.1 kB / 0.7309 GB, free: 38.75 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1662, allocations: 94.21 MB / 0.8229 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002615/0.1688, allocations: 1.438 MB / 0.8243 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004601/0.1734, allocations: 2.947 MB / 0.8272 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.1735, allocations: 0 / 0.8272 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.1735, allocations: 7.922 kB / 0.8272 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.1735, allocations: 11.86 kB / 0.8272 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.1773, allocations: 1.66 MB / 0.8288 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1774, allocations: 47.67 kB / 0.8289 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.1775, allocations: 4 kB / 0.8289 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.751e-05/0.1775, allocations: 15.94 kB / 0.8289 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.1775, allocations: 27.84 kB / 0.8289 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1776, allocations: 0 / 0.8289 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.1801, allocations: 1.735 MB / 0.8306 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1801, allocations: 8 kB / 0.8306 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.1802, allocations: 11.88 kB / 0.8306 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.1817, allocations: 1.142 MB / 0.8318 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1817, allocations: 0 / 0.8318 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1817, allocations: 0 / 0.8318 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.1817, allocations: 0 / 0.8318 GB, free: 8.703 MB / 0.5762 GB 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.0006012/0.1823, allocations: 460.2 kB / 0.8322 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1824, allocations: 8.031 kB / 0.8322 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.1824, allocations: 88.11 kB / 0.8323 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1826, allocations: 197.7 kB / 0.8325 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.1827, allocations: 162.9 kB / 0.8326 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-05/0.1827, allocations: 150.9 kB / 0.8328 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.068e-05/0.1828, allocations: 105.1 kB / 0.8329 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.1828, allocations: 75.28 kB / 0.8329 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.1829, allocations: 154.6 kB / 0.8331 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.234e-05/0.183, allocations: 154.5 kB / 0.8332 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.808e-05/0.183, allocations: 154.5 kB / 0.8334 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.1834, allocations: 433 kB / 0.8338 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1835, allocations: 177.1 kB / 0.834 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.1835, allocations: 84.08 kB / 0.8341 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.1836, allocations: 75.28 kB / 0.8341 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.517e-05/0.1836, allocations: 113.8 kB / 0.8342 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.1836, allocations: 0 / 0.8342 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.704e-05/0.1837, allocations: 37.59 kB / 0.8343 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.1838, allocations: 130.7 kB / 0.8344 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1839, allocations: 131.9 kB / 0.8345 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1839, allocations: 29.7 kB / 0.8345 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.184, allocations: 92.08 kB / 0.8346 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.184, allocations: 0 / 0.8346 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.184, allocations: 21.72 kB / 0.8347 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1842, allocations: 318.8 kB / 0.835 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.1842, allocations: 4 kB / 0.835 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.1842, allocations: 8 kB / 0.835 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.716e-05/0.1843, allocations: 12.86 kB / 0.835 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1843, allocations: 3.938 kB / 0.835 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001253/0.1844, allocations: 53.62 kB / 0.835 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1844, allocations: 4 kB / 0.835 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.1844, allocations: 4 kB / 0.835 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1844, allocations: 0 / 0.835 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1844, allocations: 0 / 0.835 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1844, allocations: 0 / 0.835 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.1845, allocations: 11.89 kB / 0.8351 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1845, allocations: 64 / 0.8351 GB, free: 5.125 MB / 0.5762 GB 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 0.0001167/0.1846, allocations: 189.8 kB / 0.8352 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.1847, allocations: 116.8 kB / 0.8354 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.1847, allocations: 112.8 kB / 0.8355 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-05/0.1848, allocations: 180.2 kB / 0.8356 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.601e-05/0.1849, allocations: 180.2 kB / 0.8358 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-05/0.185, allocations: 184.3 kB / 0.836 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.1852, allocations: 392.3 kB / 0.8364 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-05/0.1853, allocations: 104.9 kB / 0.8365 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.1853, allocations: 105 kB / 0.8366 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.402e-05/0.1854, allocations: 184.2 kB / 0.8367 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.57e-05/0.1855, allocations: 180.3 kB / 0.8369 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.772e-05/0.1856, allocations: 184.2 kB / 0.8371 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-05/0.1857, allocations: 184.3 kB / 0.8373 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1858, allocations: 303.8 kB / 0.8375 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.1859, allocations: 112.9 kB / 0.8376 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/0.186, allocations: 188.2 kB / 0.8378 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.1861, allocations: 101 kB / 0.8379 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.1862, allocations: 176.3 kB / 0.8381 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.1862, allocations: 116.9 kB / 0.8382 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.184e-05/0.1863, allocations: 101.3 kB / 0.8383 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1863, allocations: 0 / 0.8383 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008086/0.1871, allocations: 283 kB / 0.8386 GB, free: 1.324 MB / 0.5762 GB 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.001164/0.1883, allocations: 0.5427 MB / 0.8391 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1884, allocations: 37.7 kB / 0.8391 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1884, allocations: 0 / 0.8391 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.1884, allocations: 12 kB / 0.8391 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.1889, allocations: 467.6 kB / 0.8396 GB, free: 264 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.1893, allocations: 236.9 kB / 0.8398 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1896, allocations: 0.6846 MB / 0.8405 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.697e-05/0.1897, allocations: 3.984 kB / 0.8405 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.1897, allocations: 7.438 kB / 0.8405 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1897, allocations: 0 / 0.8405 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.01072/0.2004, allocations: 5.649 MB / 0.846 GB, free: 9.668 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.062007979489863] Failed to read output from testmodel.py, exit status != 0: 0.2081978553906083 0.22388077 0.038836248000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7febd88017b0>