Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007593/0.007592, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.00205/0.00205, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.291/2.291, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 60.12 kB / 1.018 GB, free: 9.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7908, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002889/0.7937, allocations: 1.384 MB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003118/0.7969, allocations: 1.794 MB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.797, allocations: 0 / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.341e-05/0.7971, allocations: 7.922 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.7973, allocations: 43.83 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.8003, allocations: 1.14 MB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.8004, allocations: 55.72 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.8005, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.8006, allocations: 31.84 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.873e-05/0.8006, allocations: 31.91 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.8007, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.8021, allocations: 0.8891 MB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.8023, allocations: 67.81 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.8023, allocations: 63.38 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.8038, allocations: 0.879 MB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.8038, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8038, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.8038, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 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.000872/0.8047, allocations: 0.5878 MB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.8048, allocations: 8.922 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.8048, allocations: 42.73 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.8049, allocations: 20.66 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.8051, allocations: 230.6 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.8052, allocations: 384 / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.8052, allocations: 384 / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.8054, allocations: 117.5 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.8054, allocations: 0 / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.8054, allocations: 4 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8054, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.8055, allocations: 71.98 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.8058, allocations: 277.9 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.8059, allocations: 118.6 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/0.806, allocations: 108.9 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.8061, allocations: 3.938 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.8061, allocations: 38.5 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=32): time 1.152e-06/0.8061, allocations: 0 / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32): time 0.0004132/0.8065, allocations: 335.4 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.8066, allocations: 55.41 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.8068, allocations: 257 kB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.8068, allocations: 25.7 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.8069, allocations: 128.7 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.807, allocations: 106.4 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.8071, allocations: 29.73 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8072, allocations: 342.8 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.8073, allocations: 75.97 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.8074, allocations: 72.78 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.8075, allocations: 208.9 kB / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8076, allocations: 0 / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000232/0.8078, allocations: 221.2 kB / 1.176 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8078, allocations: 8 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.8078, allocations: 4 kB / 1.176 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.8079, allocations: 8 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.8079, allocations: 0 / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.8079, allocations: 0 / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.8079, allocations: 11.84 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.8079, allocations: 0 / 1.176 GB, free: 9.688 MB / 0.9044 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.00013/0.8081, allocations: 157.8 kB / 1.176 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.8081, allocations: 31.56 kB / 1.176 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.8084, allocations: 256.3 kB / 1.176 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8084, allocations: 4 kB / 1.176 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8084, allocations: 4.031 kB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8085, allocations: 0 / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.8087, allocations: 281.8 kB / 1.177 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8087, allocations: 0 / 1.177 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-07/0.8087, allocations: 3.938 kB / 1.177 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.8087, allocations: 0 / 1.177 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.8087, allocations: 0 / 1.177 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8087, allocations: 0 / 1.177 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8087, allocations: 4 kB / 1.177 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.809, allocations: 268.5 kB / 1.177 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.8091, allocations: 100.8 kB / 1.177 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.8091, allocations: 0 / 1.177 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.8091, allocations: 4 kB / 1.177 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.8092, allocations: 0 / 1.177 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.8092, allocations: 0 / 1.177 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001712/0.8093, allocations: 192.4 kB / 1.177 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8093, allocations: 0 / 1.177 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006541/0.81, allocations: 211.9 kB / 1.177 GB, free: 8.09 MB / 0.9044 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.001322/0.8113, allocations: 1.039 MB / 1.178 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.8116, allocations: 265.5 kB / 1.179 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8116, allocations: 0 / 1.179 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.8118, allocations: 181.6 kB / 1.179 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.8121, allocations: 20.67 kB / 1.179 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.8148, allocations: 2.566 MB / 1.181 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.8152, allocations: 0.7671 MB / 1.182 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.8152, allocations: 4 kB / 1.182 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.8153, allocations: 59.41 kB / 1.182 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.8153, allocations: 3.938 kB / 1.182 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.8423, allocations: 7.712 MB / 1.19 GB, free: 11.55 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.525, allocations: 18.47 kB / 1.19 GB, free: 11.54 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)