Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001253/0.001253, allocations: 113 kB / 17.6 MB, free: 4.684 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.001286/0.001286, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.397/1.397, allocations: 225.6 MB / 249.4 MB, free: 3.121 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.002344/0.002344, allocations: 286.5 kB / 304.8 MB, free: 3.523 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.042/1.042, allocations: 180.9 MB / 0.5281 GB, free: 1.883 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 99.84 kB / 0.7284 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4236, allocations: 94.17 MB / 0.8204 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002449/0.426, allocations: 1.442 MB / 0.8218 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004393/0.4304, allocations: 2.897 MB / 0.8246 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.4304, allocations: 0 / 0.8246 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.4305, allocations: 11.86 kB / 0.8246 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.4305, allocations: 14.48 kB / 0.8246 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.434, allocations: 1.55 MB / 0.8261 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.807e-05/0.434, allocations: 44.17 kB / 0.8262 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.4341, allocations: 2.75 kB / 0.8262 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.4341, allocations: 10.81 kB / 0.8262 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.625e-05/0.4341, allocations: 20.17 kB / 0.8262 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.4341, allocations: 1.375 kB / 0.8262 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.4363, allocations: 1.53 MB / 0.8277 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.4363, allocations: 10.39 kB / 0.8277 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.4363, allocations: 18.59 kB / 0.8277 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.4378, allocations: 1.084 MB / 0.8288 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4378, allocations: 0.9688 kB / 0.8288 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4378, allocations: 0 / 0.8288 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.4378, allocations: 0 / 0.8288 GB, free: 14.68 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.0006372/0.4384, allocations: 0.5347 MB / 0.8293 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.4384, allocations: 12.83 kB / 0.8293 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.4385, allocations: 82.64 kB / 0.8294 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.4387, allocations: 251.4 kB / 0.8297 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.395e-05/0.4387, allocations: 155.9 kB / 0.8298 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.4388, allocations: 156 kB / 0.83 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.839e-05/0.4389, allocations: 109.1 kB / 0.8301 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.4389, allocations: 76.56 kB / 0.8301 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/0.439, allocations: 150.6 kB / 0.8303 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-05/0.4391, allocations: 150.6 kB / 0.8304 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.377e-05/0.4391, allocations: 151.6 kB / 0.8306 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.4395, allocations: 469.7 kB / 0.831 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.4396, allocations: 178.2 kB / 0.8312 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.4396, allocations: 80.14 kB / 0.8313 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.4396, allocations: 75.28 kB / 0.8313 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.4397, allocations: 114.9 kB / 0.8314 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.4397, allocations: 0 / 0.8314 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.662e-05/0.4398, allocations: 36.84 kB / 0.8315 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.4398, allocations: 130.7 kB / 0.8316 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.44, allocations: 133 kB / 0.8317 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.44, allocations: 25.7 kB / 0.8317 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.4401, allocations: 86.2 kB / 0.8318 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.4401, allocations: 1.156 kB / 0.8318 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.4401, allocations: 22.19 kB / 0.8319 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4402, allocations: 315.9 kB / 0.8322 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.4402, allocations: 7.375 kB / 0.8322 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.4403, allocations: 3 kB / 0.8322 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.4403, allocations: 14.45 kB / 0.8322 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4403, allocations: 4 kB / 0.8322 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001198/0.4404, allocations: 58.92 kB / 0.8322 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.4404, allocations: 5.469 kB / 0.8322 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4404, allocations: 2.25 kB / 0.8322 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4405, allocations: 9.188 kB / 0.8323 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.4405, allocations: 0 / 0.8323 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4405, allocations: 1.344 kB / 0.8323 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/0.4405, allocations: 0 / 0.8323 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.4405, allocations: 1.219 kB / 0.8323 GB, free: 11.06 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.0001072/0.4406, allocations: 191.6 kB / 0.8324 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.4407, allocations: 115.4 kB / 0.8325 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.831e-05/0.4407, allocations: 111.4 kB / 0.8327 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-05/0.4408, allocations: 180.3 kB / 0.8328 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-05/0.4409, allocations: 181.5 kB / 0.833 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-05/0.4409, allocations: 185.5 kB / 0.8332 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.4412, allocations: 407.6 kB / 0.8336 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.694e-05/0.4413, allocations: 110.3 kB / 0.8337 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.4413, allocations: 105 kB / 0.8338 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.392e-05/0.4414, allocations: 181.5 kB / 0.8339 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.4415, allocations: 185.6 kB / 0.8341 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-05/0.4415, allocations: 177.6 kB / 0.8343 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.328e-05/0.4416, allocations: 184.2 kB / 0.8345 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.4418, allocations: 317.6 kB / 0.8348 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.4418, allocations: 183.2 kB / 0.8349 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.297e-05/0.4419, allocations: 178.5 kB / 0.8351 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.442, allocations: 106 kB / 0.8352 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.4421, allocations: 180.3 kB / 0.8354 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.4421, allocations: 114 kB / 0.8355 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.4422, allocations: 102.5 kB / 0.8356 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4422, allocations: 0 / 0.8356 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006965/0.4429, allocations: 278 kB / 0.8359 GB, free: 7.383 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.001075/0.444, allocations: 0.5276 MB / 0.8364 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.4441, allocations: 35.77 kB / 0.8364 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4441, allocations: 5.344 kB / 0.8364 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.4441, allocations: 0 / 0.8364 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.4445, allocations: 463.2 kB / 0.8369 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.4449, allocations: 260.9 kB / 0.8371 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.4452, allocations: 0.6804 MB / 0.8378 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.159e-05/0.4452, allocations: 4.656 kB / 0.8378 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.4452, allocations: 9.656 kB / 0.8378 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.4452, allocations: 0 / 0.8378 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of Templates: time 0.009666/0.4549, allocations: 5.483 MB / 0.8431 GB, free: 2.824 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.15984427370131]