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.001079/0.001079, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001213/0.001213, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.655/1.655, allocations: 251.9 MB / 0.51 GB, free: 4.762 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.0006946/0.000695, allocations: 16 kB / 0.6242 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5838, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003192/0.587, allocations: 2.427 MB / 0.7304 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.5897, allocations: 1.959 MB / 0.7323 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.5899, allocations: 4 kB / 0.7323 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.5911, allocations: 454.4 kB / 0.7327 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.5914, allocations: 147.6 kB / 0.7329 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.5915, allocations: 35.95 kB / 0.7329 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.5919, allocations: 319.3 kB / 0.7332 GB, free: 6.035 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.5921, allocations: 115 kB / 0.7333 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.5923, allocations: 139.4 kB / 0.7335 GB, free: 5.785 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.5925, allocations: 151.3 kB / 0.7336 GB, free: 5.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.5926, allocations: 20 kB / 0.7336 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.5926, allocations: 20 kB / 0.7336 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.5927, allocations: 75.73 kB / 0.7337 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/0.5928, allocations: 109.4 kB / 0.7338 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.5932, allocations: 438.7 kB / 0.7342 GB, free: 4.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5932, allocations: 0 / 0.7342 GB, free: 4.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5932, allocations: 0 / 0.7342 GB, free: 4.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.5932, allocations: 0 / 0.7342 GB, free: 4.98 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.0009342/0.5942, allocations: 0.6462 MB / 0.7349 GB, free: 4.285 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5942, allocations: 8.031 kB / 0.7349 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.5943, allocations: 47.39 kB / 0.7349 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.5948, allocations: 357.2 kB / 0.7353 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.5948, allocations: 12.44 kB / 0.7353 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.5949, allocations: 24 kB / 0.7353 GB, free: 3.801 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.5953, allocations: 203.2 kB / 0.7355 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.5953, allocations: 7.984 kB / 0.7355 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.5954, allocations: 8 kB / 0.7355 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.5954, allocations: 4 kB / 0.7355 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.5958, allocations: 173.7 kB / 0.7357 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.597, allocations: 0.8778 MB / 0.7365 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.5973, allocations: 154.6 kB / 0.7367 GB, free: 2.305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.5974, allocations: 7.984 kB / 0.7367 GB, free: 2.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.5974, allocations: 30.56 kB / 0.7367 GB, free: 2.258 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 2.835e-06/0.5974, allocations: 0 / 0.7367 GB, free: 2.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005927/0.598, allocations: 287 kB / 0.737 GB, free: 1.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.598, allocations: 51.41 kB / 0.737 GB, free: 1.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.5985, allocations: 413.7 kB / 0.7374 GB, free: 1.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.5985, allocations: 25.7 kB / 0.7375 GB, free: 1.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.5987, allocations: 212.2 kB / 0.7377 GB, free: 1.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.5988, allocations: 59.11 kB / 0.7377 GB, free: 1.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-06/0.5988, allocations: 0 / 0.7377 GB, free: 1.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5989, allocations: 354.8 kB / 0.738 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.5991, allocations: 59.97 kB / 0.7381 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.5992, allocations: 67 kB / 0.7382 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.5994, allocations: 71.98 kB / 0.7382 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5994, allocations: 0 / 0.7382 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003753/0.5998, allocations: 221.1 kB / 0.7384 GB, free: 436 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5998, allocations: 4 kB / 0.7385 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5998, allocations: 8 kB / 0.7385 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5998, allocations: 0 / 0.7385 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.6001, allocations: 51.97 kB / 0.7385 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.6001, allocations: 0 / 0.7385 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.6003, allocations: 27.83 kB / 0.7385 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.6003, allocations: 4 kB / 0.7385 GB, free: 340 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.6005, allocations: 173.7 kB / 0.7387 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.6006, allocations: 35.53 kB / 0.7387 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.271e-05/0.6006, allocations: 39.59 kB / 0.7388 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6007, allocations: 4 kB / 0.7388 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6007, allocations: 0 / 0.7388 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6007, allocations: 3.984 kB / 0.7388 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.6012, allocations: 373.3 kB / 0.7391 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6012, allocations: 3.984 kB / 0.7391 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.6014, allocations: 59.97 kB / 0.7392 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.6015, allocations: 7.984 kB / 0.7392 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.6015, allocations: 0 / 0.7392 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6015, allocations: 3.938 kB / 0.7392 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6015, allocations: 0 / 0.7392 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.6021, allocations: 395.1 kB / 0.7396 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6022, allocations: 120.7 kB / 0.7397 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.6022, allocations: 4 kB / 0.7397 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.6024, allocations: 19.92 kB / 0.7397 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.6025, allocations: 12.05 kB / 0.7397 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.6025, allocations: 8 kB / 0.7397 GB, free: 15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002999/0.6028, allocations: 299.1 kB / 0.74 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6028, allocations: 0 / 0.74 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003107/0.6031, allocations: 71.84 kB / 0.7401 GB, free: 14.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.6033, allocations: 111.1 kB / 0.7402 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.6036, allocations: 163.8 kB / 0.7404 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6036, allocations: 0 / 0.7404 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.6038, allocations: 82.09 kB / 0.7404 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.6043, allocations: 90.8 kB / 0.7405 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.6055, allocations: 0.8957 MB / 0.7414 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.6059, allocations: 0.807 MB / 0.7422 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.606, allocations: 38.95 kB / 0.7422 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.6061, allocations: 23.44 kB / 0.7422 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.6061, allocations: 0 / 0.7422 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.007415/0.6135, allocations: 3.571 MB / 0.7457 GB, free: 8.918 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: