Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001671/0.001671, 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.001838/0.001838, allocations: 217.1 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002757/0.002757, allocations: 296.4 kB / 313.5 MB, free: 2.625 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.265/1.265, allocations: 180.6 MB / 0.5377 GB, free: 14.62 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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.002987/0.002987, allocations: 99.09 kB / 0.7408 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2143, allocations: 95.39 MB / 0.834 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002888/0.2172, allocations: 1.429 MB / 0.8353 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004684/0.2219, allocations: 2.625 MB / 0.8379 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.2219, allocations: 0 / 0.8379 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.2219, allocations: 7.875 kB / 0.8379 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.222, allocations: 19.84 kB / 0.8379 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.2263, allocations: 1.629 MB / 0.8395 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2264, allocations: 39.73 kB / 0.8396 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.2264, allocations: 4 kB / 0.8396 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.925e-05/0.2264, allocations: 19.92 kB / 0.8396 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.917e-05/0.2265, allocations: 11.94 kB / 0.8396 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.2265, allocations: 3.938 kB / 0.8396 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.2288, allocations: 1.451 MB / 0.841 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.2289, allocations: 3.938 kB / 0.841 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.2289, allocations: 15.92 kB / 0.841 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.2305, allocations: 1.072 MB / 0.8421 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2305, allocations: 0 / 0.8421 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2305, allocations: 3.938 kB / 0.8421 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2305, allocations: 4 kB / 0.8421 GB, free: 15.41 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000657/0.2312, allocations: 468 kB / 0.8425 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.2312, allocations: 12.62 kB / 0.8426 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.2313, allocations: 80.22 kB / 0.8426 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2315, allocations: 197.7 kB / 0.8428 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.2315, allocations: 150.9 kB / 0.843 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.2316, allocations: 154.9 kB / 0.8431 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.682e-05/0.2317, allocations: 109.1 kB / 0.8432 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/0.2317, allocations: 75.28 kB / 0.8433 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.2318, allocations: 150.6 kB / 0.8434 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/0.2319, allocations: 150.6 kB / 0.8436 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.2319, allocations: 162.5 kB / 0.8437 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.2322, allocations: 417.5 kB / 0.8441 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.2323, allocations: 173.1 kB / 0.8443 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.2324, allocations: 80.14 kB / 0.8444 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.2324, allocations: 75.28 kB / 0.8444 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.2325, allocations: 113.8 kB / 0.8445 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2325, allocations: 0 / 0.8445 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.734e-05/0.2325, allocations: 29.64 kB / 0.8446 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.2326, allocations: 130.7 kB / 0.8447 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.2328, allocations: 136.1 kB / 0.8448 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.2328, allocations: 29.7 kB / 0.8449 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.2329, allocations: 92.12 kB / 0.8449 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.2329, allocations: 0 / 0.8449 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.2329, allocations: 17.72 kB / 0.845 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.233, allocations: 314.9 kB / 0.8453 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.2331, allocations: 12 kB / 0.8453 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.2331, allocations: 4 kB / 0.8453 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/0.2331, allocations: 16.8 kB / 0.8453 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.2331, allocations: 4 kB / 0.8453 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.2333, allocations: 49.64 kB / 0.8453 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2333, allocations: 7.938 kB / 0.8454 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.2333, allocations: 8.062 kB / 0.8454 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2333, allocations: 0 / 0.8454 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.2333, allocations: 0 / 0.8454 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2333, allocations: 3.938 kB / 0.8454 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.2334, allocations: 0 / 0.8454 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.2334, allocations: 4 kB / 0.8454 GB, free: 11.88 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000116/0.2335, allocations: 185.8 kB / 0.8455 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.2336, allocations: 116.8 kB / 0.8457 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.2336, allocations: 116.6 kB / 0.8458 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-05/0.2337, allocations: 176.3 kB / 0.8459 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.606e-05/0.2338, allocations: 184.2 kB / 0.8461 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-05/0.2339, allocations: 184.3 kB / 0.8463 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.2341, allocations: 364.8 kB / 0.8466 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.701e-05/0.2341, allocations: 105 kB / 0.8467 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.2342, allocations: 104.9 kB / 0.8468 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.333e-05/0.2343, allocations: 176.3 kB / 0.847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/0.2343, allocations: 188.2 kB / 0.8472 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.254e-05/0.2344, allocations: 180.2 kB / 0.8474 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-05/0.2345, allocations: 180.2 kB / 0.8475 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.2347, allocations: 307.8 kB / 0.8478 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.2347, allocations: 112.9 kB / 0.8479 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.2348, allocations: 192.1 kB / 0.8481 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.2349, allocations: 101 kB / 0.8482 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.235, allocations: 192.1 kB / 0.8484 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.2351, allocations: 101 kB / 0.8485 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.693e-05/0.2351, allocations: 99.27 kB / 0.8486 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2351, allocations: 0 / 0.8486 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008626/0.236, allocations: 291 kB / 0.8489 GB, free: 8.105 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001122/0.2371, allocations: 0.5401 MB / 0.8494 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.2372, allocations: 29.7 kB / 0.8494 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2372, allocations: 0 / 0.8494 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.2372, allocations: 7.938 kB / 0.8494 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.2377, allocations: 465.6 kB / 0.8499 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.2382, allocations: 270.8 kB / 0.8501 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.274e-05/0.2382, allocations: 71.34 kB / 0.8502 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.2382, allocations: 11.44 kB / 0.8502 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.2382, allocations: 0 / 0.8502 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of Templates: time 0.01003/0.2483, allocations: 4.827 MB / 0.8549 GB, free: 1.832 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.08991802483797] Failed to read output from testmodel.py, exit status != 0: 0.2569349226541817 0.27249841 0.038897983000000004 Calling exit ...