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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009415, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006282/0.006282, allocations: 175.3 kB / 16.27 MB, free: 6.613 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.356/1.356, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.515/1.515, allocations: 252 MB / 0.5105 GB, free: 4.695 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.0005209/0.0005209, allocations: 16.47 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.473, 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.InternalResistancesTwoUTube): time 0.003967/0.477, allocations: 3.776 MB / 0.7324 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002822/0.4798, allocations: 2.393 MB / 0.7348 GB, free: 5.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.4801, allocations: 15.94 kB / 0.7348 GB, free: 5.055 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.4814, allocations: 0.494 MB / 0.7353 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.4818, allocations: 218.4 kB / 0.7355 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.482, allocations: 123.9 kB / 0.7356 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007175/0.4828, allocations: 0.8123 MB / 0.7364 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.4832, allocations: 284.2 kB / 0.7367 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.4834, allocations: 235 kB / 0.7369 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.4837, allocations: 286.6 kB / 0.7372 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.4838, allocations: 32 kB / 0.7372 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.362e-05/0.4839, allocations: 36 kB / 0.7372 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.484, allocations: 131.4 kB / 0.7374 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.4843, allocations: 359.9 kB / 0.7377 GB, free: 2.062 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007328/0.4851, allocations: 0.9418 MB / 0.7386 GB, free: 1.117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4851, allocations: 0 / 0.7386 GB, free: 1.117 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4851, allocations: 4 kB / 0.7386 GB, free: 1.113 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.4851, allocations: 0 / 0.7386 GB, free: 1.113 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001209/0.4863, allocations: 0.8297 MB / 0.7394 GB, free: 236 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.4864, allocations: 8.031 kB / 0.7394 GB, free: 228 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.4865, allocations: 76 kB / 0.7395 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.487, allocations: 453.7 kB / 0.7399 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.4871, allocations: 37.38 kB / 0.74 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/0.4871, allocations: 48.38 kB / 0.74 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.4879, allocations: 442.7 kB / 0.7404 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4879, allocations: 4 kB / 0.7404 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.488, allocations: 20 kB / 0.7405 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.488, allocations: 8 kB / 0.7405 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006963/0.4887, allocations: 379.8 kB / 0.7408 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.4907, allocations: 1.539 MB / 0.7423 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.4913, allocations: 347.5 kB / 0.7427 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.4918, allocations: 329.5 kB / 0.743 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4918, allocations: 4 kB / 0.743 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.4918, allocations: 42.5 kB / 0.743 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 4.869e-06/0.4919, allocations: 3.984 kB / 0.743 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009754/0.4928, allocations: 0.5087 MB / 0.7435 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4929, allocations: 55.41 kB / 0.7436 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.4935, allocations: 489.9 kB / 0.7441 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.4935, allocations: 33.64 kB / 0.7441 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.4937, allocations: 276.4 kB / 0.7443 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.4939, allocations: 145.8 kB / 0.7445 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.4939, allocations: 33.7 kB / 0.7445 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4941, allocations: 362.8 kB / 0.7449 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.4944, allocations: 132.7 kB / 0.745 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.4946, allocations: 129.4 kB / 0.7451 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.4952, allocations: 306.6 kB / 0.7454 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4952, allocations: 0 / 0.7454 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006727/0.4958, allocations: 412.3 kB / 0.7458 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4959, allocations: 9.812 kB / 0.7458 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4959, allocations: 4 kB / 0.7458 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4959, allocations: 0 / 0.7458 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.4964, allocations: 127.9 kB / 0.7459 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4964, allocations: 0 / 0.7459 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.4967, allocations: 51.66 kB / 0.746 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.4967, allocations: 12 kB / 0.746 GB, free: 9.301 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 (46): * Single equations (assignments): 46 * 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.0002173/0.497, allocations: 197.8 kB / 0.7462 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.4971, allocations: 55.28 kB / 0.7462 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.4972, allocations: 61.11 kB / 0.7463 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4972, allocations: 4 kB / 0.7463 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4972, allocations: 3.984 kB / 0.7463 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4972, allocations: 4 kB / 0.7463 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.4979, allocations: 0.5674 MB / 0.7469 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.4979, allocations: 4 kB / 0.7469 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.4984, allocations: 131.8 kB / 0.747 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4984, allocations: 3.938 kB / 0.747 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.4984, allocations: 8 kB / 0.747 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4984, allocations: 0 / 0.747 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4984, allocations: 0 / 0.747 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/0.4994, allocations: 0.6673 MB / 0.7477 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.4996, allocations: 144.4 kB / 0.7478 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.4996, allocations: 12 kB / 0.7478 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.4999, allocations: 23.92 kB / 0.7478 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.5, allocations: 23.95 kB / 0.7478 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.5, allocations: 8 kB / 0.7479 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003984/0.5004, allocations: 351.1 kB / 0.7482 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5004, allocations: 4 kB / 0.7482 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004074/0.5008, allocations: 147.6 kB / 0.7483 GB, free: 6.812 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001546/0.501, allocations: 111.2 kB / 0.7484 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00062/0.5016, allocations: 339.7 kB / 0.7488 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5016, allocations: 0 / 0.7488 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.5019, allocations: 183.6 kB / 0.7489 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007301/0.5027, allocations: 128.5 kB / 0.7491 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.5048, allocations: 1.5 MB / 0.7505 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.5052, allocations: 0.8746 MB / 0.7514 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00019/0.5054, allocations: 56.39 kB / 0.7514 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/0.5055, allocations: 35.44 kB / 0.7515 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.5056, allocations: 0 / 0.7515 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of Templates: time 0.01041/0.516, allocations: 5.559 MB / 0.7569 GB, free: 14.12 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: