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.00162/0.00162, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001803/0.001803, allocations: 214.6 kB / 22.99 MB, free: 4.945 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.002834/0.002834, allocations: 282.6 kB / 313.5 MB, free: 2.613 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.258/1.258, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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.00298/0.00298, allocations: 103 kB / 0.7408 GB, free: 27.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2011, allocations: 95.39 MB / 0.8339 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005539/0.2067, allocations: 3.786 MB / 0.8376 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003816/0.2105, allocations: 2.227 MB / 0.8398 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.2108, allocations: 11.94 kB / 0.8398 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.2124, allocations: 494.9 kB / 0.8403 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.2129, allocations: 258 kB / 0.8405 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.2132, allocations: 139.8 kB / 0.8407 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008504/0.214, allocations: 0.8059 MB / 0.8414 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.2144, allocations: 211 kB / 0.8416 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.2149, allocations: 318.9 kB / 0.842 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003793/0.2153, allocations: 282.6 kB / 0.8422 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.871e-05/0.2153, allocations: 72 kB / 0.8423 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.2155, allocations: 76 kB / 0.8424 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.2157, allocations: 175.4 kB / 0.8425 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.216, allocations: 314.6 kB / 0.8428 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.217, allocations: 1.004 MB / 0.8438 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.217, allocations: 0 / 0.8438 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.034e-06/0.217, allocations: 0 / 0.8438 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.217, allocations: 0 / 0.8438 GB, free: 13.62 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.001554/0.2186, allocations: 0.8977 MB / 0.8447 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2186, allocations: 9.219 kB / 0.8447 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.2188, allocations: 76.47 kB / 0.8448 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.2195, allocations: 400.2 kB / 0.8452 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.2195, allocations: 41.38 kB / 0.8452 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.2196, allocations: 48.38 kB / 0.8452 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.2204, allocations: 430.8 kB / 0.8456 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.2204, allocations: 4 kB / 0.8457 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.2205, allocations: 19.94 kB / 0.8457 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.2205, allocations: 12 kB / 0.8457 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.2212, allocations: 359.8 kB / 0.846 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.2232, allocations: 1.175 MB / 0.8472 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.2237, allocations: 313.1 kB / 0.8475 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.2242, allocations: 284.7 kB / 0.8477 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.2242, allocations: 8 kB / 0.8477 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.2242, allocations: 39.33 kB / 0.8478 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 2.575e-06/0.2243, allocations: 0 / 0.8478 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009999/0.2252, allocations: 498.5 kB / 0.8483 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.2253, allocations: 55.41 kB / 0.8483 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.2258, allocations: 442 kB / 0.8487 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.2259, allocations: 29.7 kB / 0.8488 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.2261, allocations: 280.5 kB / 0.849 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.2262, allocations: 166.5 kB / 0.8492 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2263, allocations: 62.08 kB / 0.8493 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2265, allocations: 362.7 kB / 0.8496 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.2268, allocations: 120.7 kB / 0.8497 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.227, allocations: 122.6 kB / 0.8498 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.2275, allocations: 302.2 kB / 0.8501 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2275, allocations: 0 / 0.8501 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006798/0.2282, allocations: 392.5 kB / 0.8505 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2282, allocations: 7.938 kB / 0.8505 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2283, allocations: 4 kB / 0.8505 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2283, allocations: 0 / 0.8505 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.2288, allocations: 131.8 kB / 0.8506 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2288, allocations: 0 / 0.8506 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.229, allocations: 27.84 kB / 0.8507 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.229, allocations: 15.98 kB / 0.8507 GB, free: 6.414 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.0002552/0.2293, allocations: 197.7 kB / 0.8509 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.2294, allocations: 51.66 kB / 0.8509 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.2295, allocations: 60.86 kB / 0.851 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2295, allocations: 4 kB / 0.851 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.2295, allocations: 0 / 0.851 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2295, allocations: 0 / 0.851 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.2301, allocations: 424.6 kB / 0.8514 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2301, allocations: 0 / 0.8514 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.2306, allocations: 127.9 kB / 0.8515 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2306, allocations: 0 / 0.8515 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.2306, allocations: 15.94 kB / 0.8515 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2306, allocations: 3.938 kB / 0.8515 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2306, allocations: 0 / 0.8515 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.2317, allocations: 0.6472 MB / 0.8521 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2318, allocations: 59.69 kB / 0.8522 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.2319, allocations: 15.94 kB / 0.8522 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2321, allocations: 19.98 kB / 0.8522 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.2321, allocations: 19.95 kB / 0.8523 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.2322, allocations: 12 kB / 0.8523 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003887/0.2325, allocations: 319.1 kB / 0.8526 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2325, allocations: 0 / 0.8526 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004537/0.233, allocations: 151.6 kB / 0.8527 GB, free: 4.254 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.0001566/0.2332, allocations: 115.2 kB / 0.8528 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006311/0.2338, allocations: 299.6 kB / 0.8531 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2338, allocations: 0 / 0.8531 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.2341, allocations: 164.2 kB / 0.8533 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.2347, allocations: 107.5 kB / 0.8534 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.2368, allocations: 1.225 MB / 0.8546 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.2371, allocations: 271.2 kB / 0.8548 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.2372, allocations: 35.44 kB / 0.8549 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.2372, allocations: 0 / 0.8549 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of Templates: time 0.01115/0.2484, allocations: 6.714 MB / 0.8614 GB, free: 11.33 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.145501460880041] Failed to read output from testmodel.py, exit status != 0: 0.2568491920828819 0.27179463000000004 0.051655706 Calling exit ...