Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 191 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 251.6 MB / 0.5088 GB, free: 3.312 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.91 kB / 0.6216 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4648, allocations: 104.7 MB / 0.7238 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004466/0.4693, allocations: 3.088 MB / 0.7269 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.472, allocations: 2.159 MB / 0.729 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.4722, allocations: 4 kB / 0.729 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.4736, allocations: 486 kB / 0.7294 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.4739, allocations: 127.1 kB / 0.7296 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.4741, allocations: 51.97 kB / 0.7296 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.4745, allocations: 465.8 kB / 0.73 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.4748, allocations: 131.9 kB / 0.7302 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.475, allocations: 151.3 kB / 0.7303 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.4752, allocations: 183.1 kB / 0.7305 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.4753, allocations: 20 kB / 0.7305 GB, free: 6.398 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.273e-05/0.4753, allocations: 24 kB / 0.7305 GB, free: 6.375 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.4755, allocations: 83.67 kB / 0.7306 GB, free: 6.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.4757, allocations: 214.9 kB / 0.7308 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.4762, allocations: 0.5216 MB / 0.7313 GB, free: 5.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4762, allocations: 4 kB / 0.7313 GB, free: 5.555 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4762, allocations: 0 / 0.7313 GB, free: 5.555 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4762, allocations: 4 kB / 0.7313 GB, free: 5.551 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001075/0.4773, allocations: 0.7045 MB / 0.732 GB, free: 4.797 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4773, allocations: 8.031 kB / 0.732 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.071e-05/0.4774, allocations: 40.47 kB / 0.7321 GB, free: 4.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.478, allocations: 378.1 kB / 0.7324 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.478, allocations: 20.75 kB / 0.7325 GB, free: 4.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.478, allocations: 20.38 kB / 0.7325 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.4784, allocations: 203.5 kB / 0.7327 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4785, allocations: 3.984 kB / 0.7327 GB, free: 4.094 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.4785, allocations: 12 kB / 0.7327 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.4785, allocations: 4 kB / 0.7327 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.4789, allocations: 165.7 kB / 0.7328 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.4801, allocations: 0.8662 MB / 0.7337 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.4804, allocations: 154.5 kB / 0.7338 GB, free: 2.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.4806, allocations: 114.8 kB / 0.7339 GB, free: 2.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.4807, allocations: 4 kB / 0.7339 GB, free: 2.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.4807, allocations: 38.47 kB / 0.734 GB, free: 2.656 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.4807, allocations: 0 / 0.734 GB, free: 2.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005997/0.4813, allocations: 257 kB / 0.7342 GB, free: 2.398 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4814, allocations: 55.41 kB / 0.7343 GB, free: 2.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/0.4819, allocations: 409.7 kB / 0.7347 GB, free: 1.926 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4819, allocations: 29.7 kB / 0.7347 GB, free: 1.891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4821, allocations: 216.2 kB / 0.7349 GB, free: 1.676 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.4822, allocations: 63.02 kB / 0.735 GB, free: 1.613 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.4822, allocations: 33.7 kB / 0.735 GB, free: 1.574 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4824, allocations: 346.8 kB / 0.7353 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.4826, allocations: 59.97 kB / 0.7354 GB, free: 1.168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.4827, allocations: 55.92 kB / 0.7354 GB, free: 1.113 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.483, allocations: 139.2 kB / 0.7356 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.483, allocations: 0 / 0.7356 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003858/0.4834, allocations: 209.1 kB / 0.7358 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4835, allocations: 10.19 kB / 0.7358 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4835, allocations: 0 / 0.7358 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4835, allocations: 3.938 kB / 0.7358 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.4837, allocations: 47.97 kB / 0.7358 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4838, allocations: 4 kB / 0.7358 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.4839, allocations: 27.83 kB / 0.7359 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4839, allocations: 4 kB / 0.7359 GB, free: 0.6719 MB / 0.545 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0002124/0.4842, allocations: 165.8 kB / 0.736 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.4842, allocations: 31.62 kB / 0.7361 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/0.4843, allocations: 43.53 kB / 0.7361 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4843, allocations: 7.984 kB / 0.7361 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4843, allocations: 0 / 0.7361 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4843, allocations: 4 kB / 0.7361 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.4848, allocations: 373.3 kB / 0.7365 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4848, allocations: 0 / 0.7365 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.485, allocations: 59.89 kB / 0.7365 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4851, allocations: 11.88 kB / 0.7365 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.4851, allocations: 3.938 kB / 0.7365 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4851, allocations: 0 / 0.7365 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4851, allocations: 0 / 0.7365 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006612/0.4858, allocations: 381.1 kB / 0.7369 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-05/0.4859, allocations: 120.7 kB / 0.737 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.4859, allocations: 3.938 kB / 0.737 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.4861, allocations: 19.92 kB / 0.737 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.4862, allocations: 7.984 kB / 0.737 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.4862, allocations: 8 kB / 0.7371 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003281/0.4865, allocations: 307.2 kB / 0.7373 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4865, allocations: 0 / 0.7373 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002987/0.4868, allocations: 71.84 kB / 0.7374 GB, free: 14.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0002268/0.4871, allocations: 107.2 kB / 0.7375 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.4874, allocations: 143.9 kB / 0.7377 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4874, allocations: 0 / 0.7377 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.4876, allocations: 86 kB / 0.7377 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/0.4883, allocations: 97.36 kB / 0.7378 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.4896, allocations: 0.8607 MB / 0.7387 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.4902, allocations: 0.7953 MB / 0.7394 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.4904, allocations: 38.89 kB / 0.7395 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.4905, allocations: 27.42 kB / 0.7395 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.4905, allocations: 0 / 0.7395 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.008505/0.499, allocations: 3.722 MB / 0.7431 GB, free: 9.184 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)