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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001151/0.001151, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.17/1.17, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.513/1.513, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001445/0.001445, allocations: 65.78 kB / 0.6711 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.268, allocations: 114.5 MB / 0.783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004561/0.2726, allocations: 3.084 MB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002878/0.2755, allocations: 2.15 MB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.2757, allocations: 11.94 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.2771, allocations: 474 kB / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.2774, allocations: 127.2 kB / 0.7887 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.2776, allocations: 59.97 kB / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.2781, allocations: 441.9 kB / 0.7892 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.2784, allocations: 147.2 kB / 0.7893 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.2787, allocations: 155.3 kB / 0.7895 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.2789, allocations: 187.1 kB / 0.7897 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.2789, allocations: 36 kB / 0.7897 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-05/0.279, allocations: 36 kB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2791, allocations: 95.67 kB / 0.7898 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.2793, allocations: 226.9 kB / 0.79 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.2798, allocations: 0.5332 MB / 0.7906 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2798, allocations: 4 kB / 0.7906 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2798, allocations: 0 / 0.7906 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2798, allocations: 0 / 0.7906 GB, free: 5.973 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.001005/0.2808, allocations: 0.7084 MB / 0.7912 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.2809, allocations: 8.031 kB / 0.7913 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.697e-05/0.281, allocations: 58.67 kB / 0.7913 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.2811, allocations: 44.38 kB / 0.7914 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.2815, allocations: 378.1 kB / 0.7917 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2815, allocations: 20.8 kB / 0.7917 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.2815, allocations: 16.38 kB / 0.7917 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.282, allocations: 207.4 kB / 0.7919 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.282, allocations: 4 kB / 0.792 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.282, allocations: 12 kB / 0.792 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.282, allocations: 4 kB / 0.792 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.2824, allocations: 161.7 kB / 0.7921 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.2836, allocations: 0.87 MB / 0.793 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.2839, allocations: 153.4 kB / 0.7931 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.2841, allocations: 112.8 kB / 0.7932 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2842, allocations: 4 kB / 0.7932 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.2842, allocations: 38.5 kB / 0.7933 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.2842, allocations: 0 / 0.7933 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005745/0.2848, allocations: 253.3 kB / 0.7935 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.2848, allocations: 59.41 kB / 0.7936 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.2853, allocations: 417.7 kB / 0.794 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2853, allocations: 33.7 kB / 0.794 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2855, allocations: 200.2 kB / 0.7942 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.2855, allocations: 67.08 kB / 0.7942 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.2856, allocations: 29.72 kB / 0.7943 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2858, allocations: 350.8 kB / 0.7946 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.2859, allocations: 55.97 kB / 0.7947 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.286, allocations: 59.92 kB / 0.7947 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.2863, allocations: 143.3 kB / 0.7949 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2863, allocations: 0 / 0.7949 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003645/0.2867, allocations: 205.1 kB / 0.7951 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2867, allocations: 4 kB / 0.7951 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2867, allocations: 7.938 kB / 0.7951 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2868, allocations: 0 / 0.7951 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.287, allocations: 67.83 kB / 0.7951 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.287, allocations: 0 / 0.7951 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.2872, allocations: 19.83 kB / 0.7951 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.2872, allocations: 8 kB / 0.7952 GB, free: 1.008 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.0001611/0.2874, allocations: 162.5 kB / 0.7953 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.2875, allocations: 35.53 kB / 0.7953 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.148e-05/0.2876, allocations: 47.52 kB / 0.7954 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2876, allocations: 4 kB / 0.7954 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2876, allocations: 3.938 kB / 0.7954 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2876, allocations: 0 / 0.7954 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.288, allocations: 369.3 kB / 0.7957 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.288, allocations: 3.984 kB / 0.7958 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.2883, allocations: 55.91 kB / 0.7958 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2883, allocations: 0 / 0.7958 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2883, allocations: 11.94 kB / 0.7958 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2883, allocations: 0 / 0.7958 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2883, allocations: 4 kB / 0.7958 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.2889, allocations: 377.4 kB / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.289, allocations: 116.7 kB / 0.7963 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.2891, allocations: 12 kB / 0.7963 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.2892, allocations: 11.98 kB / 0.7963 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.2893, allocations: 11.98 kB / 0.7963 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2893, allocations: 4 kB / 0.7963 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003102/0.2896, allocations: 303.2 kB / 0.7966 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2896, allocations: 0 / 0.7966 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003153/0.2899, allocations: 75.75 kB / 0.7967 GB, free: 15.34 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.0008458/0.2908, allocations: 0.9189 MB / 0.7976 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.2912, allocations: 154.4 kB / 0.7977 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.2912, allocations: 4.062 kB / 0.7977 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.2913, allocations: 86.23 kB / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.292, allocations: 96.27 kB / 0.7979 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.2968, allocations: 3.649 MB / 0.8015 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.2971, allocations: 0.7951 MB / 0.8023 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.2973, allocations: 42.89 kB / 0.8023 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.2975, allocations: 115.4 kB / 0.8024 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of SimCode: time 7.71e-07/0.2975, allocations: 0 / 0.8024 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.3361, allocations: 7.689 MB / 0.8099 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.3364, allocations: 269.5 kB / 0.8102 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.311, allocations: 0 / 0.8102 GB, free: 1.621 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)