Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008278/0.0008278, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008412/0.0008413, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005336/0.0005338, allocations: 17.09 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.207, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002883/0.2099, allocations: 2.599 MB / 0.7899 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002633/0.2126, allocations: 1.988 MB / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.2128, allocations: 8 kB / 0.7918 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.214, allocations: 422.2 kB / 0.7922 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.2143, allocations: 131.1 kB / 0.7923 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.2144, allocations: 35.97 kB / 0.7924 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.2149, allocations: 417.9 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.2151, allocations: 114.9 kB / 0.7929 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.2154, allocations: 139.4 kB / 0.793 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.2156, allocations: 159.3 kB / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.2156, allocations: 20 kB / 0.7932 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.2157, allocations: 16 kB / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.2158, allocations: 83.67 kB / 0.7933 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.2159, allocations: 101.5 kB / 0.7934 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.2163, allocations: 442.7 kB / 0.7938 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.2163, allocations: 3.938 kB / 0.7938 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2163, allocations: 0 / 0.7938 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.2163, allocations: 0 / 0.7938 GB, free: 5.211 MB / 0.6075 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.0008942/0.2172, allocations: 0.6462 MB / 0.7944 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2172, allocations: 11.97 kB / 0.7944 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.936e-05/0.2173, allocations: 51.42 kB / 0.7945 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.2178, allocations: 357.1 kB / 0.7948 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.2178, allocations: 20.44 kB / 0.7949 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.2178, allocations: 23.91 kB / 0.7949 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.2182, allocations: 203.2 kB / 0.7951 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2183, allocations: 0 / 0.7951 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.2183, allocations: 12 kB / 0.7951 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2183, allocations: 4 kB / 0.7951 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.2187, allocations: 181.6 kB / 0.7953 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.2198, allocations: 0.8741 MB / 0.7961 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.2201, allocations: 166.4 kB / 0.7963 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.2203, allocations: 112.8 kB / 0.7964 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.2203, allocations: 4 kB / 0.7964 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2203, allocations: 34.56 kB / 0.7964 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.2204, allocations: 4 kB / 0.7964 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005612/0.2209, allocations: 260.3 kB / 0.7967 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.221, allocations: 59.39 kB / 0.7967 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.2214, allocations: 417.7 kB / 0.7971 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2214, allocations: 29.7 kB / 0.7972 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2216, allocations: 208.1 kB / 0.7973 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.2216, allocations: 63.09 kB / 0.7974 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.2216, allocations: 7.938 kB / 0.7974 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2218, allocations: 350.8 kB / 0.7978 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.2219, allocations: 63.91 kB / 0.7978 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2221, allocations: 67.92 kB / 0.7979 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.2222, allocations: 70.55 kB / 0.7979 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2222, allocations: 0 / 0.7979 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003656/0.2226, allocations: 217.1 kB / 0.7982 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2226, allocations: 4 kB / 0.7982 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2226, allocations: 0 / 0.7982 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2226, allocations: 0 / 0.7982 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.2229, allocations: 59.91 kB / 0.7982 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2229, allocations: 4 kB / 0.7982 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.2231, allocations: 23.83 kB / 0.7982 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.2231, allocations: 8 kB / 0.7982 GB, free: 432 kB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.2232, allocations: 166.4 kB / 0.7984 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.2233, allocations: 31.62 kB / 0.7984 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.415e-05/0.2234, allocations: 39.59 kB / 0.7985 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2234, allocations: 8 kB / 0.7985 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2234, allocations: 0 / 0.7985 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.2234, allocations: 3.984 kB / 0.7985 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.2238, allocations: 377.2 kB / 0.7988 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2239, allocations: 0 / 0.7988 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.2241, allocations: 51.97 kB / 0.7989 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2241, allocations: 4 kB / 0.7989 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.2241, allocations: 4 kB / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2241, allocations: 3.938 kB / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2242, allocations: 4 kB / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.2247, allocations: 398.8 kB / 0.7993 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/0.2248, allocations: 120.6 kB / 0.7994 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.2249, allocations: 8 kB / 0.7994 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.225, allocations: 11.98 kB / 0.7994 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.2251, allocations: 11.98 kB / 0.7994 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.2251, allocations: 4 kB / 0.7994 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003227/0.2254, allocations: 303.1 kB / 0.7997 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2254, allocations: 64 / 0.7997 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002876/0.2257, allocations: 75.84 kB / 0.7998 GB, free: 14.73 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.2258, allocations: 103.2 kB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.2262, allocations: 151.9 kB / 0.8 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2262, allocations: 7.938 kB / 0.8001 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.2264, allocations: 79.91 kB / 0.8001 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.2269, allocations: 108.3 kB / 0.8002 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2281, allocations: 0.8855 MB / 0.8011 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.2284, allocations: 0.8031 MB / 0.8019 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.2286, allocations: 34.95 kB / 0.8019 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.2286, allocations: 23.44 kB / 0.8019 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2286, allocations: 3.938 kB / 0.8019 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.006883/0.2355, allocations: 3.558 MB / 0.8054 GB, free: 9.031 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: