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_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/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_TwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_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.01056/0.01056, allocations: 171.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7997/0.7997, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001168/0.001168, allocations: 105.2 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004667, allocations: 8 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5573/0.5578, allocations: 82.3 MB / 0.6496 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.7675, allocations: 123.7 MB / 0.7704 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004234/0.768, allocations: 115.9 kB / 0.7705 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03171/0.7997, allocations: 8.509 MB / 0.7788 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.534e-06/0.7998, allocations: 4 kB / 0.7788 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.7998, allocations: 0 / 0.7788 GB, free: 15.62 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.001007/0.8008, allocations: 0.6056 MB / 0.7794 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.8009, allocations: 12.02 kB / 0.7794 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.207e-05/0.801, allocations: 54.5 kB / 0.7795 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.801, allocations: 23.72 kB / 0.7795 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.8014, allocations: 221.6 kB / 0.7797 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.8014, allocations: 0 / 0.7797 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.8014, allocations: 0 / 0.7797 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.8016, allocations: 105.7 kB / 0.7798 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.8016, allocations: 0 / 0.7798 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.8017, allocations: 7.938 kB / 0.7798 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.8017, allocations: 0 / 0.7798 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.8018, allocations: 87.86 kB / 0.7799 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.8022, allocations: 281.8 kB / 0.7802 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.8024, allocations: 122.5 kB / 0.7803 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.8024, allocations: 0 / 0.7803 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.8025, allocations: 34.59 kB / 0.7803 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.042e-06/0.8025, allocations: 0 / 0.7803 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.0006454/0.8031, allocations: 436.1 kB / 0.7807 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.8032, allocations: 55.41 kB / 0.7808 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.8035, allocations: 228.2 kB / 0.781 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.8035, allocations: 25.7 kB / 0.781 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.8036, allocations: 132.7 kB / 0.7812 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.8038, allocations: 102.4 kB / 0.7812 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.8038, allocations: 0 / 0.7812 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.8039, allocations: 342.8 kB / 0.7816 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.8041, allocations: 75.95 kB / 0.7816 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.8042, allocations: 71.97 kB / 0.7817 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.8044, allocations: 103.9 kB / 0.7818 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8044, allocations: 4.031 kB / 0.7818 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003425/0.8047, allocations: 233.2 kB / 0.782 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.8047, allocations: 4.938 kB / 0.782 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.8048, allocations: 4 kB / 0.7821 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.8048, allocations: 0 / 0.7821 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.8048, allocations: 0 / 0.7821 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.8048, allocations: 0 / 0.7821 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.8049, allocations: 11.84 kB / 0.7821 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.8049, allocations: 4 kB / 0.7821 GB, free: 12.06 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.0001802/0.8051, allocations: 162 kB / 0.7822 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.8051, allocations: 19.72 kB / 0.7822 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006466/0.8058, allocations: 0.5696 MB / 0.7828 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.15e-05/0.8059, allocations: 181 kB / 0.783 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.081e-05/0.806, allocations: 184.2 kB / 0.7831 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.214e-05/0.8061, allocations: 188.2 kB / 0.7833 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.8066, allocations: 0.5398 MB / 0.7839 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.274e-05/0.8067, allocations: 104.9 kB / 0.784 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.8067, allocations: 116.8 kB / 0.7841 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.657e-05/0.8068, allocations: 180.3 kB / 0.7842 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/0.8069, allocations: 184.2 kB / 0.7844 GB, free: 9.434 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.739e-05/0.807, allocations: 176.3 kB / 0.7846 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.773e-05/0.8071, allocations: 180.3 kB / 0.7848 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.8073, allocations: 327.5 kB / 0.7851 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006816/0.808, allocations: 371 kB / 0.7854 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.8082, allocations: 180.3 kB / 0.7856 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.8084, allocations: 105 kB / 0.7857 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.8085, allocations: 184.2 kB / 0.7859 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.8086, allocations: 109 kB / 0.786 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001841/0.8104, allocations: 1.139 MB / 0.7871 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8104, allocations: 0 / 0.7871 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001276/0.8117, allocations: 299.6 kB / 0.7874 GB, free: 6.312 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.001476/0.8132, allocations: 1.103 MB / 0.7884 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.8135, allocations: 177.6 kB / 0.7886 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8135, allocations: 0 / 0.7886 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-06/0.8135, allocations: 4 kB / 0.7886 GB, free: 5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.8141, allocations: 0.5456 MB / 0.7891 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.8167, allocations: 1.627 MB / 0.7907 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.8172, allocations: 0.765 MB / 0.7915 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.8172, allocations: 4 kB / 0.7915 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.8173, allocations: 51.48 kB / 0.7915 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of SimCode: time 4.9e-07/0.8173, allocations: 0 / 0.7915 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4574/1.275, allocations: 7.34 MB / 0.7987 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/1.275, allocations: 260.3 kB / 0.799 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.986, allocations: 1.344 kB / 0.799 GB, free: 132.5 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)