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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 105.8 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8555/0.8555, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 59.12 kB / 0.5864 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1835, allocations: 80.93 MB / 0.6654 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006169/0.1897, allocations: 4.147 MB / 0.6695 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004316/0.194, allocations: 2.421 MB / 0.6718 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.1944, allocations: 12 kB / 0.6718 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.1962, allocations: 0.5324 MB / 0.6724 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006322/0.1968, allocations: 254 kB / 0.6726 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1971, allocations: 135.9 kB / 0.6727 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1982, allocations: 0.8151 MB / 0.6735 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.1986, allocations: 230.6 kB / 0.6737 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000404/0.199, allocations: 291 kB / 0.674 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.1994, allocations: 334.6 kB / 0.6743 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.515e-05/0.1995, allocations: 76 kB / 0.6744 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1996, allocations: 75.94 kB / 0.6745 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.1998, allocations: 171.4 kB / 0.6746 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.2003, allocations: 386.2 kB / 0.675 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.2015, allocations: 1 MB / 0.676 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2015, allocations: 0 / 0.676 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2015, allocations: 0 / 0.676 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.2015, allocations: 0 / 0.676 GB, free: 10.81 MB / 0.5137 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.001581/0.2031, allocations: 0.9652 MB / 0.6769 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2031, allocations: 17.05 kB / 0.6769 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.2032, allocations: 76.47 kB / 0.677 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.204, allocations: 462 kB / 0.6775 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.204, allocations: 37.38 kB / 0.6775 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/0.2041, allocations: 55.92 kB / 0.6776 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/0.205, allocations: 418.5 kB / 0.678 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.205, allocations: 8 kB / 0.678 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.205, allocations: 16 kB / 0.678 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/0.2051, allocations: 12 kB / 0.678 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.2058, allocations: 371.7 kB / 0.6783 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.2081, allocations: 1.528 MB / 0.6798 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006071/0.2087, allocations: 318.7 kB / 0.6801 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/0.2092, allocations: 292.4 kB / 0.6804 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.2093, allocations: 11.92 kB / 0.6804 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.2093, allocations: 35.33 kB / 0.6805 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/0.2093, allocations: 4 kB / 0.6805 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.001029/0.2103, allocations: 497.3 kB / 0.6809 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.2104, allocations: 59.39 kB / 0.681 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.211, allocations: 485.9 kB / 0.6815 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.211, allocations: 33.7 kB / 0.6815 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.2113, allocations: 276.7 kB / 0.6818 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.2114, allocations: 166.6 kB / 0.6819 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2115, allocations: 58.08 kB / 0.682 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.2117, allocations: 358.8 kB / 0.6823 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.212, allocations: 132.6 kB / 0.6824 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.2123, allocations: 125.2 kB / 0.6826 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.2129, allocations: 294.2 kB / 0.6828 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2129, allocations: 7.938 kB / 0.6828 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007855/0.2137, allocations: 396.8 kB / 0.6832 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2137, allocations: 4 kB / 0.6832 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.2137, allocations: 4 kB / 0.6832 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2137, allocations: 0 / 0.6832 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.2143, allocations: 123.9 kB / 0.6833 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2143, allocations: 3.938 kB / 0.6834 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.2145, allocations: 43.72 kB / 0.6834 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.2145, allocations: 12 kB / 0.6834 GB, free: 2.965 MB / 0.5137 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.0002545/0.2148, allocations: 193.7 kB / 0.6836 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.331e-05/0.2149, allocations: 55.67 kB / 0.6836 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.215, allocations: 61.09 kB / 0.6837 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.215, allocations: 4 kB / 0.6837 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.215, allocations: 0 / 0.6837 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.215, allocations: 3.984 kB / 0.6837 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.2158, allocations: 0.579 MB / 0.6843 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2158, allocations: 0 / 0.6843 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.2163, allocations: 127.8 kB / 0.6844 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.2163, allocations: 4 kB / 0.6844 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2164, allocations: 4 kB / 0.6844 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.2164, allocations: 7.938 kB / 0.6844 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2164, allocations: 0 / 0.6844 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.2176, allocations: 0.6598 MB / 0.6851 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.2178, allocations: 140.6 kB / 0.6852 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.2178, allocations: 12 kB / 0.6852 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.218, allocations: 8 kB / 0.6852 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.2181, allocations: 27.95 kB / 0.6852 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.2182, allocations: 8 kB / 0.6852 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004458/0.2186, allocations: 355.1 kB / 0.6856 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2186, allocations: 0 / 0.6856 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004213/0.219, allocations: 143.7 kB / 0.6857 GB, free: 0.4961 MB / 0.5137 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.000204/0.2192, allocations: 117.6 kB / 0.6858 GB, free: 384 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006807/0.2199, allocations: 303.9 kB / 0.6861 GB, free: 80 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2199, allocations: 0 / 0.6861 GB, free: 80 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.2202, allocations: 167.9 kB / 0.6863 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007105/0.221, allocations: 143.6 kB / 0.6864 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.2234, allocations: 1.246 MB / 0.6876 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007161/0.2241, allocations: 0.8626 MB / 0.6885 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2243, allocations: 39.44 kB / 0.6885 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.2243, allocations: 4 kB / 0.6885 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of Templates: time 0.01137/0.2356, allocations: 6.918 MB / 0.6953 GB, free: 6.703 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (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)