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.001998/0.001998, allocations: 117.1 kB / 17.13 MB, free: 5.941 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.002369/0.002369, allocations: 194.2 kB / 20.08 MB, free: 3.012 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.518/1.518, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.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.002448/0.002448, allocations: 286.3 kB / 303.6 MB, free: 3.711 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.109/1.109, allocations: 180.9 MB / 0.5268 GB, free: 2.719 MB / 382.1 MB " [Timeout remaining time 178] 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.002815/0.002815, allocations: 99.84 kB / 0.726 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.677, allocations: 94.16 MB / 0.8179 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002542/0.6795, allocations: 1.435 MB / 0.8193 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004057/0.6836, allocations: 2.918 MB / 0.8222 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.6836, allocations: 1.156 kB / 0.8222 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.6837, allocations: 5.438 kB / 0.8222 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.274e-05/0.6837, allocations: 15.08 kB / 0.8222 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.6874, allocations: 1.603 MB / 0.8238 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.834e-05/0.6875, allocations: 40.66 kB / 0.8238 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.6875, allocations: 3.375 kB / 0.8238 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.6875, allocations: 19.47 kB / 0.8238 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.948e-05/0.6876, allocations: 12.83 kB / 0.8239 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.6876, allocations: 0 / 0.8239 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.6899, allocations: 1.577 MB / 0.8254 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.6899, allocations: 13.25 kB / 0.8254 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.6899, allocations: 17.67 kB / 0.8254 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.6915, allocations: 1.115 MB / 0.8265 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.6915, allocations: 0 / 0.8265 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6915, allocations: 0 / 0.8265 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.6915, allocations: 0 / 0.8265 GB, free: 2.773 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.0005787/0.6921, allocations: 0.5361 MB / 0.827 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.6921, allocations: 8.875 kB / 0.827 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.6922, allocations: 87.03 kB / 0.8271 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.6923, allocations: 250.8 kB / 0.8274 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.6923, allocations: 150.9 kB / 0.8275 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.6923, allocations: 156.2 kB / 0.8277 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.659e-05/0.6924, allocations: 105.7 kB / 0.8278 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6924, allocations: 77.78 kB / 0.8278 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.6924, allocations: 155.3 kB / 0.828 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.6925, allocations: 150.6 kB / 0.8281 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.136e-05/0.6925, allocations: 158.4 kB / 0.8283 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.6927, allocations: 461.5 kB / 0.8287 GB, free: 492 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.628e-05/0.6927, allocations: 169.2 kB / 0.8289 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.6927, allocations: 84.14 kB / 0.829 GB, free: 228 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.6927, allocations: 75.28 kB / 0.829 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.6928, allocations: 114.5 kB / 0.8291 GB, free: 28 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.6928, allocations: 0 / 0.8291 GB, free: 28 kB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.62e-05/0.6929, allocations: 37.67 kB / 0.8292 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.6929, allocations: 126.7 kB / 0.8293 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.6931, allocations: 142.1 kB / 0.8294 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.6931, allocations: 25.7 kB / 0.8295 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.6932, allocations: 98.09 kB / 0.8296 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.6932, allocations: 0 / 0.8296 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.6932, allocations: 20.67 kB / 0.8296 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6933, allocations: 313.1 kB / 0.8299 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.6934, allocations: 8.5 kB / 0.8299 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.6934, allocations: 3.312 kB / 0.8299 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.156e-05/0.6934, allocations: 24.44 kB / 0.8299 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6934, allocations: 4.453 kB / 0.8299 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001323/0.6936, allocations: 49.19 kB / 0.83 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.6936, allocations: 5.938 kB / 0.83 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.6936, allocations: 3.344 kB / 0.83 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6936, allocations: 3.062 kB / 0.83 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.6936, allocations: 0.9375 kB / 0.83 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.6936, allocations: 0 / 0.83 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.6936, allocations: 3.953 kB / 0.83 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.6936, allocations: 2.938 kB / 0.83 GB, free: 15.21 MB / 0.5919 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.0001028/0.6937, allocations: 186 kB / 0.8302 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.6938, allocations: 125.6 kB / 0.8303 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.6939, allocations: 108.1 kB / 0.8304 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.869e-05/0.694, allocations: 181.2 kB / 0.8305 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.899e-05/0.694, allocations: 182.6 kB / 0.8307 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.18e-05/0.6941, allocations: 183.8 kB / 0.8309 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.6944, allocations: 415.1 kB / 0.8313 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.157e-05/0.6944, allocations: 106.3 kB / 0.8314 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.6945, allocations: 101.8 kB / 0.8315 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.965e-05/0.6946, allocations: 187.7 kB / 0.8317 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/0.6946, allocations: 181.5 kB / 0.8318 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.482e-05/0.6947, allocations: 184.8 kB / 0.832 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.916e-05/0.6948, allocations: 179.8 kB / 0.8322 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.695, allocations: 303.3 kB / 0.8325 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.695, allocations: 195.3 kB / 0.8327 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/0.6951, allocations: 188.3 kB / 0.8328 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.6952, allocations: 101.5 kB / 0.8329 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.6953, allocations: 176.9 kB / 0.8331 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.6954, allocations: 112.6 kB / 0.8332 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.6954, allocations: 104.1 kB / 0.8333 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6954, allocations: 0 / 0.8333 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007761/0.6962, allocations: 283.9 kB / 0.8336 GB, free: 11.56 MB / 0.5919 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.001149/0.6973, allocations: 0.5455 MB / 0.8341 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.6975, allocations: 40.94 kB / 0.8342 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6975, allocations: 3.938 kB / 0.8342 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.6975, allocations: 8 kB / 0.8342 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.698, allocations: 464.3 kB / 0.8346 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.6983, allocations: 259.4 kB / 0.8349 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.6987, allocations: 0.6854 MB / 0.8355 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.6987, allocations: 10.12 kB / 0.8355 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.6987, allocations: 0 / 0.8355 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.01132/0.71, allocations: 4.756 MB / 0.8402 GB, free: 9.367 MB / 0.5919 GB " [Timeout remaining time 659] 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: 10.541908557992429] Failed to read output from testmodel.py, exit status != 0: 0.7191068949177861 0.7332574749999999 0.038962286000000006 Calling exit ...