Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_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_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008112/0.008113, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.00158/0.00158, allocations: 188.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 60.03 kB / 0.9505 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2875, allocations: 140.4 MB / 1.088 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002979/0.2905, allocations: 1.442 MB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004895/0.2954, allocations: 2.889 MB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.731e-05/0.2955, allocations: 0 / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.2957, allocations: 7.938 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.2958, allocations: 11.86 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004987/0.3008, allocations: 1.589 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.3009, allocations: 43.73 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.301, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.301, allocations: 11.94 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.3011, allocations: 27.86 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3011, allocations: 4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.3037, allocations: 1.529 MB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.3038, allocations: 3.938 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.3038, allocations: 19.88 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.3059, allocations: 1.107 MB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3059, allocations: 0 / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3059, allocations: 0 / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.3059, allocations: 0 / 1.096 GB, free: 9.285 MB / 0.8575 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.000776/0.3067, allocations: 0.5402 MB / 1.097 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3067, allocations: 8.031 kB / 1.097 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.3068, allocations: 106 kB / 1.097 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.346e-05/0.3069, allocations: 80.22 kB / 1.097 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.307, allocations: 247.6 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.3071, allocations: 150.9 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.3072, allocations: 158.9 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.053e-05/0.3072, allocations: 104.9 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.3073, allocations: 87.27 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.3073, allocations: 150.6 kB / 1.098 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/0.3074, allocations: 154.5 kB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.356e-05/0.3074, allocations: 150.6 kB / 1.098 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.3077, allocations: 469.9 kB / 1.098 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.021e-05/0.3078, allocations: 169.1 kB / 1.099 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.3079, allocations: 80.14 kB / 1.099 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.3079, allocations: 79.22 kB / 1.099 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.3079, allocations: 113.8 kB / 1.099 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.3079, allocations: 0 / 1.099 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.483e-05/0.308, allocations: 37.59 kB / 1.099 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.3081, allocations: 130.7 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3082, allocations: 127.5 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3083, allocations: 25.7 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.3083, allocations: 96.12 kB / 1.099 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.3083, allocations: 0 / 1.099 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.3084, allocations: 17.72 kB / 1.099 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3085, allocations: 318.9 kB / 1.099 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.102e-05/0.3085, allocations: 15.94 kB / 1.099 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.3086, allocations: 7.938 kB / 1.1 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.3086, allocations: 20.92 kB / 1.1 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3086, allocations: 0 / 1.1 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001396/0.3088, allocations: 57.52 kB / 1.1 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3088, allocations: 8 kB / 1.1 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.3088, allocations: 4.062 kB / 1.1 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3089, allocations: 4 kB / 1.1 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3089, allocations: 0 / 1.1 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3089, allocations: 0 / 1.1 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.3089, allocations: 0 / 1.1 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3089, allocations: 0 / 1.1 GB, free: 5.387 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.845e-05/0.309, allocations: 185.1 kB / 1.1 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.3091, allocations: 108.9 kB / 1.1 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.3091, allocations: 124.8 kB / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.967e-05/0.3092, allocations: 176.3 kB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.542e-05/0.3093, allocations: 180.3 kB / 1.1 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.509e-05/0.3093, allocations: 180.2 kB / 1.101 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.3095, allocations: 417.1 kB / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.589e-05/0.3096, allocations: 112.9 kB / 1.101 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.3096, allocations: 101 kB / 1.101 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.304e-05/0.3097, allocations: 176.3 kB / 1.101 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.3098, allocations: 180.2 kB / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.008e-05/0.3098, allocations: 184.2 kB / 1.102 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-05/0.3099, allocations: 180.2 kB / 1.102 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.31, allocations: 315.7 kB / 1.102 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.3101, allocations: 190 kB / 1.102 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/0.3102, allocations: 184.3 kB / 1.102 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.3103, allocations: 104.9 kB / 1.103 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.3104, allocations: 184.3 kB / 1.103 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.3104, allocations: 108.9 kB / 1.103 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.593e-05/0.3105, allocations: 101 kB / 1.103 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3105, allocations: 0 / 1.103 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008684/0.3113, allocations: 291 kB / 1.103 GB, free: 1.457 MB / 0.8575 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 (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.001645/0.313, allocations: 1.171 MB / 1.104 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.3131, allocations: 37.7 kB / 1.104 GB, free: 220 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.3132, allocations: 7.938 kB / 1.104 GB, free: 212 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.487e-06/0.3132, allocations: 368 / 1.104 GB, free: 212 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3136, allocations: 472.3 kB / 1.105 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.3152, allocations: 1.611 MB / 1.106 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3154, allocations: 0.6846 MB / 1.107 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.3155, allocations: 8.031 kB / 1.107 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.3155, allocations: 15.44 kB / 1.107 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.3155, allocations: 0 / 1.107 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.3451, allocations: 7.054 MB / 1.114 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.506, allocations: 13.31 kB / 1.114 GB, free: 6.473 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)