Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001414/0.001414, 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.001543/0.001543, allocations: 214.2 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002685/0.002685, allocations: 296.3 kB / 313.5 MB, free: 2.602 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.224/1.224, allocations: 180.6 MB / 0.5377 GB, free: 14.53 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.002985/0.002985, allocations: 108 kB / 0.7408 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1959, allocations: 95.38 MB / 0.8339 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002654/0.1985, allocations: 1.447 MB / 0.8354 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004466/0.203, allocations: 2.664 MB / 0.838 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.203, allocations: 0 / 0.838 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.2031, allocations: 4 kB / 0.838 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.2031, allocations: 23.78 kB / 0.838 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.207, allocations: 1.656 MB / 0.8396 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.207, allocations: 39.75 kB / 0.8396 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.2071, allocations: 7.984 kB / 0.8397 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.95e-05/0.2071, allocations: 15.94 kB / 0.8397 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.2071, allocations: 15.88 kB / 0.8397 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2072, allocations: 0 / 0.8397 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.2093, allocations: 1.49 MB / 0.8411 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.2093, allocations: 0 / 0.8411 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.2094, allocations: 19.86 kB / 0.8412 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.2108, allocations: 1.099 MB / 0.8422 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2108, allocations: 0 / 0.8422 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2108, allocations: 0 / 0.8422 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2109, allocations: 0 / 0.8422 GB, free: 15.32 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.0006013/0.2115, allocations: 476 kB / 0.8427 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2115, allocations: 8.625 kB / 0.8427 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.165e-05/0.2116, allocations: 84.17 kB / 0.8428 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.2117, allocations: 203.6 kB / 0.843 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.2118, allocations: 150.9 kB / 0.8431 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.2119, allocations: 154.9 kB / 0.8433 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.432e-05/0.212, allocations: 113 kB / 0.8434 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.212, allocations: 75.28 kB / 0.8434 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/0.2121, allocations: 150.6 kB / 0.8436 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.866e-05/0.2121, allocations: 150.6 kB / 0.8437 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.718e-05/0.2122, allocations: 154.6 kB / 0.8439 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.2125, allocations: 409.6 kB / 0.8443 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2126, allocations: 177.1 kB / 0.8444 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.2127, allocations: 84.14 kB / 0.8445 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.2127, allocations: 79.28 kB / 0.8446 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/0.2128, allocations: 109.8 kB / 0.8447 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2128, allocations: 0 / 0.8447 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.389e-05/0.2129, allocations: 37.59 kB / 0.8447 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.2129, allocations: 130.7 kB / 0.8449 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.2131, allocations: 139.8 kB / 0.845 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2131, allocations: 25.7 kB / 0.845 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.2132, allocations: 92.06 kB / 0.8451 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.2132, allocations: 0 / 0.8451 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.2132, allocations: 25.66 kB / 0.8451 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2133, allocations: 318.8 kB / 0.8454 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.2134, allocations: 8 kB / 0.8454 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.2134, allocations: 4 kB / 0.8454 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.2134, allocations: 16.86 kB / 0.8455 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2134, allocations: 0 / 0.8455 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001271/0.2135, allocations: 45.66 kB / 0.8455 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2136, allocations: 15.92 kB / 0.8455 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.2136, allocations: 0 / 0.8455 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2136, allocations: 4 kB / 0.8455 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.2136, allocations: 0 / 0.8455 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2136, allocations: 0 / 0.8455 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.2136, allocations: 8 kB / 0.8455 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.2136, allocations: 0 / 0.8455 GB, free: 11.76 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.0001297/0.2138, allocations: 189.8 kB / 0.8457 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.2138, allocations: 112.9 kB / 0.8458 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.2139, allocations: 112.8 kB / 0.8459 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.103e-05/0.214, allocations: 184.2 kB / 0.8461 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.821e-05/0.2141, allocations: 176.3 kB / 0.8463 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.573e-05/0.2141, allocations: 188.1 kB / 0.8464 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.2144, allocations: 360.9 kB / 0.8468 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-05/0.2144, allocations: 109 kB / 0.8469 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.2145, allocations: 108.9 kB / 0.847 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.701e-05/0.2145, allocations: 176.3 kB / 0.8472 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.074e-05/0.2146, allocations: 192.1 kB / 0.8473 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.657e-05/0.2147, allocations: 180.3 kB / 0.8475 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.881e-05/0.2148, allocations: 180.2 kB / 0.8477 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2149, allocations: 311.7 kB / 0.848 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.215, allocations: 116.9 kB / 0.8481 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.27e-05/0.2151, allocations: 184.2 kB / 0.8483 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.2152, allocations: 101 kB / 0.8484 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.2153, allocations: 184.2 kB / 0.8485 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.2153, allocations: 101 kB / 0.8486 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.109e-05/0.2154, allocations: 103.3 kB / 0.8487 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2154, allocations: 0 / 0.8487 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006683/0.216, allocations: 295 kB / 0.849 GB, free: 7.98 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.001057/0.2171, allocations: 0.5479 MB / 0.8496 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.2172, allocations: 45.64 kB / 0.8496 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2172, allocations: 3.938 kB / 0.8496 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.2172, allocations: 352 / 0.8496 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.2177, allocations: 465.4 kB / 0.85 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.218, allocations: 266.3 kB / 0.8503 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.791e-05/0.2181, allocations: 71.58 kB / 0.8504 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.2181, allocations: 11.5 kB / 0.8504 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.2181, allocations: 4 kB / 0.8504 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of Templates: time 0.008009/0.2261, allocations: 4.945 MB / 0.8552 GB, free: 1.574 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.948674489278346] Failed to read output from testmodel.py, exit status != 0: 0.23387561598792672 0.24804168799999995 0.034298378000000004 Calling exit ...