Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6894/0.6894, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 192.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 221.3 MB / 441.4 MB, free: 4.672 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007838/0.0007838, allocations: 96.59 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 265.7 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.822e-05/2.826e-05, allocations: 4 kB / 0.6836 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3592, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.4747, allocations: 121 MB / 0.8826 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.4751, allocations: 115.9 kB / 0.8827 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02288/0.498, allocations: 8.485 MB / 0.891 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.452e-06/0.498, allocations: 0 / 0.891 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.4981, allocations: 7.938 kB / 0.891 GB, free: 10.95 MB / 0.5573 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.0006145/0.4987, allocations: 0.5639 MB / 0.8915 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4987, allocations: 8.031 kB / 0.8915 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.4988, allocations: 38.56 kB / 0.8916 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.4989, allocations: 23.62 kB / 0.8916 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.4991, allocations: 225.6 kB / 0.8918 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.4991, allocations: 0 / 0.8918 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.4992, allocations: 0 / 0.8918 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.4993, allocations: 105.7 kB / 0.8919 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4993, allocations: 0 / 0.8919 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.4993, allocations: 3.984 kB / 0.8919 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4994, allocations: 4 kB / 0.8919 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.4994, allocations: 71.97 kB / 0.892 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.4997, allocations: 285.8 kB / 0.8922 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4998, allocations: 118.5 kB / 0.8924 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.804e-05/0.4999, allocations: 116.9 kB / 0.8925 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.5, allocations: 0 / 0.8925 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.5, allocations: 30.56 kB / 0.8925 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.162e-06/0.5, allocations: 0 / 0.8925 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.0002842/0.5003, allocations: 229.8 kB / 0.8927 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.5003, allocations: 51.44 kB / 0.8928 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.5005, allocations: 233 kB / 0.893 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.5006, allocations: 25.7 kB / 0.893 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.5006, allocations: 128.7 kB / 0.8931 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.5007, allocations: 106.3 kB / 0.8932 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.5007, allocations: 0 / 0.8932 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5009, allocations: 338.8 kB / 0.8936 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-05/0.5009, allocations: 79.95 kB / 0.8936 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.501, allocations: 79.91 kB / 0.8937 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.5011, allocations: 104.2 kB / 0.8938 GB, free: 7.812 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5011, allocations: 3.953 kB / 0.8938 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002246/0.5014, allocations: 221.3 kB / 0.894 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5014, allocations: 4 kB / 0.894 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5014, allocations: 4 kB / 0.894 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5014, allocations: 3.984 kB / 0.894 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.5014, allocations: 3.938 kB / 0.894 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5014, allocations: 0 / 0.894 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.5015, allocations: 11.84 kB / 0.8941 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.5015, allocations: 8 kB / 0.8941 GB, free: 7.551 MB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.5016, allocations: 109 kB / 0.8942 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.5016, allocations: 31.56 kB / 0.8942 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.502, allocations: 0.5613 MB / 0.8947 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.794e-05/0.5021, allocations: 188.1 kB / 0.8949 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.579e-05/0.5022, allocations: 184.3 kB / 0.8951 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.321e-05/0.5022, allocations: 180.2 kB / 0.8953 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.5026, allocations: 0.5397 MB / 0.8958 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/0.5026, allocations: 101 kB / 0.8959 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.5027, allocations: 112.9 kB / 0.896 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.464e-05/0.5027, allocations: 180.2 kB / 0.8962 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.5028, allocations: 180.3 kB / 0.8963 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.616e-05/0.5029, allocations: 180.2 kB / 0.8965 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.754e-05/0.5029, allocations: 188 kB / 0.8967 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.5031, allocations: 327.4 kB / 0.897 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.5035, allocations: 361.6 kB / 0.8974 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.5036, allocations: 192.2 kB / 0.8975 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.5038, allocations: 101 kB / 0.8976 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.5038, allocations: 184.2 kB / 0.8978 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.5039, allocations: 102.2 kB / 0.8979 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001187/0.5051, allocations: 1.127 MB / 0.899 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5051, allocations: 4 kB / 0.899 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007251/0.5058, allocations: 307.6 kB / 0.8993 GB, free: 1.871 MB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.507, allocations: 1.09 MB / 0.9004 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.5072, allocations: 181.6 kB / 0.9005 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5072, allocations: 0 / 0.9005 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-06/0.5072, allocations: 4.062 kB / 0.9005 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.5076, allocations: 0.5392 MB / 0.9011 GB, free: 16 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007894/0.5083, allocations: 0.5232 MB / 0.9016 GB, free: 15.45 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.5086, allocations: 0.7628 MB / 0.9023 GB, free: 14.66 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.5087, allocations: 8 kB / 0.9023 GB, free: 14.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.5087, allocations: 59.36 kB / 0.9024 GB, free: 14.6 MB / 0.573 GB Notification: Performance of SimCode: time 2.91e-07/0.5087, allocations: 0 / 0.9024 GB, free: 14.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.5273, allocations: 7.401 MB / 0.9096 GB, free: 7.41 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.5276, allocations: 250.9 kB / 0.9099 GB, free: 7.074 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.489, allocations: 3.938 kB / 0.9099 GB, free: 7.07 MB / 0.573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)