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.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 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.00638/0.00638, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001294/0.001294, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 68.67 kB / 0.9505 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3211, allocations: 140.4 MB / 1.088 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002854/0.324, allocations: 1.44 MB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004525/0.3286, allocations: 2.846 MB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.3287, allocations: 0 / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.3287, allocations: 3.938 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.3288, allocations: 15.88 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004229/0.333, allocations: 1.564 MB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3332, allocations: 39.73 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.3332, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.848e-05/0.3332, allocations: 15.94 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.705e-05/0.3333, allocations: 19.86 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.3333, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.3356, allocations: 1.492 MB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.3356, allocations: 4 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.3357, allocations: 15.88 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.3372, allocations: 1.073 MB / 1.096 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3372, allocations: 0 / 1.096 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3372, allocations: 0 / 1.096 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3372, allocations: 0 / 1.096 GB, free: 9.457 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.0005956/0.3378, allocations: 0.5146 MB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3379, allocations: 12.03 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.3379, allocations: 106 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.338, allocations: 84.12 kB / 1.097 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3382, allocations: 253.1 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.3382, allocations: 150.9 kB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.3383, allocations: 150.9 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.019e-05/0.3384, allocations: 112.8 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.3384, allocations: 75.28 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.3385, allocations: 158.5 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.3385, allocations: 150.6 kB / 1.098 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.3386, allocations: 154.6 kB / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.3389, allocations: 457.9 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.744e-05/0.3389, allocations: 181.1 kB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.339, allocations: 80.14 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.339, allocations: 79.22 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.3391, allocations: 105.8 kB / 1.099 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.3391, allocations: 0 / 1.099 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.391e-05/0.3392, allocations: 33.61 kB / 1.099 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.3392, allocations: 130.7 kB / 1.099 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3394, allocations: 131.7 kB / 1.099 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3394, allocations: 29.64 kB / 1.099 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.3394, allocations: 96.03 kB / 1.099 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.3395, allocations: 0 / 1.099 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3395, allocations: 17.72 kB / 1.099 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3396, allocations: 314.8 kB / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.3396, allocations: 11.94 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.3397, allocations: 8 kB / 1.099 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/0.3397, allocations: 12.89 kB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3397, allocations: 0 / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001465/0.3399, allocations: 53.62 kB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3399, allocations: 4 kB / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.3399, allocations: 4 kB / 1.099 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3399, allocations: 0 / 1.099 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-06/0.3399, allocations: 3.938 kB / 1.099 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3399, allocations: 0 / 1.099 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.34, allocations: 7.844 kB / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.34, allocations: 8.062 kB / 1.099 GB, free: 5.59 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.496e-05/0.3401, allocations: 181.2 kB / 1.1 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.3401, allocations: 116.9 kB / 1.1 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.3402, allocations: 108.8 kB / 1.1 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.568e-05/0.3403, allocations: 180.2 kB / 1.1 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.197e-05/0.3403, allocations: 180.3 kB / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-05/0.3404, allocations: 184.2 kB / 1.1 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3406, allocations: 421.1 kB / 1.101 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/0.3407, allocations: 104.9 kB / 1.101 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.3407, allocations: 104.9 kB / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.157e-05/0.3408, allocations: 176.3 kB / 1.101 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.3409, allocations: 192.2 kB / 1.101 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.345e-05/0.3409, allocations: 184.2 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.268e-05/0.341, allocations: 180.2 kB / 1.102 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.3411, allocations: 303.7 kB / 1.102 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.3412, allocations: 201.9 kB / 1.102 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.3413, allocations: 176.3 kB / 1.102 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.3414, allocations: 108.9 kB / 1.102 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.3414, allocations: 180.3 kB / 1.103 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.3415, allocations: 101 kB / 1.103 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.3416, allocations: 106.1 kB / 1.103 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3416, allocations: 0 / 1.103 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008033/0.3424, allocations: 275.8 kB / 1.103 GB, free: 1.68 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.001315/0.3437, allocations: 1.156 MB / 1.104 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.3438, allocations: 41.69 kB / 1.104 GB, free: 464 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3438, allocations: 0 / 1.104 GB, free: 464 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.3438, allocations: 0 / 1.104 GB, free: 464 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.3443, allocations: 472.2 kB / 1.105 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3457, allocations: 1.573 MB / 1.106 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.346, allocations: 0.6885 MB / 1.107 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.632e-05/0.346, allocations: 3.938 kB / 1.107 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.346, allocations: 15.44 kB / 1.107 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.346, allocations: 0 / 1.107 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.3746, allocations: 6.87 MB / 1.114 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.427, allocations: 5.969 kB / 1.114 GB, free: 6.941 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)