Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.01151/0.01151, allocations: 169.5 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.9681/0.9681, allocations: 135.2 MB / 151 MB, free: 13.76 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.615/1.615, allocations: 223.2 MB / 406.8 MB, free: 3.203 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.001112/0.001112, allocations: 94.44 kB / 489.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003542, allocations: 12 kB / 0.5692 GB, free: 13.96 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4446, allocations: 82.3 MB / 0.6496 GB, free: 36.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.6218, allocations: 132.3 MB / 0.7788 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/0.6222, allocations: 123.9 kB / 0.7789 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04696/0.6691, allocations: 15.42 MB / 0.7939 GB, free: 52 kB / 0.5573 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6692, allocations: 3.938 kB / 0.7939 GB, free: 48 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.6692, allocations: 4 kB / 0.7939 GB, free: 44 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.3695/1.039, allocations: 0.562 MB / 0.7945 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.039, allocations: 11.78 kB / 0.7945 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/1.039, allocations: 105.8 kB / 0.7946 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/1.039, allocations: 86.89 kB / 0.7947 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/1.039, allocations: 249 kB / 0.7949 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/1.039, allocations: 152.9 kB / 0.7951 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/1.039, allocations: 150.6 kB / 0.7952 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.293e-05/1.039, allocations: 107.9 kB / 0.7953 GB, free: 131 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.039, allocations: 76.03 kB / 0.7954 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/1.039, allocations: 152.4 kB / 0.7955 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/1.039, allocations: 152.3 kB / 0.7957 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/1.039, allocations: 154.1 kB / 0.7958 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/1.039, allocations: 468.7 kB / 0.7963 GB, free: 130 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.006e-05/1.04, allocations: 170.6 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/1.04, allocations: 75.28 kB / 0.7965 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/1.04, allocations: 113.5 kB / 0.7966 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/1.04, allocations: 2.844 kB / 0.7966 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.409e-05/1.04, allocations: 35.58 kB / 0.7966 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.04, allocations: 131 kB / 0.7968 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/1.04, allocations: 122.1 kB / 0.7969 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/1.04, allocations: 26.48 kB / 0.7969 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/1.04, allocations: 92.77 kB / 0.797 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/1.04, allocations: 0.9375 kB / 0.797 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/1.04, allocations: 3.781 kB / 0.797 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.193e-05/1.04, allocations: 321.4 kB / 0.7973 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/1.04, allocations: 5.734 kB / 0.7973 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/1.04, allocations: 4.625 kB / 0.7973 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/1.04, allocations: 7.125 kB / 0.7973 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.04, allocations: 0 / 0.7973 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000125/1.04, allocations: 51.52 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.04, allocations: 5.125 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/1.04, allocations: 7.516 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/1.04, allocations: 4.688 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/1.04, allocations: 0 / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.04, allocations: 1.312 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/1.04, allocations: 0.625 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/1.04, allocations: 2.094 kB / 0.7974 GB, free: 128.9 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 5.994e-05/1.04, allocations: 192 kB / 0.7976 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/1.04, allocations: 109 kB / 0.7977 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/1.04, allocations: 121.1 kB / 0.7978 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/1.04, allocations: 182.4 kB / 0.798 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.9e-05/1.041, allocations: 180.8 kB / 0.7981 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/1.041, allocations: 186.1 kB / 0.7983 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/1.041, allocations: 416.4 kB / 0.7987 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/1.041, allocations: 110 kB / 0.7988 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/1.041, allocations: 102.9 kB / 0.7989 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-05/1.041, allocations: 186.5 kB / 0.7991 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/1.041, allocations: 178.5 kB / 0.7993 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.3e-05/1.041, allocations: 180.4 kB / 0.7994 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.391e-05/1.041, allocations: 178.6 kB / 0.7996 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.64e-05/1.041, allocations: 318.9 kB / 0.7999 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/1.041, allocations: 185.8 kB / 0.8001 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/1.041, allocations: 178.6 kB / 0.8003 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/1.041, allocations: 108.1 kB / 0.8004 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/1.041, allocations: 181.2 kB / 0.8005 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/1.041, allocations: 108.4 kB / 0.8006 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.406e-05/1.041, allocations: 99.47 kB / 0.8007 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 0 / 0.8007 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001161/1.042, allocations: 326.7 kB / 0.8011 GB, free: 125.3 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.001299/1.044, allocations: 1.183 MB / 0.8022 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.85e-05/1.044, allocations: 43.59 kB / 0.8023 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.044, allocations: 3.188 kB / 0.8023 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/1.044, allocations: 1.5 kB / 0.8023 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.044, allocations: 0.5267 MB / 0.8028 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/1.045, allocations: 0.6039 MB / 0.8034 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/1.045, allocations: 0.6907 MB / 0.804 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.274e-05/1.045, allocations: 0 / 0.804 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/1.045, allocations: 16.34 kB / 0.804 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/1.045, allocations: 0 / 0.804 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/1.068, allocations: 6.388 MB / 0.8103 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/1.069, allocations: 255.4 kB / 0.8105 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.863, allocations: 5.875 kB / 0.8105 GB, free: 121.9 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)