Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001346/0.001346, allocations: 117.6 kB / 17.13 MB, free: 5.758 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.001353/0.001353, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.452/1.452, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.073/1.073, allocations: 175.7 MB / 479.1 MB, free: 3.461 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 60.41 kB / 0.6664 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2127, allocations: 94.54 MB / 0.7587 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004636/0.2173, allocations: 3.039 MB / 0.7617 GB, free: 14.03 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003122/0.2204, allocations: 2.148 MB / 0.7638 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.2206, allocations: 8 kB / 0.7638 GB, free: 11.87 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.2222, allocations: 0.508 MB / 0.7643 GB, free: 11.36 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.2225, allocations: 142.9 kB / 0.7644 GB, free: 11.22 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.2226, allocations: 63.92 kB / 0.7645 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0004921/0.2231, allocations: 441.8 kB / 0.7649 GB, free: 10.72 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.2233, allocations: 107.3 kB / 0.765 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.2235, allocations: 163.3 kB / 0.7652 GB, free: 10.45 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.2238, allocations: 175.2 kB / 0.7653 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.2239, allocations: 36 kB / 0.7654 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.2239, allocations: 32 kB / 0.7654 GB, free: 10.21 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.2241, allocations: 107.5 kB / 0.7655 GB, free: 10.11 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.2243, allocations: 219 kB / 0.7657 GB, free: 9.895 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0006047/0.2249, allocations: 0.5486 MB / 0.7662 GB, free: 9.344 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2249, allocations: 3.938 kB / 0.7662 GB, free: 9.34 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2249, allocations: 0 / 0.7662 GB, free: 9.34 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2249, allocations: 0 / 0.7662 GB, free: 9.34 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001091/0.226, allocations: 0.7083 MB / 0.7669 GB, free: 8.582 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.226, allocations: 8.031 kB / 0.7669 GB, free: 8.574 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.2261, allocations: 52.59 kB / 0.767 GB, free: 8.523 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.2267, allocations: 378.4 kB / 0.7673 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2267, allocations: 12.81 kB / 0.7674 GB, free: 8.102 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.2267, allocations: 23.94 kB / 0.7674 GB, free: 8.078 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.2272, allocations: 203.3 kB / 0.7676 GB, free: 7.875 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.2272, allocations: 0 / 0.7676 GB, free: 7.875 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.2272, allocations: 15.92 kB / 0.7676 GB, free: 7.859 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2272, allocations: 7.984 kB / 0.7676 GB, free: 7.852 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.2276, allocations: 165.7 kB / 0.7678 GB, free: 7.691 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.2288, allocations: 0.8625 MB / 0.7686 GB, free: 6.754 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.2291, allocations: 150.5 kB / 0.7687 GB, free: 6.598 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2294, allocations: 100.8 kB / 0.7688 GB, free: 6.496 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.2294, allocations: 0 / 0.7688 GB, free: 6.496 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.2294, allocations: 42.5 kB / 0.7689 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=18): time 9.31e-07/0.2294, allocations: 0 / 0.7689 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of matching and sorting (n=18): time 0.0006155/0.23, allocations: 255.8 kB / 0.7691 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2301, allocations: 59.28 kB / 0.7692 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.2305, allocations: 413.7 kB / 0.7696 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2306, allocations: 29.7 kB / 0.7696 GB, free: 5.672 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.2307, allocations: 208.4 kB / 0.7698 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.2308, allocations: 63.44 kB / 0.7699 GB, free: 5.402 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.2309, allocations: 33.7 kB / 0.7699 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.231, allocations: 350.8 kB / 0.7702 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2312, allocations: 51.97 kB / 0.7703 GB, free: 4.961 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2313, allocations: 57.52 kB / 0.7703 GB, free: 4.906 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.2316, allocations: 143.2 kB / 0.7705 GB, free: 4.766 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2316, allocations: 0 / 0.7705 GB, free: 4.766 MB / 0.5763 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003952/0.232, allocations: 217.2 kB / 0.7707 GB, free: 4.547 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.232, allocations: 4 kB / 0.7707 GB, free: 4.543 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.232, allocations: 0 / 0.7707 GB, free: 4.543 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.232, allocations: 0 / 0.7707 GB, free: 4.543 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.2323, allocations: 55.97 kB / 0.7707 GB, free: 4.488 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2323, allocations: 0 / 0.7707 GB, free: 4.488 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.2324, allocations: 23.88 kB / 0.7708 GB, free: 4.465 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2325, allocations: 4 kB / 0.7708 GB, free: 4.461 MB / 0.5763 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 (20): * Single equations (assignments): 20 * 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.0001618/0.2326, allocations: 169.8 kB / 0.7709 GB, free: 4.285 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.2327, allocations: 39.7 kB / 0.771 GB, free: 4.246 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.711e-05/0.2328, allocations: 39.59 kB / 0.771 GB, free: 4.207 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2328, allocations: 0 / 0.771 GB, free: 4.207 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2328, allocations: 0 / 0.771 GB, free: 4.207 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2328, allocations: 0 / 0.771 GB, free: 4.207 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.2332, allocations: 381.3 kB / 0.7714 GB, free: 3.785 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2332, allocations: 4 kB / 0.7714 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.2334, allocations: 51.91 kB / 0.7714 GB, free: 3.73 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2335, allocations: 0 / 0.7714 GB, free: 3.73 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2335, allocations: 4 kB / 0.7714 GB, free: 3.727 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2335, allocations: 4 kB / 0.7714 GB, free: 3.723 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2335, allocations: 3.938 kB / 0.7714 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.2341, allocations: 383.1 kB / 0.7718 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.2342, allocations: 120.8 kB / 0.7719 GB, free: 3.191 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.2342, allocations: 8 kB / 0.7719 GB, free: 3.184 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2344, allocations: 15.92 kB / 0.7719 GB, free: 3.168 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.2344, allocations: 11.92 kB / 0.7719 GB, free: 3.156 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.2345, allocations: 4 kB / 0.7719 GB, free: 3.152 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0003315/0.2348, allocations: 303.2 kB / 0.7722 GB, free: 2.855 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.2348, allocations: 4.062 kB / 0.7722 GB, free: 2.852 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003047/0.2351, allocations: 71.89 kB / 0.7723 GB, free: 2.781 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001433/0.2352, allocations: 111.2 kB / 0.7724 GB, free: 2.664 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.2356, allocations: 131.7 kB / 0.7725 GB, free: 2.539 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2356, allocations: 3.938 kB / 0.7725 GB, free: 2.535 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.2358, allocations: 71.91 kB / 0.7726 GB, free: 2.465 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.2363, allocations: 90.47 kB / 0.7727 GB, free: 2.379 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.2377, allocations: 0.8047 MB / 0.7735 GB, free: 1.539 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.2381, allocations: 0.795 MB / 0.7743 GB, free: 0.7148 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.2382, allocations: 23.44 kB / 0.7743 GB, free: 0.6914 MB / 0.5763 GB Notification: Performance of SimCode: time 2.91e-07/0.2382, allocations: 0 / 0.7743 GB, free: 0.6914 MB / 0.5763 GB Notification: Performance of Templates: time 0.007115/0.2453, allocations: 4.399 MB / 0.7786 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.128937198081985] Failed to read output from testmodel.py, exit status != 0: 0.2531793280504644 0.26581324 0.038235523 Calling exit ...