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.0008786/0.0008786, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004955/0.004955, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.358/1.358, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.448/1.448, allocations: 252 MB / 0.5105 GB, free: 4.691 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.0005502/0.0005502, allocations: 12 kB / 0.6249 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.489, allocations: 106.3 MB / 0.7288 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003497/0.4925, allocations: 2.714 MB / 0.7314 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.4954, allocations: 2.128 MB / 0.7335 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.4957, allocations: 4 kB / 0.7335 GB, free: 6.398 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.4972, allocations: 482 kB / 0.734 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.4975, allocations: 131.1 kB / 0.7341 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.4977, allocations: 47.97 kB / 0.7341 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.4982, allocations: 468.7 kB / 0.7346 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.4985, allocations: 131.9 kB / 0.7347 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.4987, allocations: 135.4 kB / 0.7348 GB, free: 5.027 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.4989, allocations: 171.1 kB / 0.735 GB, free: 4.859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.18e-05/0.499, allocations: 20 kB / 0.735 GB, free: 4.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.87e-05/0.4991, allocations: 20 kB / 0.735 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.4992, allocations: 79.67 kB / 0.7351 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.4994, allocations: 228.5 kB / 0.7353 GB, free: 4.512 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.4999, allocations: 0.5136 MB / 0.7358 GB, free: 3.996 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5, allocations: 0 / 0.7358 GB, free: 3.996 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5, allocations: 0 / 0.7358 GB, free: 3.996 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.5, allocations: 4 kB / 0.7358 GB, free: 3.992 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.0009823/0.501, allocations: 0.6424 MB / 0.7365 GB, free: 3.301 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.501, allocations: 8.031 kB / 0.7365 GB, free: 3.293 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.057e-05/0.5011, allocations: 52.38 kB / 0.7365 GB, free: 3.242 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.5016, allocations: 366.1 kB / 0.7369 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.5016, allocations: 16.81 kB / 0.7369 GB, free: 2.824 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.5017, allocations: 24.38 kB / 0.7369 GB, free: 2.801 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.5021, allocations: 211.5 kB / 0.7371 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5022, allocations: 4 kB / 0.7371 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.5022, allocations: 4 kB / 0.7371 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.5022, allocations: 12 kB / 0.7371 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.5026, allocations: 173.7 kB / 0.7373 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.5038, allocations: 0.874 MB / 0.7381 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.5041, allocations: 162.5 kB / 0.7383 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.5044, allocations: 116.8 kB / 0.7384 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.5044, allocations: 0 / 0.7384 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.5044, allocations: 38.56 kB / 0.7384 GB, free: 1.129 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.5044, allocations: 0 / 0.7384 GB, free: 1.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006291/0.505, allocations: 275.5 kB / 0.7387 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.5051, allocations: 55.41 kB / 0.7388 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.5055, allocations: 413.7 kB / 0.7392 GB, free: 388 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5056, allocations: 37.62 kB / 0.7392 GB, free: 344 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.5057, allocations: 208.2 kB / 0.7394 GB, free: 132 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.5058, allocations: 67.08 kB / 0.7395 GB, free: 64 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.5058, allocations: 17.72 kB / 0.7395 GB, free: 40 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5059, allocations: 346.8 kB / 0.7398 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.5061, allocations: 59.97 kB / 0.7399 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.5062, allocations: 71.53 kB / 0.7399 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.5065, allocations: 144.8 kB / 0.7401 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5066, allocations: 0 / 0.7401 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003935/0.507, allocations: 217.1 kB / 0.7403 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.507, allocations: 8 kB / 0.7403 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.507, allocations: 4 kB / 0.7403 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.507, allocations: 3.938 kB / 0.7403 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.5073, allocations: 59.91 kB / 0.7403 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5073, allocations: 3.984 kB / 0.7403 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.5075, allocations: 19.84 kB / 0.7404 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.5075, allocations: 11.98 kB / 0.7404 GB, free: 15.09 MB / 0.5606 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.0001571/0.5076, allocations: 165.8 kB / 0.7405 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.5077, allocations: 35.53 kB / 0.7406 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.066e-05/0.5078, allocations: 47.52 kB / 0.7406 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.5078, allocations: 4 kB / 0.7406 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5078, allocations: 0 / 0.7406 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5078, allocations: 0 / 0.7406 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.5082, allocations: 369.4 kB / 0.741 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5082, allocations: 0 / 0.741 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.5085, allocations: 63.89 kB / 0.741 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5085, allocations: 0 / 0.741 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.5085, allocations: 11.94 kB / 0.741 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5085, allocations: 0 / 0.741 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5086, allocations: 0 / 0.741 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.5092, allocations: 394.9 kB / 0.7414 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.5093, allocations: 116.6 kB / 0.7415 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.5093, allocations: 11.94 kB / 0.7415 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.5095, allocations: 12 kB / 0.7416 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.5096, allocations: 16.03 kB / 0.7416 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.5096, allocations: 7.984 kB / 0.7416 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003126/0.5099, allocations: 307.1 kB / 0.7419 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5099, allocations: 0 / 0.7419 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003025/0.5102, allocations: 71.84 kB / 0.7419 GB, free: 13.39 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.0001302/0.5103, allocations: 111.2 kB / 0.742 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.5107, allocations: 160.5 kB / 0.7422 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5107, allocations: 0 / 0.7422 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.5109, allocations: 83.91 kB / 0.7423 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005991/0.5115, allocations: 94.84 kB / 0.7424 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.5128, allocations: 0.927 MB / 0.7433 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.5131, allocations: 0.8031 MB / 0.7441 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000127/0.5132, allocations: 38.95 kB / 0.7441 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.5133, allocations: 23.44 kB / 0.7441 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.5133, allocations: 0 / 0.7441 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.007624/0.5209, allocations: 3.695 MB / 0.7477 GB, free: 7.527 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: