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_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 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_OneUTube,fileNamePrefix="Buildings_9_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_9_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.001498/0.001498, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.211/2.211, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5756/0.5769, allocations: 140.4 MB / 0.9498 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002146/0.5791, allocations: 1.365 MB / 0.9511 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.5811, allocations: 1.798 MB / 0.9529 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.5812, allocations: 1.281 kB / 0.9529 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.027e-05/0.5813, allocations: 9.234 kB / 0.9529 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.5814, allocations: 22.84 kB / 0.9529 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.5834, allocations: 1.133 MB / 0.954 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.95e-05/0.5835, allocations: 50.64 kB / 0.9541 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.5835, allocations: 2.812 kB / 0.9541 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.507e-05/0.5836, allocations: 27.19 kB / 0.9541 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.5837, allocations: 19.12 kB / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.5837, allocations: 1.219 kB / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009058/0.5846, allocations: 0.8526 MB / 0.9549 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.5846, allocations: 31.09 kB / 0.955 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.5847, allocations: 28.38 kB / 0.955 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007174/0.5854, allocations: 0.7953 MB / 0.9558 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5854, allocations: 5.406 kB / 0.9558 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5854, allocations: 0 / 0.9558 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.5854, allocations: 0 / 0.9558 GB, free: 4.832 MB / 0.7169 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.0004032/0.5858, allocations: 473.7 kB / 0.9562 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5859, allocations: 9.156 kB / 0.9562 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.174e-05/0.5859, allocations: 40.67 kB / 0.9563 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.5859, allocations: 8.406 kB / 0.9563 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.586, allocations: 179.9 kB / 0.9565 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-06/0.5861, allocations: 13.92 kB / 0.9565 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.5861, allocations: 0 / 0.9565 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.1e-05/0.5861, allocations: 53.41 kB / 0.9565 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.5862, allocations: 0 / 0.9565 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.5862, allocations: 3.938 kB / 0.9565 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5862, allocations: 1.781 kB / 0.9565 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.5862, allocations: 25.97 kB / 0.9565 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.5863, allocations: 187.5 kB / 0.9567 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.643e-05/0.5864, allocations: 55.2 kB / 0.9568 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.5864, allocations: 32.12 kB / 0.9568 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.5865, allocations: 5.359 kB / 0.9568 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.084e-05/0.5865, allocations: 31.94 kB / 0.9568 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.5865, allocations: 0 / 0.9568 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0001664/0.5866, allocations: 124.8 kB / 0.957 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.5867, allocations: 51.41 kB / 0.957 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.5868, allocations: 161.3 kB / 0.9572 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.5868, allocations: 25.7 kB / 0.9572 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.5868, allocations: 96.25 kB / 0.9573 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.5868, allocations: 23.78 kB / 0.9573 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.5869, allocations: 13.84 kB / 0.9573 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.906e-05/0.5869, allocations: 330.9 kB / 0.9576 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.5869, allocations: 25.86 kB / 0.9577 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.587, allocations: 29.83 kB / 0.9577 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.495e-05/0.587, allocations: 66.98 kB / 0.9578 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5871, allocations: 3.938 kB / 0.9578 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.272e-05/0.5871, allocations: 88.22 kB / 0.9578 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5872, allocations: 6.438 kB / 0.9578 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5872, allocations: 1.156 kB / 0.9578 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5872, allocations: 5.328 kB / 0.9579 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.5872, allocations: 3.984 kB / 0.9579 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.5872, allocations: 0 / 0.9579 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.5872, allocations: 5.469 kB / 0.9579 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.5873, allocations: 1.156 kB / 0.9579 GB, free: 2.887 MB / 0.7169 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 5.337e-05/0.5873, allocations: 128.5 kB / 0.958 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.5873, allocations: 7.594 kB / 0.958 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.5875, allocations: 113.2 kB / 0.9581 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5875, allocations: 0 / 0.9581 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5875, allocations: 1.188 kB / 0.9581 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.5875, allocations: 0 / 0.9581 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.319e-05/0.5876, allocations: 197.1 kB / 0.9583 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5876, allocations: 1.438 kB / 0.9583 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.5876, allocations: 0 / 0.9583 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.5876, allocations: 4.031 kB / 0.9583 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.5876, allocations: 1.438 kB / 0.9583 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5876, allocations: 4.25 kB / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5876, allocations: 1.344 kB / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.907e-05/0.5877, allocations: 125.3 kB / 0.9584 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.5877, allocations: 87.17 kB / 0.9585 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.5878, allocations: 5.078 kB / 0.9585 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.139e-05/0.5878, allocations: 0 / 0.9585 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.5878, allocations: 9.031 kB / 0.9585 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.5878, allocations: 1.125 kB / 0.9585 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.935e-05/0.5879, allocations: 121.5 kB / 0.9586 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5879, allocations: 0 / 0.9586 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004511/0.5883, allocations: 204.7 kB / 0.9588 GB, free: 2.121 MB / 0.7169 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.0007455/0.5891, allocations: 0.8855 MB / 0.9597 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.5892, allocations: 93.11 kB / 0.9598 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5892, allocations: 3.938 kB / 0.9598 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.5893, allocations: 71.78 kB / 0.9599 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.5895, allocations: 16.33 kB / 0.9599 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.5907, allocations: 1.604 MB / 0.9614 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.5909, allocations: 0.7062 MB / 0.9621 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.744e-05/0.5909, allocations: 1.281 kB / 0.9621 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.591, allocations: 21.7 kB / 0.9621 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.591, allocations: 0 / 0.9621 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.759/2.35, allocations: 5.939 MB / 0.9679 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.22/19.57, allocations: 18.3 kB / 0.968 GB, free: 12.22 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)