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.001395/0.001395, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001734/0.001734, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.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.002561/0.002561, allocations: 286.8 kB / 313.5 MB, free: 2.852 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.257/1.257, allocations: 180.6 MB / 0.5377 GB, free: 12.99 MB / 382.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.002953/0.002953, allocations: 108.6 kB / 0.7409 GB, free: 28.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.2007, allocations: 95.38 MB / 0.834 GB, free: 8.168 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005868/0.2066, allocations: 4.211 MB / 0.8381 GB, free: 3.934 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003745/0.2103, allocations: 2.46 MB / 0.8405 GB, free: 1.461 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002811/0.2106, allocations: 15.94 kB / 0.8405 GB, free: 1.445 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.2121, allocations: 0.5387 MB / 0.8411 GB, free: 0.9062 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.2126, allocations: 250 kB / 0.8413 GB, free: 0.6602 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.2129, allocations: 143.8 kB / 0.8414 GB, free: 0.5195 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0008678/0.2137, allocations: 0.8098 MB / 0.8422 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.2141, allocations: 227 kB / 0.8424 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004315/0.2146, allocations: 310.9 kB / 0.8427 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.215, allocations: 330.6 kB / 0.8431 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.2151, allocations: 76 kB / 0.8431 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.2152, allocations: 75.94 kB / 0.8432 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.2154, allocations: 175.4 kB / 0.8434 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.2157, allocations: 386.2 kB / 0.8437 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.2168, allocations: 1 MB / 0.8447 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2168, allocations: 0 / 0.8447 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2168, allocations: 0 / 0.8447 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.2168, allocations: 0 / 0.8447 GB, free: 13.15 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.001518/0.2183, allocations: 0.8977 MB / 0.8456 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2184, allocations: 8.625 kB / 0.8456 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.2185, allocations: 76.47 kB / 0.8457 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.2192, allocations: 404.2 kB / 0.8461 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.2192, allocations: 37.38 kB / 0.8461 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.2193, allocations: 48.31 kB / 0.8461 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.2201, allocations: 430.8 kB / 0.8465 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.2201, allocations: 7.938 kB / 0.8466 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.2201, allocations: 20 kB / 0.8466 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.2201, allocations: 8 kB / 0.8466 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/0.2208, allocations: 371.8 kB / 0.8469 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.223, allocations: 1.468 MB / 0.8484 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.2235, allocations: 318 kB / 0.8487 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.224, allocations: 295.5 kB / 0.849 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.224, allocations: 4 kB / 0.849 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.2241, allocations: 42.5 kB / 0.849 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.844e-06/0.2241, allocations: 0 / 0.849 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009846/0.2251, allocations: 0.4907 MB / 0.8495 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.2251, allocations: 55.41 kB / 0.8495 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005849/0.2257, allocations: 489.9 kB / 0.85 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2257, allocations: 33.7 kB / 0.85 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.2259, allocations: 272.7 kB / 0.8503 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.2261, allocations: 158.6 kB / 0.8504 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-05/0.2262, allocations: 62.02 kB / 0.8505 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2263, allocations: 362.8 kB / 0.8508 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.2266, allocations: 124.7 kB / 0.851 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.2268, allocations: 122.6 kB / 0.8511 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.2274, allocations: 298.2 kB / 0.8514 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2274, allocations: 0 / 0.8514 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006686/0.228, allocations: 404.5 kB / 0.8518 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.228, allocations: 5.25 kB / 0.8518 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.228, allocations: 0 / 0.8518 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2281, allocations: 4 kB / 0.8518 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.2286, allocations: 127.8 kB / 0.8519 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.2286, allocations: 0 / 0.8519 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.2288, allocations: 39.67 kB / 0.8519 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2288, allocations: 15.98 kB / 0.8519 GB, free: 5.535 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.0002218/0.229, allocations: 199.2 kB / 0.8521 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.2291, allocations: 55.61 kB / 0.8522 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.2293, allocations: 65.09 kB / 0.8522 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2293, allocations: 4 kB / 0.8522 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.2293, allocations: 0 / 0.8522 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2293, allocations: 3.984 kB / 0.8523 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/0.2299, allocations: 0.5506 MB / 0.8528 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2299, allocations: 0 / 0.8528 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.2305, allocations: 131.8 kB / 0.8529 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.2305, allocations: 7.984 kB / 0.8529 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.2305, allocations: 4 kB / 0.8529 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2305, allocations: 4 kB / 0.8529 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2305, allocations: 0 / 0.8529 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009946/0.2315, allocations: 0.6433 MB / 0.8536 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.2316, allocations: 75.52 kB / 0.8536 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.2317, allocations: 12 kB / 0.8536 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.2319, allocations: 8 kB / 0.8536 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.232, allocations: 28.03 kB / 0.8537 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.232, allocations: 11.98 kB / 0.8537 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004041/0.2324, allocations: 351.1 kB / 0.854 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2324, allocations: 0 / 0.854 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004034/0.2328, allocations: 143.7 kB / 0.8542 GB, free: 3.191 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.0001526/0.2329, allocations: 115.2 kB / 0.8543 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006051/0.2335, allocations: 299.6 kB / 0.8546 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2335, allocations: 0 / 0.8546 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.2338, allocations: 168.1 kB / 0.8547 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.2345, allocations: 127.8 kB / 0.8548 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.2365, allocations: 1.24 MB / 0.856 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.237, allocations: 0.8703 MB / 0.8569 GB, free: 328 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.2371, allocations: 39.44 kB / 0.8569 GB, free: 288 kB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.2371, allocations: 0 / 0.8569 GB, free: 288 kB / 0.5919 GB Notification: Performance of Templates: time 0.01068/0.2478, allocations: 6.924 MB / 0.8637 GB, free: 9.422 MB / 0.6075 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: 9.43486465816386] Failed to read output from testmodel.py, exit status != 0: 0.25551558495499194 0.27041936999999994 0.050440017000000004 Calling exit ...