Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001442/0.001442, 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.001603/0.001603, allocations: 212.9 kB / 22.99 MB, free: 4.941 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: 7.777 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.002766/0.002766, allocations: 282.3 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.275/1.275, allocations: 180.6 MB / 0.5377 GB, free: 14.49 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [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.003012/0.003012, allocations: 93.73 kB / 0.7408 GB, free: 27.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2087, allocations: 95.39 MB / 0.8339 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002723/0.2114, allocations: 1.434 MB / 0.8353 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004652/0.216, allocations: 2.629 MB / 0.8379 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.2161, allocations: 0 / 0.8379 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.2161, allocations: 11.86 kB / 0.8379 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.725e-05/0.2162, allocations: 11.86 kB / 0.8379 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.2205, allocations: 1.625 MB / 0.8395 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2206, allocations: 43.73 kB / 0.8396 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.2206, allocations: 0 / 0.8396 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.2206, allocations: 15.94 kB / 0.8396 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.005e-05/0.2207, allocations: 19.86 kB / 0.8396 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.2207, allocations: 0 / 0.8396 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.223, allocations: 1.454 MB / 0.841 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.2231, allocations: 3.938 kB / 0.841 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.2231, allocations: 15.94 kB / 0.841 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.2247, allocations: 1.072 MB / 0.8421 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2247, allocations: 7.938 kB / 0.8421 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2247, allocations: 0 / 0.8421 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2247, allocations: 4 kB / 0.8421 GB, free: 15.39 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.0007367/0.2254, allocations: 468 kB / 0.8425 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.2255, allocations: 9.219 kB / 0.8426 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.2256, allocations: 80.22 kB / 0.8426 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.2258, allocations: 193.7 kB / 0.8428 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.162e-05/0.2259, allocations: 150.9 kB / 0.843 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.226, allocations: 150.9 kB / 0.8431 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.2261, allocations: 113.1 kB / 0.8432 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.2261, allocations: 75.28 kB / 0.8433 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.2262, allocations: 150.6 kB / 0.8434 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-05/0.2263, allocations: 150.6 kB / 0.8436 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.892e-05/0.2264, allocations: 162.5 kB / 0.8437 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.2267, allocations: 413.5 kB / 0.8441 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.2268, allocations: 169.1 kB / 0.8443 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.2268, allocations: 80.14 kB / 0.8444 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.2269, allocations: 79.28 kB / 0.8444 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.329e-05/0.2269, allocations: 109.8 kB / 0.8445 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.227, allocations: 0 / 0.8445 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.5e-05/0.227, allocations: 33.64 kB / 0.8446 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.2271, allocations: 130.7 kB / 0.8447 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.2273, allocations: 131.8 kB / 0.8448 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2273, allocations: 29.7 kB / 0.8448 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.2274, allocations: 96.12 kB / 0.8449 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.2274, allocations: 3.984 kB / 0.8449 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.2274, allocations: 13.72 kB / 0.845 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2276, allocations: 318.9 kB / 0.8453 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.2276, allocations: 4 kB / 0.8453 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.2276, allocations: 15.91 kB / 0.8453 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.096e-05/0.2277, allocations: 20.8 kB / 0.8453 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2277, allocations: 0 / 0.8453 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001402/0.2278, allocations: 45.66 kB / 0.8453 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2278, allocations: 7.938 kB / 0.8454 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.2279, allocations: 12.05 kB / 0.8454 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2279, allocations: 0 / 0.8454 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.2279, allocations: 0 / 0.8454 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2279, allocations: 3.938 kB / 0.8454 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.2279, allocations: 4 kB / 0.8454 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2279, allocations: 0 / 0.8454 GB, free: 11.86 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.0001261/0.228, allocations: 181.8 kB / 0.8455 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.636e-05/0.2281, allocations: 120.8 kB / 0.8457 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.2282, allocations: 116.6 kB / 0.8458 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.657e-05/0.2283, allocations: 184.2 kB / 0.8459 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.429e-05/0.2284, allocations: 180.3 kB / 0.8461 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.281e-05/0.2285, allocations: 180.3 kB / 0.8463 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.2287, allocations: 364.8 kB / 0.8466 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.77e-05/0.2288, allocations: 105 kB / 0.8467 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.2288, allocations: 108.9 kB / 0.8468 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.413e-05/0.2289, allocations: 180.3 kB / 0.847 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.73e-05/0.229, allocations: 180.2 kB / 0.8472 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-05/0.2291, allocations: 180.2 kB / 0.8474 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.051e-05/0.2292, allocations: 180.3 kB / 0.8475 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.2294, allocations: 307.8 kB / 0.8478 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.2295, allocations: 108.9 kB / 0.8479 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.2296, allocations: 192.1 kB / 0.8481 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.513e-05/0.2297, allocations: 109 kB / 0.8482 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.2298, allocations: 184.2 kB / 0.8484 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.2298, allocations: 101 kB / 0.8485 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.14e-05/0.2299, allocations: 95.27 kB / 0.8486 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2299, allocations: 4 kB / 0.8486 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008628/0.2307, allocations: 287 kB / 0.8489 GB, free: 8.094 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.001129/0.2319, allocations: 0.5386 MB / 0.8494 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.232, allocations: 41.69 kB / 0.8494 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.232, allocations: 3.938 kB / 0.8494 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.232, allocations: 0 / 0.8494 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.2325, allocations: 457.4 kB / 0.8499 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.2329, allocations: 270.8 kB / 0.8501 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.486e-05/0.233, allocations: 79.28 kB / 0.8502 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.233, allocations: 7.438 kB / 0.8502 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.233, allocations: 0 / 0.8502 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of Templates: time 0.0102/0.2432, allocations: 4.826 MB / 0.8549 GB, free: 1.82 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.975265733897686] Failed to read output from testmodel.py, exit status != 0: 0.25161700788885355 0.26710211100000003 0.039390386 Calling exit ...