Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 78.73 kB / 19.01 MB, free: 2.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 160.3 kB / 22.26 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 177.2 MB / 202.6 MB, free: 9.258 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002525/0.002525, allocations: 232.5 kB / 259.2 MB, free: 0.5781 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.08/1.08, allocations: 138.5 MB / 454.2 MB, free: 2.062 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003068/0.003068, allocations: 107.8 kB / 0.6466 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3896, allocations: 95.35 MB / 0.7398 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00546/0.395, allocations: 3.776 MB / 0.7435 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003854/0.3989, allocations: 2.227 MB / 0.7456 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.3992, allocations: 8 kB / 0.7456 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.4006, allocations: 0.4909 MB / 0.7461 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.4011, allocations: 262 kB / 0.7464 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.4014, allocations: 135.9 kB / 0.7465 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000843/0.4022, allocations: 0.8132 MB / 0.7473 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.4026, allocations: 215.1 kB / 0.7475 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.4032, allocations: 482.7 kB / 0.748 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.4036, allocations: 282.6 kB / 0.7482 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.209e-05/0.4036, allocations: 76 kB / 0.7483 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.4038, allocations: 76 kB / 0.7484 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.4039, allocations: 175.4 kB / 0.7485 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.4042, allocations: 310.7 kB / 0.7488 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.4053, allocations: 1.004 MB / 0.7498 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4053, allocations: 4 kB / 0.7498 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4053, allocations: 0 / 0.7498 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.4053, allocations: 0 / 0.7498 GB, free: 4.758 MB / 0.5762 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.001452/0.4067, allocations: 0.886 MB / 0.7507 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4068, allocations: 12.62 kB / 0.7507 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.4069, allocations: 84.47 kB / 0.7508 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.4076, allocations: 400.2 kB / 0.7512 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.4076, allocations: 41.38 kB / 0.7512 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/0.4077, allocations: 48.38 kB / 0.7512 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/0.4085, allocations: 426.7 kB / 0.7516 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.4085, allocations: 4 kB / 0.7516 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.4085, allocations: 16 kB / 0.7517 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.4086, allocations: 15.98 kB / 0.7517 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007473/0.4093, allocations: 371.8 kB / 0.752 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.4113, allocations: 1.175 MB / 0.7532 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.4118, allocations: 312.2 kB / 0.7535 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.4123, allocations: 280.7 kB / 0.7537 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.4124, allocations: 4 kB / 0.7538 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.4124, allocations: 38.56 kB / 0.7538 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.4124, allocations: 0 / 0.7538 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.001018/0.4134, allocations: 0.4946 MB / 0.7543 GB, free: 64 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.4135, allocations: 59.34 kB / 0.7543 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.414, allocations: 438.7 kB / 0.7547 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.414, allocations: 33.7 kB / 0.7548 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.4143, allocations: 284.5 kB / 0.755 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.4144, allocations: 154.6 kB / 0.7552 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.4145, allocations: 58.08 kB / 0.7553 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4147, allocations: 358.8 kB / 0.7556 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.4149, allocations: 124.7 kB / 0.7557 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.4152, allocations: 131.6 kB / 0.7558 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.4158, allocations: 294.2 kB / 0.7561 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4158, allocations: 0 / 0.7561 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006863/0.4164, allocations: 392.5 kB / 0.7565 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4165, allocations: 11.94 kB / 0.7565 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4165, allocations: 4 kB / 0.7565 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4165, allocations: 0 / 0.7565 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.417, allocations: 123.9 kB / 0.7566 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.417, allocations: 4 kB / 0.7566 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.4172, allocations: 35.77 kB / 0.7567 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.4172, allocations: 11.98 kB / 0.7567 GB, free: 13.54 MB / 0.5919 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.0002292/0.4175, allocations: 199.3 kB / 0.7569 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.4176, allocations: 47.66 kB / 0.7569 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.4177, allocations: 60.88 kB / 0.757 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.4177, allocations: 4 kB / 0.757 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4177, allocations: 0 / 0.757 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4177, allocations: 3.984 kB / 0.757 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.4182, allocations: 416.7 kB / 0.7574 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4182, allocations: 3.984 kB / 0.7574 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.4188, allocations: 123.9 kB / 0.7575 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.4188, allocations: 4 kB / 0.7575 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.4188, allocations: 11.94 kB / 0.7575 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4188, allocations: 8 kB / 0.7575 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4188, allocations: 0 / 0.7575 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.4199, allocations: 0.6472 MB / 0.7582 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.42, allocations: 55.62 kB / 0.7582 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.42, allocations: 19.88 kB / 0.7582 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.4202, allocations: 8 kB / 0.7582 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.4203, allocations: 27.94 kB / 0.7583 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.4203, allocations: 19.94 kB / 0.7583 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003837/0.4207, allocations: 319.1 kB / 0.7586 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.4207, allocations: 0 / 0.7586 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004338/0.4212, allocations: 147.7 kB / 0.7587 GB, free: 11.39 MB / 0.5919 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.0001538/0.4213, allocations: 111.2 kB / 0.7588 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006328/0.4219, allocations: 303.5 kB / 0.7591 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4219, allocations: 0 / 0.7591 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.4223, allocations: 172.2 kB / 0.7593 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.4228, allocations: 94.59 kB / 0.7594 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.4248, allocations: 1.199 MB / 0.7605 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.4251, allocations: 267.2 kB / 0.7608 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.4253, allocations: 51.38 kB / 0.7608 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.4254, allocations: 32.5 kB / 0.7609 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.4254, allocations: 0 / 0.7609 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of Templates: time 0.01152/0.4369, allocations: 5.009 MB / 0.7658 GB, free: 4.281 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0163566544651985] Failed to read output from testmodel.py, exit status != 0: 0.4454881865531206 0.460617484 0.052238651000000004 Calling exit ...