Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.01123/0.01123, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.945/0.945, allocations: 135.2 MB / 151.1 MB, free: 13.85 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.759/1.759, allocations: 223.2 MB / 406.8 MB, free: 3.137 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.0009232/0.0009231, allocations: 101.5 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 8 kB / 0.5692 GB, free: 14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4374, allocations: 82.31 MB / 0.6496 GB, free: 36.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.5977, allocations: 123.7 MB / 0.7704 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.598, allocations: 123.9 kB / 0.7705 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02406/0.6221, allocations: 8.515 MB / 0.7788 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6221, allocations: 0 / 0.7788 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.6221, allocations: 4 kB / 0.7788 GB, free: 15.49 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.0009493/0.6231, allocations: 0.6071 MB / 0.7794 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.6231, allocations: 8.031 kB / 0.7794 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.391e-05/0.6232, allocations: 42.56 kB / 0.7795 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.6233, allocations: 19.72 kB / 0.7795 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.6235, allocations: 229.5 kB / 0.7797 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.6236, allocations: 0 / 0.7797 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.6236, allocations: 0 / 0.7797 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.6238, allocations: 105.7 kB / 0.7798 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.6238, allocations: 3.938 kB / 0.7798 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6238, allocations: 4 kB / 0.7798 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.6238, allocations: 0 / 0.7798 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.6239, allocations: 87.88 kB / 0.7799 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.6242, allocations: 277.8 kB / 0.7802 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.6244, allocations: 122.5 kB / 0.7803 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.6244, allocations: 0 / 0.7803 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.6244, allocations: 30.56 kB / 0.7803 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 7.71e-07/0.6244, allocations: 4 kB / 0.7803 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.0005041/0.6249, allocations: 444.2 kB / 0.7807 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.625, allocations: 51.41 kB / 0.7808 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.6252, allocations: 228.2 kB / 0.781 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.6252, allocations: 25.7 kB / 0.781 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.6253, allocations: 128.7 kB / 0.7811 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/0.6254, allocations: 98.45 kB / 0.7812 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.6254, allocations: 0 / 0.7812 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6256, allocations: 354.8 kB / 0.7816 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.6257, allocations: 75.97 kB / 0.7816 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.6257, allocations: 71.97 kB / 0.7817 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.6259, allocations: 99.94 kB / 0.7818 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6259, allocations: 0 / 0.7818 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002653/0.6261, allocations: 233.2 kB / 0.782 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6262, allocations: 4 kB / 0.782 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.242e-05/0.6262, allocations: 4 kB / 0.782 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6262, allocations: 0 / 0.782 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.6263, allocations: 0 / 0.782 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6263, allocations: 64 / 0.782 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.6263, allocations: 19.77 kB / 0.7821 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.6264, allocations: 4 kB / 0.7821 GB, free: 11.93 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.0001522/0.6265, allocations: 166 kB / 0.7822 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.6265, allocations: 19.72 kB / 0.7822 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/0.6271, allocations: 0.5689 MB / 0.7828 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/0.6272, allocations: 188.9 kB / 0.783 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.389e-05/0.6273, allocations: 176.3 kB / 0.7831 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.441e-05/0.6273, allocations: 184.2 kB / 0.7833 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.6278, allocations: 0.5437 MB / 0.7839 GB, free: 9.902 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.264e-05/0.6278, allocations: 108.9 kB / 0.784 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.6279, allocations: 108.9 kB / 0.7841 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.422e-05/0.628, allocations: 180.2 kB / 0.7842 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.095e-05/0.628, allocations: 184.2 kB / 0.7844 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-05/0.6281, allocations: 176.3 kB / 0.7846 GB, free: 9.125 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.748e-05/0.6282, allocations: 184.2 kB / 0.7848 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.6284, allocations: 327.5 kB / 0.7851 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.629, allocations: 367 kB / 0.7854 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.6291, allocations: 184.3 kB / 0.7856 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6293, allocations: 108.9 kB / 0.7857 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.6294, allocations: 180.2 kB / 0.7859 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.6295, allocations: 105 kB / 0.786 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001349/0.6308, allocations: 1.139 MB / 0.7871 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6309, allocations: 0 / 0.7871 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001266/0.6321, allocations: 303.6 kB / 0.7874 GB, free: 6.18 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.001457/0.6336, allocations: 1.09 MB / 0.7884 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.6339, allocations: 185.6 kB / 0.7886 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6339, allocations: 0 / 0.7886 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.968e-06/0.6339, allocations: 7.984 kB / 0.7886 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.6344, allocations: 0.5378 MB / 0.7891 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.6365, allocations: 1.628 MB / 0.7907 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.6369, allocations: 0.7599 MB / 0.7915 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.6369, allocations: 4 kB / 0.7915 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.637, allocations: 59.48 kB / 0.7915 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of SimCode: time 2.154e-06/0.637, allocations: 0 / 0.7915 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3428/0.9798, allocations: 7.337 MB / 0.7987 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.98, allocations: 258.1 kB / 0.7989 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/3.027, allocations: 1.25 kB / 0.7989 GB, free: 132.5 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)