Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.101/1.101, allocations: 175.8 MB / 479.1 MB, free: 3.383 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.16 kB / 0.6664 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2085, allocations: 94.54 MB / 0.7587 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005829/0.2144, allocations: 4.162 MB / 0.7628 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004113/0.2185, allocations: 2.429 MB / 0.7651 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.2188, allocations: 8 kB / 0.7652 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.2206, allocations: 0.5597 MB / 0.7657 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005176/0.2212, allocations: 238 kB / 0.7659 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.2214, allocations: 139.9 kB / 0.7661 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008536/0.2223, allocations: 0.8059 MB / 0.7668 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.2227, allocations: 234.5 kB / 0.7671 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.223, allocations: 302.9 kB / 0.7674 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.2235, allocations: 326.6 kB / 0.7677 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.2236, allocations: 72 kB / 0.7677 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.2237, allocations: 76 kB / 0.7678 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.224, allocations: 175.4 kB / 0.768 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.2244, allocations: 382.3 kB / 0.7683 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.2255, allocations: 0.9884 MB / 0.7693 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2255, allocations: 4 kB / 0.7693 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2255, allocations: 3.938 kB / 0.7693 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.2255, allocations: 0 / 0.7693 GB, free: 6.152 MB / 0.5762 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.001741/0.2273, allocations: 0.9652 MB / 0.7703 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.2273, allocations: 8.031 kB / 0.7703 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.2275, allocations: 76.47 kB / 0.7703 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008014/0.2283, allocations: 466 kB / 0.7708 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.2283, allocations: 37.38 kB / 0.7708 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2284, allocations: 51.94 kB / 0.7709 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008568/0.2293, allocations: 426.5 kB / 0.7713 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2293, allocations: 0 / 0.7713 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.2293, allocations: 20 kB / 0.7713 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.2294, allocations: 12 kB / 0.7713 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.2301, allocations: 363.8 kB / 0.7717 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.2326, allocations: 1.528 MB / 0.7731 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.2332, allocations: 314.7 kB / 0.7734 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.2337, allocations: 290.7 kB / 0.7737 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.2337, allocations: 8 kB / 0.7737 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2338, allocations: 34.56 kB / 0.7738 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 2.154e-06/0.2338, allocations: 0 / 0.7738 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.001113/0.2349, allocations: 0.4934 MB / 0.7742 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.2349, allocations: 59.41 kB / 0.7743 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000661/0.2356, allocations: 481.9 kB / 0.7748 GB, free: 360 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.2356, allocations: 37.64 kB / 0.7748 GB, free: 316 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.2359, allocations: 276.7 kB / 0.7751 GB, free: 36 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.2361, allocations: 154.8 kB / 0.7752 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2362, allocations: 66.06 kB / 0.7753 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002275/0.2364, allocations: 362.8 kB / 0.7756 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.2367, allocations: 116.7 kB / 0.7757 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.2369, allocations: 129.4 kB / 0.7759 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/0.2375, allocations: 302.1 kB / 0.7761 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.2375, allocations: 3.75 kB / 0.7761 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007695/0.2383, allocations: 396.5 kB / 0.7765 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.2383, allocations: 4 kB / 0.7765 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2383, allocations: 4 kB / 0.7765 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/0.2383, allocations: 4 kB / 0.7765 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.2389, allocations: 123.9 kB / 0.7767 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2389, allocations: 0 / 0.7767 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.2392, allocations: 39.72 kB / 0.7767 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.2392, allocations: 12 kB / 0.7767 GB, free: 14.33 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.0003027/0.2395, allocations: 201.7 kB / 0.7769 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.2396, allocations: 59.66 kB / 0.777 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.2398, allocations: 61.11 kB / 0.777 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/0.2398, allocations: 7.984 kB / 0.777 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.2398, allocations: 0 / 0.777 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2398, allocations: 3.938 kB / 0.777 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008415/0.2406, allocations: 0.5752 MB / 0.7776 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2406, allocations: 0 / 0.7776 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.2412, allocations: 123.9 kB / 0.7777 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2412, allocations: 3.938 kB / 0.7777 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2412, allocations: 12 kB / 0.7777 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2412, allocations: 0 / 0.7777 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2412, allocations: 0 / 0.7777 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.2424, allocations: 0.6523 MB / 0.7784 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.2425, allocations: 132.7 kB / 0.7785 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.2426, allocations: 12 kB / 0.7785 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.2428, allocations: 15.98 kB / 0.7785 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.2429, allocations: 23.97 kB / 0.7785 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2429, allocations: 12 kB / 0.7785 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004703/0.2434, allocations: 351.1 kB / 0.7789 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2434, allocations: 0 / 0.7789 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004714/0.2438, allocations: 147.7 kB / 0.779 GB, free: 11.87 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.0002229/0.2441, allocations: 111.2 kB / 0.7791 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006771/0.2447, allocations: 307.7 kB / 0.7794 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2447, allocations: 0 / 0.7794 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.2451, allocations: 167.6 kB / 0.7796 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.2457, allocations: 135.4 kB / 0.7797 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.248, allocations: 1.239 MB / 0.7809 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.2485, allocations: 0.8743 MB / 0.7818 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.2487, allocations: 39.44 kB / 0.7818 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/0.2487, allocations: 0 / 0.7818 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.01132/0.26, allocations: 6.902 MB / 0.7885 GB, free: 2.09 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.325156616978347] Failed to read output from testmodel.py, exit status != 0: 0.2678238900844008 0.28094265799999996 0.052654309 Calling exit ...