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.001153/0.001154, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 196.1 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.65/1.65, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001388/0.001389, allocations: 64.16 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2121, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004695/0.2169, allocations: 3.034 MB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.2198, allocations: 2.188 MB / 0.7885 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.22, allocations: 8 kB / 0.7885 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.2213, allocations: 0.4907 MB / 0.789 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.2216, allocations: 150.9 kB / 0.7891 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.2217, allocations: 63.88 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.2221, allocations: 448.6 kB / 0.7896 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.2223, allocations: 143.2 kB / 0.7898 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.2226, allocations: 171.3 kB / 0.7899 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.2228, allocations: 179.1 kB / 0.7901 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.2228, allocations: 32 kB / 0.7901 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.2229, allocations: 36 kB / 0.7902 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.223, allocations: 99.61 kB / 0.7902 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.2232, allocations: 211 kB / 0.7905 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.2237, allocations: 0.541 MB / 0.791 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2237, allocations: 0 / 0.791 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2237, allocations: 0 / 0.791 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.2237, allocations: 0 / 0.791 GB, free: 5.648 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.0009765/0.2247, allocations: 0.7084 MB / 0.7917 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2247, allocations: 8.031 kB / 0.7917 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.2248, allocations: 48.38 kB / 0.7917 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.2252, allocations: 370.1 kB / 0.7921 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2253, allocations: 20.75 kB / 0.7921 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.2253, allocations: 32.3 kB / 0.7921 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.2257, allocations: 207.6 kB / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2257, allocations: 0 / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.2258, allocations: 4 kB / 0.7923 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2258, allocations: 8 kB / 0.7923 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.2262, allocations: 161.7 kB / 0.7925 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.2273, allocations: 0.8739 MB / 0.7933 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.2276, allocations: 150.6 kB / 0.7935 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2278, allocations: 116.8 kB / 0.7936 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2278, allocations: 4 kB / 0.7936 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.2278, allocations: 34.5 kB / 0.7936 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.2279, allocations: 4 kB / 0.7936 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005767/0.2284, allocations: 260 kB / 0.7939 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.2285, allocations: 55.41 kB / 0.7939 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.2289, allocations: 417.7 kB / 0.7943 GB, free: 2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2289, allocations: 25.7 kB / 0.7944 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.2291, allocations: 208.2 kB / 0.7946 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.2292, allocations: 63.09 kB / 0.7946 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.2292, allocations: 29.72 kB / 0.7947 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2293, allocations: 346.8 kB / 0.795 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2295, allocations: 59.97 kB / 0.795 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.2296, allocations: 55.92 kB / 0.7951 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.2299, allocations: 139.3 kB / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2299, allocations: 8 kB / 0.7952 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003706/0.2303, allocations: 205.1 kB / 0.7954 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2303, allocations: 8 kB / 0.7954 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2304, allocations: 0 / 0.7954 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2304, allocations: 3.938 kB / 0.7954 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.2306, allocations: 55.89 kB / 0.7955 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2307, allocations: 4 kB / 0.7955 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.2308, allocations: 19.84 kB / 0.7955 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2308, allocations: 4 kB / 0.7955 GB, free: 0.7578 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.231, allocations: 162.5 kB / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.231, allocations: 39.47 kB / 0.7957 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.751e-05/0.2311, allocations: 43.53 kB / 0.7958 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2311, allocations: 4 kB / 0.7958 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2311, allocations: 3.984 kB / 0.7958 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2311, allocations: 0 / 0.7958 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.2315, allocations: 369.3 kB / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2315, allocations: 4 kB / 0.7961 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.2318, allocations: 63.89 kB / 0.7962 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2318, allocations: 3.938 kB / 0.7962 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2318, allocations: 3.938 kB / 0.7962 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2318, allocations: 4 kB / 0.7962 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2318, allocations: 0 / 0.7962 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.2324, allocations: 378.9 kB / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/0.2326, allocations: 116.7 kB / 0.7967 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.2326, allocations: 7.938 kB / 0.7967 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.2328, allocations: 11.98 kB / 0.7967 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.2328, allocations: 7.984 kB / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2328, allocations: 8 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003212/0.2332, allocations: 303.1 kB / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2332, allocations: 0 / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002977/0.2335, allocations: 79.91 kB / 0.7971 GB, free: 15.08 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 (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.0001191/0.2336, allocations: 99.25 kB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.234, allocations: 154.7 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.234, allocations: 0 / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.2342, allocations: 79.84 kB / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.2348, allocations: 99.61 kB / 0.7975 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.236, allocations: 0.7652 MB / 0.7982 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.2364, allocations: 0.7951 MB / 0.799 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.2365, allocations: 42.95 kB / 0.799 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.2366, allocations: 23.44 kB / 0.7991 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2366, allocations: 0 / 0.7991 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.008008/0.2446, allocations: 3.947 MB / 0.8029 GB, free: 9.137 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (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)