Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 182.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4934/0.4934, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 354.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.0009471, allocations: 92.28 kB / 427.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 12 kB / 0.4984 GB, free: 41.87 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1494, allocations: 72.31 MB / 0.569 GB, free: 1.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.6453, allocations: 113.9 MB / 0.6802 GB, free: 6.277 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.6456, allocations: 111.9 kB / 0.6803 GB, free: 6.168 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02497/0.6706, allocations: 8.532 MB / 0.6887 GB, free: 13.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6706, allocations: 3.938 kB / 0.6887 GB, free: 13.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.6707, allocations: 4 kB / 0.6887 GB, free: 13.63 MB / 490.7 MB 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.001008/0.6717, allocations: 0.6038 MB / 0.6893 GB, free: 12.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6717, allocations: 8.031 kB / 0.6893 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.6718, allocations: 38.56 kB / 0.6893 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.6719, allocations: 19.72 kB / 0.6893 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.6722, allocations: 221.6 kB / 0.6895 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.6722, allocations: 4 kB / 0.6895 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.6722, allocations: 4 kB / 0.6896 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.6724, allocations: 105.7 kB / 0.6897 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.6725, allocations: 0 / 0.6897 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.6725, allocations: 3.953 kB / 0.6897 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6725, allocations: 0 / 0.6897 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.6726, allocations: 79.95 kB / 0.6897 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.6729, allocations: 265.9 kB / 0.69 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.6731, allocations: 126.5 kB / 0.6901 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.6731, allocations: 8.031 kB / 0.6901 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.6732, allocations: 30.56 kB / 0.6901 GB, free: 11.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.6732, allocations: 0 / 0.6901 GB, free: 11.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005998/0.6738, allocations: 431.4 kB / 0.6906 GB, free: 11.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.6739, allocations: 55.36 kB / 0.6906 GB, free: 11.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.6741, allocations: 224.2 kB / 0.6908 GB, free: 11.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.6742, allocations: 25.7 kB / 0.6908 GB, free: 11.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.6743, allocations: 132.7 kB / 0.691 GB, free: 11.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.6744, allocations: 114.4 kB / 0.6911 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.6744, allocations: 0 / 0.6911 GB, free: 10.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.6746, allocations: 346.8 kB / 0.6914 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.6747, allocations: 75.91 kB / 0.6915 GB, free: 10.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.6748, allocations: 72.77 kB / 0.6916 GB, free: 10.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.6749, allocations: 104.2 kB / 0.6917 GB, free: 10.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6749, allocations: 0 / 0.6917 GB, free: 10.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002737/0.6752, allocations: 229.2 kB / 0.6919 GB, free: 10.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6752, allocations: 8 kB / 0.6919 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.6753, allocations: 4.062 kB / 0.6919 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.6753, allocations: 0 / 0.6919 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.6753, allocations: 4 kB / 0.6919 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6753, allocations: 0 / 0.6919 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.6754, allocations: 19.73 kB / 0.6919 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.6754, allocations: 4 kB / 0.6919 GB, free: 10.09 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.6755, allocations: 153.8 kB / 0.6921 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.6756, allocations: 27.62 kB / 0.6921 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.6761, allocations: 0.5737 MB / 0.6926 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.252e-05/0.6762, allocations: 181 kB / 0.6928 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001028/0.6763, allocations: 184.2 kB / 0.693 GB, free: 8.848 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.616e-05/0.6764, allocations: 179.3 kB / 0.6932 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.6768, allocations: 0.5475 MB / 0.6937 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/0.6769, allocations: 113 kB / 0.6938 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.6769, allocations: 101 kB / 0.6939 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.237e-05/0.677, allocations: 180.2 kB / 0.6941 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/0.6771, allocations: 176.3 kB / 0.6942 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.872e-05/0.6772, allocations: 184.2 kB / 0.6944 GB, free: 7.289 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.607e-05/0.6772, allocations: 180.3 kB / 0.6946 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.6775, allocations: 339.4 kB / 0.6949 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/0.678, allocations: 357.5 kB / 0.6953 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.6781, allocations: 180.2 kB / 0.6954 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.6783, allocations: 109 kB / 0.6955 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.6784, allocations: 188.2 kB / 0.6957 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.6784, allocations: 101 kB / 0.6958 GB, free: 5.781 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001333/0.6798, allocations: 1.139 MB / 0.6969 GB, free: 4.645 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6798, allocations: 0 / 0.6969 GB, free: 4.645 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001418/0.6812, allocations: 303.6 kB / 0.6972 GB, free: 4.348 MB / 490.7 MB 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 (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.00156/0.6828, allocations: 1.099 MB / 0.6983 GB, free: 3.223 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.683, allocations: 181.6 kB / 0.6985 GB, free: 3.039 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.683, allocations: 4 kB / 0.6985 GB, free: 3.035 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.728e-06/0.6831, allocations: 4 kB / 0.6985 GB, free: 3.031 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.6835, allocations: 0.5487 MB / 0.699 GB, free: 2.477 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.6857, allocations: 1.628 MB / 0.7006 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.6861, allocations: 0.7642 MB / 0.7013 GB, free: 16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.6862, allocations: 0 / 0.7013 GB, free: 16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.6862, allocations: 55.48 kB / 0.7014 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of SimCode: time 3.51e-07/0.6862, allocations: 0 / 0.7014 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.7082, allocations: 7.332 MB / 0.7085 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.7086, allocations: 268.7 kB / 0.7088 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.871, allocations: 0 / 0.7088 GB, free: 8.488 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)