Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.00935/0.00935, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.977/0.977, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.22/2.22, allocations: 223.2 MB / 406.8 MB, free: 3.168 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.001122/0.001122, allocations: 102 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 16 kB / 0.5692 GB, free: 14.01 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4689, allocations: 82.3 MB / 0.6496 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.646, allocations: 123.7 MB / 0.7704 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003838/0.6465, allocations: 111.9 kB / 0.7705 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02527/0.6718, allocations: 8.064 MB / 0.7784 GB, free: 72 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6718, allocations: 0 / 0.7784 GB, free: 72 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.6718, allocations: 4 kB / 0.7784 GB, free: 68 kB / 0.5417 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.0007783/0.6726, allocations: 0.4908 MB / 0.7788 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.6727, allocations: 12.03 kB / 0.7789 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.6727, allocations: 30.56 kB / 0.7789 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.6727, allocations: 7.906 kB / 0.7789 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.673, allocations: 191.4 kB / 0.7791 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.673, allocations: 0 / 0.7791 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.673, allocations: 4 kB / 0.7791 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.6731, allocations: 53.61 kB / 0.7791 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6731, allocations: 0 / 0.7791 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.6732, allocations: 4 kB / 0.7791 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6732, allocations: 3.938 kB / 0.7791 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.6732, allocations: 23.98 kB / 0.7792 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.6735, allocations: 193.6 kB / 0.7793 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.6736, allocations: 46.56 kB / 0.7794 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.6736, allocations: 0 / 0.7794 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.6736, allocations: 30.56 kB / 0.7794 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.6736, allocations: 3.938 kB / 0.7794 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0002957/0.6739, allocations: 211 kB / 0.7796 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.674, allocations: 55.41 kB / 0.7797 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.6741, allocations: 133 kB / 0.7798 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.6742, allocations: 37.72 kB / 0.7798 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.6742, allocations: 100.1 kB / 0.7799 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.6743, allocations: 19.64 kB / 0.78 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.6743, allocations: 0 / 0.78 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6744, allocations: 330.8 kB / 0.7803 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.6745, allocations: 23.98 kB / 0.7803 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.6745, allocations: 27.97 kB / 0.7803 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.6745, allocations: 27.98 kB / 0.7803 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6746, allocations: 32 / 0.7803 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001167/0.6747, allocations: 97.52 kB / 0.7804 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6747, allocations: 11.98 kB / 0.7805 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.6747, allocations: 0 / 0.7805 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6747, allocations: 0 / 0.7805 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.6747, allocations: 0 / 0.7805 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6748, allocations: 0 / 0.7805 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.6748, allocations: 7.906 kB / 0.7805 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.6748, allocations: 0 / 0.7805 GB, free: 13.68 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 () * 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.0001102/0.6749, allocations: 125.8 kB / 0.7806 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.675, allocations: 11.94 kB / 0.7806 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.6752, allocations: 208.3 kB / 0.7808 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.191e-05/0.6753, allocations: 177 kB / 0.781 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-05/0.6753, allocations: 180.3 kB / 0.7811 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.77e-05/0.6754, allocations: 180.2 kB / 0.7813 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.6757, allocations: 457 kB / 0.7817 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.747e-05/0.6758, allocations: 104.9 kB / 0.7818 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.6758, allocations: 105 kB / 0.7819 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.338e-05/0.6759, allocations: 176.3 kB / 0.7821 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.297e-05/0.676, allocations: 184.2 kB / 0.7823 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.993e-05/0.6761, allocations: 180.2 kB / 0.7825 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-05/0.6761, allocations: 184.2 kB / 0.7826 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.6763, allocations: 311.7 kB / 0.7829 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.6765, allocations: 223.6 kB / 0.7831 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-05/0.6766, allocations: 180.2 kB / 0.7833 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.6767, allocations: 112.9 kB / 0.7834 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.6768, allocations: 180.3 kB / 0.7836 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.6768, allocations: 104.9 kB / 0.7837 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002724/0.6771, allocations: 267.2 kB / 0.7839 GB, free: 9.863 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6771, allocations: 3.938 kB / 0.784 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008765/0.678, allocations: 243.7 kB / 0.7842 GB, free: 9.621 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.001186/0.6792, allocations: 1.078 MB / 0.7852 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.6793, allocations: 65.69 kB / 0.7853 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6794, allocations: 4 kB / 0.7853 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.6794, allocations: 7.938 kB / 0.7853 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.6798, allocations: 0.5326 MB / 0.7858 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.681, allocations: 0.865 MB / 0.7867 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.6813, allocations: 0.7043 MB / 0.7874 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.668e-05/0.6814, allocations: 0 / 0.7874 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.6814, allocations: 23.42 kB / 0.7874 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of SimCode: time 2.21e-07/0.6814, allocations: 0 / 0.7874 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.7019, allocations: 5.57 MB / 0.7928 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003457/0.7023, allocations: 273.3 kB / 0.7931 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.556, allocations: 0 / 0.7931 GB, free: 0.5391 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)