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.001297/0.001297, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001335/0.001335, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.444/1.444, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.134/1.134, allocations: 175.7 MB / 480.2 MB, free: 2.789 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.002005/0.002005, allocations: 68.19 kB / 0.6684 GB, free: 10.65 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1982, allocations: 94.53 MB / 0.7607 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004576/0.2028, allocations: 3.065 MB / 0.7637 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003013/0.2058, allocations: 2.152 MB / 0.7658 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.206, allocations: 4 kB / 0.7658 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.2074, allocations: 0.5094 MB / 0.7663 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.2077, allocations: 146.8 kB / 0.7665 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.2079, allocations: 59.94 kB / 0.7665 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.2084, allocations: 437.9 kB / 0.7669 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.2086, allocations: 111.2 kB / 0.7671 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.2088, allocations: 167.3 kB / 0.7672 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.2091, allocations: 179.2 kB / 0.7674 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.2091, allocations: 36 kB / 0.7674 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.863e-05/0.2092, allocations: 35.94 kB / 0.7675 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2093, allocations: 99.67 kB / 0.7675 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.2095, allocations: 218.9 kB / 0.7678 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.2101, allocations: 0.5447 MB / 0.7683 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2101, allocations: 0 / 0.7683 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2101, allocations: 0 / 0.7683 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.2101, allocations: 0 / 0.7683 GB, free: 8.539 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001112/0.2113, allocations: 0.716 MB / 0.769 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2113, allocations: 8.031 kB / 0.769 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.1e-05/0.2114, allocations: 52.61 kB / 0.769 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.2119, allocations: 378.4 kB / 0.7694 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2119, allocations: 12.81 kB / 0.7694 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.212, allocations: 23.94 kB / 0.7694 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.2124, allocations: 203.3 kB / 0.7696 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2124, allocations: 0 / 0.7696 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.2125, allocations: 11.98 kB / 0.7696 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2125, allocations: 4 kB / 0.7696 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.2129, allocations: 169.6 kB / 0.7698 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.2141, allocations: 0.8625 MB / 0.7707 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.2144, allocations: 142.5 kB / 0.7708 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.2146, allocations: 102.8 kB / 0.7709 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2147, allocations: 0 / 0.7709 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.2147, allocations: 46.44 kB / 0.7709 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.2147, allocations: 0 / 0.7709 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.000607/0.2153, allocations: 259.4 kB / 0.7712 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.2154, allocations: 55.39 kB / 0.7712 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/0.2158, allocations: 409.7 kB / 0.7716 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.2159, allocations: 33.7 kB / 0.7717 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.216, allocations: 204.4 kB / 0.7718 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.2161, allocations: 71.41 kB / 0.7719 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.2162, allocations: 29.72 kB / 0.7719 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2163, allocations: 350.8 kB / 0.7723 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.2165, allocations: 51.97 kB / 0.7723 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.2166, allocations: 65.45 kB / 0.7724 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.2169, allocations: 138.8 kB / 0.7725 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2169, allocations: 0 / 0.7725 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004082/0.2173, allocations: 209.3 kB / 0.7727 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2173, allocations: 4 kB / 0.7727 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2173, allocations: 3.938 kB / 0.7727 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2174, allocations: 3.984 kB / 0.7727 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.2176, allocations: 59.91 kB / 0.7728 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2176, allocations: 4 kB / 0.7728 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.2178, allocations: 15.88 kB / 0.7728 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2178, allocations: 8 kB / 0.7728 GB, free: 3.648 MB / 0.5762 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.000157/0.2179, allocations: 157.8 kB / 0.773 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.218, allocations: 43.7 kB / 0.773 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.413e-05/0.2181, allocations: 43.58 kB / 0.7731 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2181, allocations: 0 / 0.7731 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2181, allocations: 0 / 0.7731 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2181, allocations: 0 / 0.7731 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.2185, allocations: 377.3 kB / 0.7734 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2185, allocations: 0 / 0.7734 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.2188, allocations: 63.83 kB / 0.7735 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2188, allocations: 0 / 0.7735 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2188, allocations: 4 kB / 0.7735 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2188, allocations: 4 kB / 0.7735 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2188, allocations: 4 kB / 0.7735 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.2195, allocations: 391.2 kB / 0.7739 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.2196, allocations: 120.7 kB / 0.774 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.2196, allocations: 8 kB / 0.774 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.2198, allocations: 7.938 kB / 0.774 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.2198, allocations: 11.98 kB / 0.774 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.2198, allocations: 4 kB / 0.774 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003463/0.2202, allocations: 303.1 kB / 0.7743 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2202, allocations: 4.062 kB / 0.7743 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002999/0.2205, allocations: 71.89 kB / 0.7744 GB, free: 1.977 MB / 0.5762 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.0001477/0.2206, allocations: 103.2 kB / 0.7745 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.221, allocations: 139.8 kB / 0.7746 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.221, allocations: 0 / 0.7746 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.2212, allocations: 79.91 kB / 0.7747 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.2217, allocations: 93.02 kB / 0.7748 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.223, allocations: 0.7681 MB / 0.7755 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.2234, allocations: 0.7951 MB / 0.7763 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000109/0.2235, allocations: 30.97 kB / 0.7763 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.2236, allocations: 27.44 kB / 0.7763 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.2236, allocations: 0 / 0.7763 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.008528/0.2321, allocations: 4.067 MB / 0.7803 GB, free: 11.92 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: 6.12751698680222]