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.0008664/0.0008663, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009409/0.0009409, allocations: 168.7 kB / 15.95 MB, free: 204 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.379/1.379, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.498/1.498, allocations: 252 MB / 0.5102 GB, free: 4.848 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.0004995/0.0004996, allocations: 19.94 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4345, allocations: 106.3 MB / 0.7282 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003795/0.4383, allocations: 3.592 MB / 0.7317 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.4412, allocations: 2.266 MB / 0.7339 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.4414, allocations: 12 kB / 0.7339 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.4425, allocations: 446 kB / 0.7343 GB, free: 5.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.4429, allocations: 222.4 kB / 0.7345 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.4431, allocations: 83.86 kB / 0.7346 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007353/0.4438, allocations: 0.7513 MB / 0.7354 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.4442, allocations: 245.5 kB / 0.7356 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.4444, allocations: 231.1 kB / 0.7358 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.4447, allocations: 286.7 kB / 0.7361 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.4448, allocations: 36 kB / 0.7361 GB, free: 3.426 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.4449, allocations: 36 kB / 0.7362 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.445, allocations: 119.5 kB / 0.7363 GB, free: 3.273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.4451, allocations: 161.4 kB / 0.7364 GB, free: 3.109 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.4457, allocations: 0.7944 MB / 0.7372 GB, free: 2.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4457, allocations: 0 / 0.7372 GB, free: 2.312 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4457, allocations: 0 / 0.7372 GB, free: 2.312 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.4457, allocations: 0 / 0.7372 GB, free: 2.312 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.001121/0.4469, allocations: 0.8451 MB / 0.738 GB, free: 1.414 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4469, allocations: 12.03 kB / 0.738 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.447, allocations: 75.06 kB / 0.7381 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.4476, allocations: 436.8 kB / 0.7385 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.4477, allocations: 33 kB / 0.7386 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/0.4477, allocations: 51.91 kB / 0.7386 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.4484, allocations: 430.5 kB / 0.739 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.4485, allocations: 0 / 0.739 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.4485, allocations: 19.98 kB / 0.739 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4485, allocations: 12 kB / 0.739 GB, free: 328 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006887/0.4492, allocations: 367.9 kB / 0.7394 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.4512, allocations: 1.551 MB / 0.7409 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.4517, allocations: 351.4 kB / 0.7412 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.4522, allocations: 348.7 kB / 0.7416 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.4523, allocations: 4 kB / 0.7416 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.4523, allocations: 42.55 kB / 0.7416 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.4523, allocations: 4 kB / 0.7416 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009841/0.4533, allocations: 0.5009 MB / 0.7421 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4534, allocations: 63.41 kB / 0.7422 GB, free: 13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.4539, allocations: 477.9 kB / 0.7426 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.4539, allocations: 33.7 kB / 0.7427 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.4541, allocations: 277.1 kB / 0.7429 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.4542, allocations: 145.8 kB / 0.7431 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.4543, allocations: 8 kB / 0.7431 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4544, allocations: 366.8 kB / 0.7434 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.4547, allocations: 124.7 kB / 0.7435 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.4549, allocations: 133.2 kB / 0.7437 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.4552, allocations: 141.9 kB / 0.7438 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4552, allocations: 7.891 kB / 0.7438 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006197/0.4558, allocations: 408.5 kB / 0.7442 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4558, allocations: 8 kB / 0.7442 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4559, allocations: 0 / 0.7442 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4559, allocations: 0 / 0.7442 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.4564, allocations: 131.9 kB / 0.7443 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4564, allocations: 0 / 0.7443 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.4566, allocations: 47.66 kB / 0.7444 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.4567, allocations: 12 kB / 0.7444 GB, free: 10.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.4569, allocations: 197.8 kB / 0.7446 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/0.457, allocations: 59.28 kB / 0.7446 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.4571, allocations: 57.11 kB / 0.7447 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4571, allocations: 4 kB / 0.7447 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4571, allocations: 0 / 0.7447 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4571, allocations: 3.984 kB / 0.7447 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.4578, allocations: 0.5713 MB / 0.7453 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4578, allocations: 0 / 0.7453 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.4583, allocations: 139.8 kB / 0.7454 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4583, allocations: 4 kB / 0.7454 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.4583, allocations: 8 kB / 0.7454 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4583, allocations: 4 kB / 0.7454 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4583, allocations: 0 / 0.7454 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/0.4592, allocations: 0.6596 MB / 0.746 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.4594, allocations: 136.4 kB / 0.7462 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.4594, allocations: 11.95 kB / 0.7462 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.4597, allocations: 35.86 kB / 0.7462 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.4597, allocations: 27.91 kB / 0.7463 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.4598, allocations: 4 kB / 0.7463 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003636/0.4601, allocations: 351.1 kB / 0.7466 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4601, allocations: 4 kB / 0.7466 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00038/0.4605, allocations: 139.6 kB / 0.7467 GB, free: 8.207 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 (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.0001466/0.4607, allocations: 119.3 kB / 0.7468 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005695/0.4613, allocations: 339.7 kB / 0.7472 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4613, allocations: 0 / 0.7472 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.4615, allocations: 183.8 kB / 0.7473 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.4622, allocations: 115.2 kB / 0.7474 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.464, allocations: 1.445 MB / 0.7489 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.4644, allocations: 0.8707 MB / 0.7497 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001832/0.4646, allocations: 52.39 kB / 0.7498 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.406e-05/0.4647, allocations: 35.44 kB / 0.7498 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/0.4647, allocations: 4 kB / 0.7498 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of Templates: time 0.009259/0.474, allocations: 5.377 MB / 0.755 GB, free: 15.76 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: