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.001835/0.001835, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001708/0.001708, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.467/1.467, allocations: 225.6 MB / 249.4 MB, free: 3.172 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.122/1.122, allocations: 175.7 MB / 480.2 MB, free: 2.75 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.002008/0.002008, allocations: 71.7 kB / 0.6684 GB, free: 10.63 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2059, allocations: 94.52 MB / 0.7607 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005781/0.2117, allocations: 4.193 MB / 0.7648 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003857/0.2156, allocations: 2.413 MB / 0.7672 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.2159, allocations: 12 kB / 0.7672 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.2177, allocations: 0.5597 MB / 0.7677 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.2182, allocations: 246 kB / 0.768 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.2185, allocations: 135.9 kB / 0.7681 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008467/0.2194, allocations: 0.8098 MB / 0.7689 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004115/0.2198, allocations: 234.5 kB / 0.7691 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004026/0.2202, allocations: 302.9 kB / 0.7694 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.2206, allocations: 326.6 kB / 0.7697 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.2207, allocations: 76 kB / 0.7698 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.2208, allocations: 72 kB / 0.7699 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.221, allocations: 171.4 kB / 0.77 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003646/0.2214, allocations: 390.2 kB / 0.7704 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.2225, allocations: 0.9924 MB / 0.7714 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2225, allocations: 0 / 0.7714 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2225, allocations: 0 / 0.7714 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.2225, allocations: 0 / 0.7714 GB, free: 5.309 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.001555/0.2241, allocations: 0.9652 MB / 0.7723 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2241, allocations: 8.031 kB / 0.7723 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.2242, allocations: 80.47 kB / 0.7724 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/0.2249, allocations: 462 kB / 0.7728 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.225, allocations: 37.38 kB / 0.7729 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/0.2251, allocations: 47.94 kB / 0.7729 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.2259, allocations: 434.4 kB / 0.7733 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.2259, allocations: 0 / 0.7733 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.2259, allocations: 20 kB / 0.7734 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.2259, allocations: 12 kB / 0.7734 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007417/0.2267, allocations: 367.8 kB / 0.7737 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.229, allocations: 1.52 MB / 0.7752 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.2295, allocations: 322.8 kB / 0.7755 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/0.23, allocations: 278.8 kB / 0.7758 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.23, allocations: 4.688 kB / 0.7758 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2301, allocations: 34.56 kB / 0.7758 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 1.402e-06/0.2301, allocations: 4 kB / 0.7758 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.0009644/0.231, allocations: 0.494 MB / 0.7763 GB, free: 68 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.2311, allocations: 59.23 kB / 0.7764 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005872/0.2317, allocations: 477.9 kB / 0.7768 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.2317, allocations: 45.58 kB / 0.7769 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.2319, allocations: 272.7 kB / 0.7771 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.232, allocations: 158.6 kB / 0.7773 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.2322, allocations: 58.08 kB / 0.7773 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.2324, allocations: 362.8 kB / 0.7777 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.2326, allocations: 128.7 kB / 0.7778 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.2329, allocations: 121.5 kB / 0.7779 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/0.2334, allocations: 294.2 kB / 0.7782 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2334, allocations: 3.938 kB / 0.7782 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006881/0.2341, allocations: 396.5 kB / 0.7786 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2341, allocations: 8 kB / 0.7786 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2341, allocations: 3.938 kB / 0.7786 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2342, allocations: 4 kB / 0.7786 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.2347, allocations: 127.8 kB / 0.7787 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2347, allocations: 0 / 0.7787 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.2349, allocations: 39.72 kB / 0.7787 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.2349, allocations: 19.97 kB / 0.7788 GB, free: 13.48 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.0002242/0.2351, allocations: 201.7 kB / 0.779 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.2352, allocations: 51.67 kB / 0.779 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.2353, allocations: 61.11 kB / 0.7791 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.2353, allocations: 8 kB / 0.7791 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2353, allocations: 0 / 0.7791 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.2353, allocations: 3.984 kB / 0.7791 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.236, allocations: 0.5752 MB / 0.7796 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.236, allocations: 0 / 0.7796 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.2365, allocations: 123.9 kB / 0.7798 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2366, allocations: 11.94 kB / 0.7798 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.2366, allocations: 4 kB / 0.7798 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.2366, allocations: 4 kB / 0.7798 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2366, allocations: 0 / 0.7798 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.2376, allocations: 0.6549 MB / 0.7804 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.2378, allocations: 144.6 kB / 0.7805 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.2378, allocations: 8 kB / 0.7806 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.238, allocations: 15.98 kB / 0.7806 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.2381, allocations: 19.97 kB / 0.7806 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.2381, allocations: 12 kB / 0.7806 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004122/0.2385, allocations: 347.1 kB / 0.7809 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2385, allocations: 0 / 0.7809 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003909/0.2389, allocations: 139.8 kB / 0.7811 GB, free: 11.03 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.0001631/0.2391, allocations: 119.2 kB / 0.7812 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006022/0.2397, allocations: 299.6 kB / 0.7815 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2397, allocations: 0 / 0.7815 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.24, allocations: 171.9 kB / 0.7816 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.2407, allocations: 129.6 kB / 0.7818 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.2427, allocations: 1.211 MB / 0.7829 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.2432, allocations: 0.8704 MB / 0.7838 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.2434, allocations: 48.38 kB / 0.7838 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.2435, allocations: 35.44 kB / 0.7839 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of SimCode: time 1.293e-06/0.2435, allocations: 0 / 0.7839 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of Templates: time 0.01249/0.256, allocations: 6.177 MB / 0.7899 GB, free: 2.051 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: 6.066826082766056]