Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.00114/0.00114, allocations: 178.9 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.001223/0.001223, allocations: 101 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007986/0.0007988, allocations: 15.69 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2837, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001418/0.2851, allocations: 1.123 MB / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003685/0.2888, allocations: 2.666 MB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.2889, allocations: 0 / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.2889, allocations: 0 / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.289, allocations: 23.95 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.2922, allocations: 1.29 MB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.2923, allocations: 31.95 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.2924, allocations: 7.922 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.2924, allocations: 19.92 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.002e-05/0.2924, allocations: 15.94 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.2925, allocations: 4 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.2941, allocations: 1.209 MB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2941, allocations: 3.938 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.2942, allocations: 29.7 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009631/0.2951, allocations: 0.7331 MB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2952, allocations: 0 / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2952, allocations: 0 / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2952, allocations: 0 / 0.9865 GB, free: 20.38 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005443/0.2957, allocations: 0.5184 MB / 0.987 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.2958, allocations: 8.031 kB / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.2958, allocations: 105.8 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.2959, allocations: 87.14 kB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2961, allocations: 255.7 kB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.2961, allocations: 150.6 kB / 0.9876 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.2962, allocations: 154.6 kB / 0.9877 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.902e-05/0.2962, allocations: 108.9 kB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.2963, allocations: 83.2 kB / 0.9879 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.2963, allocations: 154.6 kB / 0.9881 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.2964, allocations: 150.6 kB / 0.9882 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.2964, allocations: 158.5 kB / 0.9884 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.2967, allocations: 469.9 kB / 0.9888 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.121e-05/0.2967, allocations: 165.1 kB / 0.989 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.2968, allocations: 75.28 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2968, allocations: 113.8 kB / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2968, allocations: 0 / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.861e-05/0.2969, allocations: 33.62 kB / 0.9892 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.2969, allocations: 134.7 kB / 0.9893 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.297, allocations: 135.1 kB / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.2971, allocations: 25.7 kB / 0.9895 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.2971, allocations: 88.14 kB / 0.9896 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-06/0.2971, allocations: 4 kB / 0.9896 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.2971, allocations: 0 / 0.9896 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.032e-05/0.2972, allocations: 326.8 kB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.2972, allocations: 4 kB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.2972, allocations: 4 kB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.2973, allocations: 8 kB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2973, allocations: 0 / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001172/0.2974, allocations: 57.53 kB / 0.9899 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2974, allocations: 4 kB / 0.9899 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.2974, allocations: 4 kB / 0.9899 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2975, allocations: 0 / 0.9899 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.2975, allocations: 4.062 kB / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2975, allocations: 3.984 kB / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.2975, allocations: 0 / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.2975, allocations: 4 kB / 0.99 GB, free: 16.62 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.91e-05/0.2976, allocations: 185.1 kB / 0.9901 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.2976, allocations: 112.9 kB / 0.9902 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.2977, allocations: 112.8 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.2977, allocations: 184.3 kB / 0.9905 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/0.2977, allocations: 176.3 kB / 0.9907 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/0.2978, allocations: 180.2 kB / 0.9909 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.2979, allocations: 425.1 kB / 0.9913 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/0.298, allocations: 104.9 kB / 0.9914 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.381e-05/0.298, allocations: 105 kB / 0.9915 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.973e-05/0.298, allocations: 180.3 kB / 0.9916 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.2981, allocations: 184.2 kB / 0.9918 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-05/0.2981, allocations: 184.2 kB / 0.992 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.352e-05/0.2982, allocations: 180.2 kB / 0.9922 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.741e-05/0.2982, allocations: 315.6 kB / 0.9925 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.2983, allocations: 190.1 kB / 0.9927 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.2983, allocations: 176.3 kB / 0.9928 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.2984, allocations: 113 kB / 0.9929 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.2984, allocations: 176.3 kB / 0.9931 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2985, allocations: 109.2 kB / 0.9932 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.2985, allocations: 104.8 kB / 0.9933 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2985, allocations: 0 / 0.9933 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007171/0.2992, allocations: 279.8 kB / 0.9936 GB, free: 12.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001134/0.3004, allocations: 1.164 MB / 0.9947 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.3005, allocations: 37.7 kB / 0.9947 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3005, allocations: 0 / 0.9947 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.3005, allocations: 3.938 kB / 0.9947 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.3008, allocations: 0.5264 MB / 0.9953 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.3015, allocations: 0.564 MB / 0.9958 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.3017, allocations: 0.6887 MB / 0.9965 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.722e-05/0.3017, allocations: 4 kB / 0.9965 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.3017, allocations: 15.42 kB / 0.9965 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3017, allocations: 0 / 0.9965 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.3217, allocations: 6.901 MB / 1.003 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.3219, allocations: 321.4 kB / 1.004 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.196, allocations: 3.938 kB / 1.004 GB, free: 2.555 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)