Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.705/2.705, allocations: 287.3 MB / 302.3 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 190.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 84.03 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004996, allocations: 13.22 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2288, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003616/0.2324, allocations: 2.412 MB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.2359, allocations: 1.954 MB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.2362, allocations: 7.938 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.2381, allocations: 447.4 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004737/0.2386, allocations: 147.6 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.2388, allocations: 35.95 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000522/0.2393, allocations: 324.1 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.2396, allocations: 114.9 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.2399, allocations: 135.4 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.2401, allocations: 151.3 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.2401, allocations: 16 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.717e-05/0.2402, allocations: 24 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2403, allocations: 79.67 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.2404, allocations: 101.5 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.2409, allocations: 442.7 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2409, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2409, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.241, allocations: 3.938 kB / 0.9845 GB, free: 21.85 MB / 0.6198 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.001229/0.2422, allocations: 0.6462 MB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.2423, allocations: 8.031 kB / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.348e-05/0.2423, allocations: 58.53 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.978e-05/0.2424, allocations: 47.39 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.243, allocations: 361.1 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2431, allocations: 20.38 kB / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.2431, allocations: 27.98 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.2437, allocations: 199.3 kB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2438, allocations: 3.938 kB / 0.9859 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.2438, allocations: 12 kB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.2438, allocations: 7.984 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.2444, allocations: 181.5 kB / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.246, allocations: 0.8663 MB / 0.9869 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.2465, allocations: 162.5 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2465, allocations: 4 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2466, allocations: 38.55 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.637e-06/0.2466, allocations: 0 / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009396/0.2475, allocations: 263.6 kB / 0.9873 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.2476, allocations: 59.34 kB / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006326/0.2482, allocations: 413.7 kB / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2483, allocations: 25.7 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.2484, allocations: 212.1 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.2485, allocations: 59.11 kB / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.2485, allocations: 8 kB / 0.9881 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.2486, allocations: 350.8 kB / 0.9884 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.2489, allocations: 55.97 kB / 0.9885 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.2492, allocations: 63.91 kB / 0.9885 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.2494, allocations: 72.5 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2494, allocations: 4 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006353/0.2501, allocations: 211.9 kB / 0.9888 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2501, allocations: 12 kB / 0.9888 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2501, allocations: 0 / 0.9888 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2502, allocations: 0 / 0.9888 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.2506, allocations: 55.91 kB / 0.9889 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2506, allocations: 0 / 0.9889 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.2509, allocations: 27.83 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.251, allocations: 4 kB / 0.9889 GB, free: 17.14 MB / 0.6198 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.0002372/0.2512, allocations: 173.7 kB / 0.9891 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.2513, allocations: 35.56 kB / 0.9891 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.585e-05/0.2514, allocations: 39.59 kB / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2514, allocations: 4 kB / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.2514, allocations: 0 / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.321e-06/0.2514, allocations: 3.984 kB / 0.9891 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.2519, allocations: 381.2 kB / 0.9895 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.252, allocations: 0 / 0.9895 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.2524, allocations: 55.97 kB / 0.9896 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.2525, allocations: 4 kB / 0.9896 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2525, allocations: 7.984 kB / 0.9896 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2525, allocations: 0 / 0.9896 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2525, allocations: 0 / 0.9896 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000917/0.2534, allocations: 397.3 kB / 0.9899 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.2536, allocations: 120.6 kB / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.009e-05/0.2537, allocations: 8 kB / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.254, allocations: 19.98 kB / 0.9901 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.254, allocations: 11.98 kB / 0.9901 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2541, allocations: 4 kB / 0.9901 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004407/0.2545, allocations: 303.1 kB / 0.9904 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2545, allocations: 0 / 0.9904 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004236/0.255, allocations: 71.84 kB / 0.9905 GB, free: 15.44 MB / 0.6198 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.00111/0.2561, allocations: 0.9306 MB / 0.9914 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005609/0.2567, allocations: 161.3 kB / 0.9915 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2567, allocations: 0 / 0.9915 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.2569, allocations: 79.91 kB / 0.9916 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.2577, allocations: 78.83 kB / 0.9917 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.2624, allocations: 2.189 MB / 0.9938 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2628, allocations: 0.8109 MB / 0.9946 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002227/0.263, allocations: 30.97 kB / 0.9946 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.2632, allocations: 119.4 kB / 0.9948 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of SimCode: time 1.853e-06/0.2633, allocations: 0 / 0.9948 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.2943, allocations: 7.156 MB / 1.002 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.2947, allocations: 264.5 kB / 1.002 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/2.962, allocations: 4 kB / 1.002 GB, free: 3.707 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)