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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.01038/0.01038, allocations: 100.7 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.002193/0.002193, allocations: 188 kB / 16.67 MB, free: 5.973 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.32/2.32, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.7 kB / 0.9505 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2723, allocations: 140.4 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002646/0.275, allocations: 1.379 MB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002994/0.2781, allocations: 1.792 MB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.2781, allocations: 0 / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.681e-05/0.2782, allocations: 3.984 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.2785, allocations: 39.83 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.2815, allocations: 1.143 MB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2816, allocations: 51.83 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.2817, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.2818, allocations: 31.84 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.2818, allocations: 23.91 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.2819, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.2832, allocations: 0.893 MB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.2833, allocations: 67.75 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.2834, allocations: 63.44 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.2847, allocations: 0.8804 MB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2847, allocations: 0 / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2847, allocations: 0 / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.2847, allocations: 0 / 1.094 GB, free: 11.56 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007324/0.2855, allocations: 0.5839 MB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2855, allocations: 8.031 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.2856, allocations: 50.67 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.2856, allocations: 20.66 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.2858, allocations: 218.9 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.2859, allocations: 384 / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.2859, allocations: 384 / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.286, allocations: 118.1 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.286, allocations: 0 / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2861, allocations: 0 / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2861, allocations: 0 / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.158e-05/0.2862, allocations: 79.95 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.2864, allocations: 281.8 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.2866, allocations: 118.6 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.2866, allocations: 112.8 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.2867, allocations: 3.938 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.2867, allocations: 30.56 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 1.012e-06/0.2867, allocations: 0 / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0004202/0.2871, allocations: 337.9 kB / 1.096 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2872, allocations: 59.41 kB / 1.096 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.2874, allocations: 257 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.2875, allocations: 29.64 kB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.2875, allocations: 124.7 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.2876, allocations: 110.4 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.2877, allocations: 25.7 kB / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2878, allocations: 342.8 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.2879, allocations: 83.91 kB / 1.097 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.288, allocations: 71.98 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.2882, allocations: 197.8 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2882, allocations: 0 / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002332/0.2884, allocations: 229.2 kB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2884, allocations: 8 kB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2885, allocations: 0 / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.2885, allocations: 4 kB / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.103e-06/0.2885, allocations: 0 / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2885, allocations: 0 / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.2886, allocations: 19.84 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.2886, allocations: 0 / 1.097 GB, free: 7.859 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 0.0001261/0.2887, allocations: 157.7 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.2887, allocations: 27.66 kB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.289, allocations: 252.3 kB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.289, allocations: 4 kB / 1.098 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2891, allocations: 0 / 1.098 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2891, allocations: 0 / 1.098 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.2893, allocations: 281.8 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2893, allocations: 4.031 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.2893, allocations: 0 / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2893, allocations: 0 / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2893, allocations: 0 / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2893, allocations: 0 / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2893, allocations: 4 kB / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.2896, allocations: 268.6 kB / 1.098 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.2897, allocations: 104.7 kB / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2897, allocations: 0 / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.2897, allocations: 8.031 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.2898, allocations: 0 / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2898, allocations: 0 / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001618/0.2899, allocations: 196.4 kB / 1.098 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2899, allocations: 0 / 1.098 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006337/0.2906, allocations: 203.9 kB / 1.099 GB, free: 6.277 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 (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.001269/0.2919, allocations: 1.034 MB / 1.1 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.2921, allocations: 261.6 kB / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.2922, allocations: 0 / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.2923, allocations: 181.6 kB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2926, allocations: 17.19 kB / 1.1 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.2952, allocations: 2.576 MB / 1.103 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.2956, allocations: 0.771 MB / 1.103 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.2956, allocations: 4 kB / 1.103 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.2957, allocations: 60.95 kB / 1.103 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.2957, allocations: 0 / 1.103 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.3229, allocations: 7.717 MB / 1.111 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.451, allocations: 17.5 kB / 1.111 GB, free: 9.73 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)