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) 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001831/0.001831, allocations: 191.5 kB / 16.14 MB, free: 6.719 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8858/0.8858, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 61.14 kB / 0.5047 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2018, allocations: 80.92 MB / 0.5837 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004039/0.2059, allocations: 3.058 MB / 0.5867 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.2085, allocations: 2.11 MB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.2087, allocations: 8 kB / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.2101, allocations: 474.1 kB / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.2104, allocations: 131.1 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.2106, allocations: 55.97 kB / 0.5894 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.211, allocations: 473.2 kB / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.2112, allocations: 139.9 kB / 0.59 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2114, allocations: 139.4 kB / 0.5901 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.2116, allocations: 183.1 kB / 0.5903 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.2117, allocations: 24 kB / 0.5903 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.966e-05/0.2117, allocations: 24 kB / 0.5904 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2118, allocations: 87.67 kB / 0.5905 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.212, allocations: 202.9 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.2125, allocations: 0.5332 MB / 0.5912 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2125, allocations: 4 kB / 0.5912 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2125, allocations: 0 / 0.5912 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.2125, allocations: 0 / 0.5912 GB, free: 13.32 MB / 0.4981 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.000984/0.2135, allocations: 0.7045 MB / 0.5919 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2135, allocations: 12.03 kB / 0.5919 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.2136, allocations: 48.38 kB / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.2141, allocations: 366.1 kB / 0.5923 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2141, allocations: 16.81 kB / 0.5923 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.2142, allocations: 32.06 kB / 0.5923 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.2146, allocations: 199.2 kB / 0.5925 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2146, allocations: 4 kB / 0.5925 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.2146, allocations: 8 kB / 0.5925 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.2146, allocations: 4 kB / 0.5925 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.215, allocations: 169.7 kB / 0.5927 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.2161, allocations: 0.8623 MB / 0.5935 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.2164, allocations: 158.5 kB / 0.5937 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.2167, allocations: 111.3 kB / 0.5938 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2167, allocations: 4 kB / 0.5938 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2167, allocations: 38.5 kB / 0.5938 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.2167, allocations: 0 / 0.5938 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000584/0.2173, allocations: 255.2 kB / 0.5941 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.2174, allocations: 55.41 kB / 0.5941 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.2178, allocations: 417.7 kB / 0.5945 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.2178, allocations: 29.7 kB / 0.5945 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.218, allocations: 212.2 kB / 0.5947 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.218, allocations: 67.03 kB / 0.5948 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.2181, allocations: 33.7 kB / 0.5948 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2182, allocations: 346.8 kB / 0.5952 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2184, allocations: 55.97 kB / 0.5952 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.2185, allocations: 55.97 kB / 0.5953 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.2188, allocations: 142.7 kB / 0.5954 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2188, allocations: 0 / 0.5954 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003709/0.2192, allocations: 206.8 kB / 0.5956 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.2192, allocations: 7.938 kB / 0.5956 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2193, allocations: 0 / 0.5956 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2193, allocations: 4 kB / 0.5956 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.2195, allocations: 55.95 kB / 0.5957 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2196, allocations: 0 / 0.5957 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.2197, allocations: 15.91 kB / 0.5957 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.2197, allocations: 7.984 kB / 0.5957 GB, free: 8.445 MB / 0.4981 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.000154/0.2199, allocations: 165.7 kB / 0.5959 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.22, allocations: 43.47 kB / 0.5959 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.325e-05/0.22, allocations: 43.58 kB / 0.5959 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2201, allocations: 4 kB / 0.5959 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2201, allocations: 0 / 0.5959 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2201, allocations: 0 / 0.5959 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.2205, allocations: 369.3 kB / 0.5963 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2205, allocations: 4 kB / 0.5963 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.2207, allocations: 55.95 kB / 0.5964 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.2208, allocations: 11.88 kB / 0.5964 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2208, allocations: 3.938 kB / 0.5964 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2208, allocations: 4 kB / 0.5964 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2208, allocations: 0 / 0.5964 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.2214, allocations: 385.7 kB / 0.5967 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.2215, allocations: 120.6 kB / 0.5969 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.2215, allocations: 4 kB / 0.5969 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.2217, allocations: 11.91 kB / 0.5969 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.2218, allocations: 24.02 kB / 0.5969 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2218, allocations: 4 kB / 0.5969 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003058/0.2221, allocations: 299.2 kB / 0.5972 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2221, allocations: 3.938 kB / 0.5972 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002977/0.2224, allocations: 71.84 kB / 0.5973 GB, free: 6.754 MB / 0.4981 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.0001265/0.2225, allocations: 115.2 kB / 0.5974 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.2229, allocations: 143.9 kB / 0.5975 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2229, allocations: 0 / 0.5975 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2231, allocations: 75.91 kB / 0.5976 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.2237, allocations: 87.52 kB / 0.5977 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.2249, allocations: 0.8645 MB / 0.5985 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.2253, allocations: 0.8031 MB / 0.5993 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.2254, allocations: 38.89 kB / 0.5993 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.2255, allocations: 23.44 kB / 0.5993 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.2255, allocations: 0 / 0.5993 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of Templates: time 0.007338/0.2328, allocations: 3.715 MB / 0.603 GB, free: 0.9609 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (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)