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.8765/0.8765, allocations: 143.4 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 181 kB / 191.5 MB, free: 5.773 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.618/1.618, allocations: 223.1 MB / 447.7 MB, free: 4.809 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.0009949/0.0009949, allocations: 92.27 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00169/0.00169, allocations: 264.7 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004411, allocations: 13.88 kB / 0.693 GB, free: 59.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1791, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5962/0.7753, allocations: 121 MB / 0.892 GB, free: 21.68 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.7756, allocations: 118.9 kB / 0.8922 GB, free: 21.68 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02435/0.8, allocations: 8.511 MB / 0.9005 GB, free: 21.01 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8, allocations: 0 / 0.9005 GB, free: 21.01 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.8001, allocations: 7.312 kB / 0.9005 GB, free: 21 MB / 0.5417 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.0008658/0.8009, allocations: 0.5946 MB / 0.9011 GB, free: 20.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.801, allocations: 9.75 kB / 0.9011 GB, free: 20.49 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.801, allocations: 49.62 kB / 0.9011 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.8011, allocations: 23.22 kB / 0.9011 GB, free: 20.43 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.8013, allocations: 215.4 kB / 0.9013 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.8013, allocations: 0 / 0.9013 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.8013, allocations: 5.594 kB / 0.9013 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.8015, allocations: 118.1 kB / 0.9015 GB, free: 20.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.8015, allocations: 0 / 0.9015 GB, free: 20.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.8015, allocations: 1.406 kB / 0.9015 GB, free: 20.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.8015, allocations: 0 / 0.9015 GB, free: 20.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.576e-05/0.8016, allocations: 76.47 kB / 0.9015 GB, free: 20.16 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.8019, allocations: 278.1 kB / 0.9018 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.802, allocations: 119.7 kB / 0.9019 GB, free: 19.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.802, allocations: 9.141 kB / 0.9019 GB, free: 19.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.8021, allocations: 42.81 kB / 0.902 GB, free: 19.89 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 1.232e-06/0.8021, allocations: 0 / 0.902 GB, free: 19.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.0005715/0.8027, allocations: 434.3 kB / 0.9024 GB, free: 19.74 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.8027, allocations: 51.41 kB / 0.9024 GB, free: 19.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.8029, allocations: 231.1 kB / 0.9026 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.803, allocations: 27.11 kB / 0.9027 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.803, allocations: 126.8 kB / 0.9028 GB, free: 19.47 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.218e-05/0.8031, allocations: 101.1 kB / 0.9029 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.8031, allocations: 4.031 kB / 0.9029 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.8032, allocations: 338.7 kB / 0.9032 GB, free: 19.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.8033, allocations: 73.62 kB / 0.9033 GB, free: 19.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.967e-05/0.8034, allocations: 80.53 kB / 0.9034 GB, free: 19.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.8035, allocations: 99.05 kB / 0.9035 GB, free: 19.08 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8035, allocations: 4.391 kB / 0.9035 GB, free: 19.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002507/0.8038, allocations: 228.3 kB / 0.9037 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8038, allocations: 4.406 kB / 0.9037 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.8038, allocations: 5.094 kB / 0.9037 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.8039, allocations: 0.6875 kB / 0.9037 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.8039, allocations: 5.5 kB / 0.9037 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.8039, allocations: 0 / 0.9037 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.8039, allocations: 17.88 kB / 0.9037 GB, free: 19.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.804, allocations: 3 kB / 0.9037 GB, free: 19.01 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.8041, allocations: 159.4 kB / 0.9039 GB, free: 18.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.8041, allocations: 24.55 kB / 0.9039 GB, free: 18.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.8046, allocations: 0.5806 MB / 0.9045 GB, free: 18.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/0.8047, allocations: 177 kB / 0.9046 GB, free: 18.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.205e-05/0.8047, allocations: 189.3 kB / 0.9048 GB, free: 18.12 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.821e-05/0.8047, allocations: 180.5 kB / 0.905 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.8051, allocations: 0.5363 MB / 0.9055 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.8051, allocations: 112.8 kB / 0.9056 GB, free: 17.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.8051, allocations: 105.2 kB / 0.9057 GB, free: 17.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.068e-05/0.8052, allocations: 186.6 kB / 0.9059 GB, free: 17.08 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.8052, allocations: 177.5 kB / 0.9061 GB, free: 16.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.944e-05/0.8052, allocations: 181.7 kB / 0.9062 GB, free: 16.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.549e-05/0.8053, allocations: 182.8 kB / 0.9064 GB, free: 16.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.8054, allocations: 329.9 kB / 0.9067 GB, free: 16.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.8067, allocations: 359.3 kB / 0.9071 GB, free: 31.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.8068, allocations: 190.5 kB / 0.9072 GB, free: 31.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.807, allocations: 102.8 kB / 0.9073 GB, free: 31.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.8071, allocations: 180.8 kB / 0.9075 GB, free: 31.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.8072, allocations: 106.7 kB / 0.9076 GB, free: 31.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001417/0.8086, allocations: 1.144 MB / 0.9087 GB, free: 31.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8086, allocations: 0 / 0.9087 GB, free: 31.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001209/0.8098, allocations: 304.6 kB / 0.909 GB, free: 31.25 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 () * 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.001471/0.8113, allocations: 1.097 MB / 0.9101 GB, free: 30.35 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.8116, allocations: 181.1 kB / 0.9103 GB, free: 30.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8117, allocations: 0 / 0.9103 GB, free: 30.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.8117, allocations: 4.562 kB / 0.9103 GB, free: 30.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.8122, allocations: 0.5463 MB / 0.9108 GB, free: 29.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.8144, allocations: 1.619 MB / 0.9124 GB, free: 29.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.8148, allocations: 0.7637 MB / 0.9131 GB, free: 28.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.174e-05/0.8148, allocations: 3.094 kB / 0.9131 GB, free: 28.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.8149, allocations: 54.7 kB / 0.9132 GB, free: 28.38 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.8149, allocations: 0 / 0.9132 GB, free: 28.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.8384, allocations: 7.363 MB / 0.9204 GB, free: 27.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.8386, allocations: 281.9 kB / 0.9206 GB, free: 27.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.175, allocations: 0.75 kB / 0.9206 GB, free: 27.44 MB / 0.5573 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)