Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.007609/0.007609, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001719/0.001719, allocations: 186.3 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3001, allocations: 157.4 MB / 1.207 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.003032/0.3032, allocations: 1.387 MB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003183/0.3064, allocations: 1.786 MB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.784e-05/0.3065, allocations: 0 / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.3066, allocations: 11.92 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.3069, allocations: 27.83 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.3103, allocations: 1.149 MB / 1.212 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.3104, allocations: 43.78 kB / 1.212 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.3105, allocations: 4 kB / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3106, allocations: 27.86 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.3107, allocations: 23.91 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3107, allocations: 0 / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.3123, allocations: 0.8852 MB / 1.213 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.3124, allocations: 27.92 kB / 1.213 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.3125, allocations: 31.8 kB / 1.213 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.3141, allocations: 0.7994 MB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3141, allocations: 0 / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3141, allocations: 0 / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3141, allocations: 0 / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008134/0.3149, allocations: 480.5 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.315, allocations: 8.625 kB / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.315, allocations: 34.75 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.3151, allocations: 8.844 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3153, allocations: 192.5 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3154, allocations: 16.06 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.3154, allocations: 0 / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3155, allocations: 53.69 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3155, allocations: 0 / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.3155, allocations: 0 / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3156, allocations: 0 / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.3156, allocations: 31.97 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.3158, allocations: 181.7 kB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.3159, allocations: 58.44 kB / 1.214 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.316, allocations: 32.88 kB / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.316, allocations: 0 / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.3161, allocations: 34.56 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.3161, allocations: 0 / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0002472/0.3163, allocations: 113.6 kB / 1.215 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.3164, allocations: 51.41 kB / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3165, allocations: 160.9 kB / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3166, allocations: 25.7 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.3166, allocations: 100.1 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.3167, allocations: 27.72 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.3167, allocations: 17.7 kB / 1.215 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3168, allocations: 330.8 kB / 1.215 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/0.3169, allocations: 19.94 kB / 1.215 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.3169, allocations: 31.97 kB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.942e-05/0.317, allocations: 64.86 kB / 1.215 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.317, allocations: 0 / 1.215 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001301/0.3172, allocations: 93.58 kB / 1.215 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3172, allocations: 8 kB / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3172, allocations: 0 / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3172, allocations: 0 / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.795e-06/0.3172, allocations: 0 / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3172, allocations: 3.938 kB / 1.215 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.3173, allocations: 3.906 kB / 1.215 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3173, allocations: 4 kB / 1.215 GB, free: 1.461 MB / 0.9669 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 0.0001123/0.3174, allocations: 129.8 kB / 1.216 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.3174, allocations: 3.906 kB / 1.216 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.3176, allocations: 110.6 kB / 1.216 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3176, allocations: 3.984 kB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3176, allocations: 0 / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3177, allocations: 0 / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3178, allocations: 193.5 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3178, allocations: 0 / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-06/0.3178, allocations: 4 kB / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3178, allocations: 0 / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3179, allocations: 12.03 kB / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3179, allocations: 0 / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3179, allocations: 0 / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.318, allocations: 132.8 kB / 1.216 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.3181, allocations: 85.02 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3181, allocations: 0 / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.355e-05/0.3181, allocations: 0 / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.3182, allocations: 0 / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3182, allocations: 8.031 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.602e-05/0.3183, allocations: 121.6 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3183, allocations: 0 / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00066/0.3189, allocations: 199.9 kB / 1.216 GB, free: 384 kB / 0.9669 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 (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 Backend phase and start with SimCode phase: time 0.001291/0.3202, allocations: 0.8816 MB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3205, allocations: 101.7 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3205, allocations: 0 / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/0.3205, allocations: 73.67 kB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.3208, allocations: 12.38 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.3231, allocations: 1.604 MB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.3235, allocations: 0.7079 MB / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.649e-05/0.3235, allocations: 0 / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.3236, allocations: 27.42 kB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3236, allocations: 4 kB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.3498, allocations: 6.005 MB / 1.226 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.083, allocations: 6.844 kB / 1.226 GB, free: 7.02 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)