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.001566/0.001566, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.0014/0.0014, allocations: 160.1 kB / 23.01 MB, free: 4.938 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.394/1.394, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] 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.00246/0.00246, allocations: 237.2 kB / 260 MB, free: 428 kB / 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 0.9198/0.9198, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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.003015/0.003015, allocations: 106.2 kB / 0.6474 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3952, allocations: 95.35 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004949/0.4001, allocations: 3.783 MB / 0.7442 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.4034, allocations: 2.219 MB / 0.7464 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004934/0.4038, allocations: 9.625 kB / 0.7464 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.4053, allocations: 0.4939 MB / 0.7469 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005084/0.4059, allocations: 251.3 kB / 0.7471 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.4061, allocations: 138.4 kB / 0.7472 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006749/0.4068, allocations: 0.8165 MB / 0.748 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.4071, allocations: 217 kB / 0.7482 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.4075, allocations: 299.5 kB / 0.7485 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.4078, allocations: 280.7 kB / 0.7488 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.463e-05/0.4079, allocations: 78.58 kB / 0.7489 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.408, allocations: 74.69 kB / 0.7489 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.4082, allocations: 173.1 kB / 0.7491 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002811/0.4084, allocations: 311.5 kB / 0.7494 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009457/0.4094, allocations: 1.006 MB / 0.7504 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4094, allocations: 0.9375 kB / 0.7504 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4094, allocations: 4 kB / 0.7504 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.4094, allocations: 0 / 0.7504 GB, free: 11.49 MB / 0.5919 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.001345/0.4107, allocations: 0.8929 MB / 0.7513 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4108, allocations: 10.97 kB / 0.7513 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.4109, allocations: 76.56 kB / 0.7514 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006618/0.4116, allocations: 398.2 kB / 0.7517 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.4116, allocations: 36.59 kB / 0.7518 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.703e-05/0.4117, allocations: 48.28 kB / 0.7518 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/0.4124, allocations: 442.5 kB / 0.7522 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.4124, allocations: 1.031 kB / 0.7522 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.4125, allocations: 19.69 kB / 0.7523 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.4125, allocations: 12.22 kB / 0.7523 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.4132, allocations: 366.6 kB / 0.7526 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.4149, allocations: 1.177 MB / 0.7538 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.4153, allocations: 311.2 kB / 0.7541 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004337/0.4158, allocations: 288.1 kB / 0.7543 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.4158, allocations: 4.438 kB / 0.7543 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4158, allocations: 37.28 kB / 0.7544 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.4158, allocations: 0 / 0.7544 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009091/0.4167, allocations: 0.4906 MB / 0.7549 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.4168, allocations: 55.53 kB / 0.7549 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.4172, allocations: 442.4 kB / 0.7553 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.4172, allocations: 34.95 kB / 0.7554 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.4174, allocations: 282.1 kB / 0.7556 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.4175, allocations: 151.7 kB / 0.7558 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/0.4176, allocations: 58.75 kB / 0.7558 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.4176, allocations: 356.1 kB / 0.7562 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.4179, allocations: 124.7 kB / 0.7563 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.4181, allocations: 125.4 kB / 0.7564 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.4186, allocations: 297.7 kB / 0.7567 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4186, allocations: 0 / 0.7567 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005925/0.4192, allocations: 398.5 kB / 0.7571 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4192, allocations: 9.125 kB / 0.7571 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4192, allocations: 0 / 0.7571 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4192, allocations: 2.891 kB / 0.7571 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.4197, allocations: 124.8 kB / 0.7572 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4197, allocations: 5.625 kB / 0.7572 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.4199, allocations: 33.94 kB / 0.7572 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.4199, allocations: 11.88 kB / 0.7573 GB, free: 7.477 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.0001717/0.4201, allocations: 195.9 kB / 0.7574 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.4202, allocations: 49.5 kB / 0.7575 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/0.4203, allocations: 54.61 kB / 0.7575 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4203, allocations: 5.125 kB / 0.7575 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4203, allocations: 0.75 kB / 0.7575 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4203, allocations: 6.328 kB / 0.7576 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.4208, allocations: 424.5 kB / 0.758 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4208, allocations: 4 kB / 0.758 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.4213, allocations: 123.5 kB / 0.7581 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4213, allocations: 2.719 kB / 0.7581 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.4213, allocations: 9.281 kB / 0.7581 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4213, allocations: 2.875 kB / 0.7581 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4213, allocations: 0 / 0.7581 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008715/0.4222, allocations: 0.6545 MB / 0.7587 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.4222, allocations: 54.38 kB / 0.7588 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.4223, allocations: 18.38 kB / 0.7588 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4225, allocations: 13.17 kB / 0.7588 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.4226, allocations: 24.73 kB / 0.7588 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4226, allocations: 11.22 kB / 0.7588 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002988/0.4229, allocations: 314.1 kB / 0.7591 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4229, allocations: 0 / 0.7591 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004457/0.4233, allocations: 148.8 kB / 0.7593 GB, free: 6.223 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.0001103/0.4234, allocations: 120.5 kB / 0.7594 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000568/0.424, allocations: 301.3 kB / 0.7597 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.424, allocations: 0 / 0.7597 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.4243, allocations: 165.2 kB / 0.7599 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.4248, allocations: 107.2 kB / 0.76 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.4265, allocations: 1.199 MB / 0.7611 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.4267, allocations: 272.6 kB / 0.7614 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.4268, allocations: 40.36 kB / 0.7614 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.173e-05/0.4269, allocations: 38.12 kB / 0.7615 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.4269, allocations: 0 / 0.7615 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of Templates: time 0.009873/0.4368, allocations: 5.016 MB / 0.7664 GB, free: 2.398 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.768581150914542] Failed to read output from testmodel.py, exit status != 0: 0.44495263905264437 0.458053761 0.045638033 Calling exit ...