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.InternalResistancesOneUTube.conf.json 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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002703/0.002703, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.431/2.431, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.64/1.64, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000554/0.0005543, allocations: 8 kB / 0.507 GB, free: 5.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2588, allocations: 82.31 MB / 0.5873 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002497/0.2613, allocations: 1.105 MB / 0.5884 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006633/0.268, allocations: 2.526 MB / 0.5909 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2682, allocations: 0 / 0.5909 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.2683, allocations: 0 / 0.5909 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.2684, allocations: 19.95 kB / 0.5909 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005847/0.2742, allocations: 1.215 MB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.2744, allocations: 31.89 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.2745, allocations: 0 / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.2746, allocations: 19.92 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.2747, allocations: 15.92 kB / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.2747, allocations: 0 / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/0.2784, allocations: 1.155 MB / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/0.2785, allocations: 7.969 kB / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.2786, allocations: 37.64 kB / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.281, allocations: 0.6982 MB / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.281, allocations: 0 / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.996e-06/0.281, allocations: 0 / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2811, allocations: 0 / 0.594 GB, free: 12.09 MB / 0.4981 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.001431/0.2825, allocations: 0.4912 MB / 0.5945 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.634e-05/0.2826, allocations: 11.97 kB / 0.5945 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.81e-05/0.2827, allocations: 113.8 kB / 0.5946 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.2828, allocations: 83.19 kB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.2831, allocations: 258.1 kB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-05/0.2832, allocations: 150.6 kB / 0.5951 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.2833, allocations: 154.6 kB / 0.5952 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.083e-05/0.2834, allocations: 104.9 kB / 0.5953 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.2835, allocations: 79.27 kB / 0.5954 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/0.2835, allocations: 154.6 kB / 0.5955 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-05/0.2836, allocations: 150.6 kB / 0.5957 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.2837, allocations: 150.6 kB / 0.5958 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.2842, allocations: 469.9 kB / 0.5963 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.2843, allocations: 177.1 kB / 0.5964 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.2844, allocations: 75.28 kB / 0.5965 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.2845, allocations: 109.8 kB / 0.5966 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.963e-06/0.2845, allocations: 0 / 0.5966 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001141/0.2847, allocations: 33.59 kB / 0.5967 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/0.2848, allocations: 130.7 kB / 0.5968 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.285, allocations: 137 kB / 0.5969 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.285, allocations: 25.7 kB / 0.5969 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.2851, allocations: 84.14 kB / 0.597 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-06/0.2851, allocations: 0 / 0.597 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.2851, allocations: 3.938 kB / 0.597 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2853, allocations: 326.8 kB / 0.5973 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.485e-05/0.2853, allocations: 4 kB / 0.5973 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.2854, allocations: 0 / 0.5973 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.2854, allocations: 8 kB / 0.5973 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2854, allocations: 4.031 kB / 0.5973 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001955/0.2856, allocations: 53.59 kB / 0.5974 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2857, allocations: 7.938 kB / 0.5974 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.2857, allocations: 4 kB / 0.5974 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2857, allocations: 0 / 0.5974 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.2857, allocations: 0 / 0.5974 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2857, allocations: 0 / 0.5974 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.2858, allocations: 0 / 0.5974 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2858, allocations: 0 / 0.5974 GB, free: 8.371 MB / 0.4981 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.0001495/0.286, allocations: 193.1 kB / 0.5976 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.2861, allocations: 112.8 kB / 0.5977 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.2861, allocations: 108.8 kB / 0.5978 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.431e-05/0.2862, allocations: 184.2 kB / 0.598 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.019e-05/0.2863, allocations: 180.3 kB / 0.5981 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.201e-05/0.2864, allocations: 176.3 kB / 0.5983 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.2868, allocations: 429 kB / 0.5987 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-05/0.2868, allocations: 101 kB / 0.5988 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.2869, allocations: 112.9 kB / 0.5989 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.402e-05/0.287, allocations: 176.3 kB / 0.5991 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-05/0.2871, allocations: 176.3 kB / 0.5993 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001396/0.2872, allocations: 188.2 kB / 0.5994 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001154/0.2874, allocations: 180.3 kB / 0.5996 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.2876, allocations: 303.8 kB / 0.5999 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.2878, allocations: 197.9 kB / 0.6001 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.2879, allocations: 176.3 kB / 0.6003 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.288, allocations: 105.3 kB / 0.6004 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.2882, allocations: 184.2 kB / 0.6005 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.2883, allocations: 109 kB / 0.6006 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001609/0.2885, allocations: 97.45 kB / 0.6007 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2885, allocations: 0 / 0.6007 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001406/0.2899, allocations: 275.8 kB / 0.601 GB, free: 4.461 MB / 0.4981 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.002053/0.2919, allocations: 1.14 MB / 0.6021 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.2921, allocations: 37.69 kB / 0.6021 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2921, allocations: 0 / 0.6021 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.2921, allocations: 0 / 0.6021 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/0.2929, allocations: 0.5296 MB / 0.6027 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.294, allocations: 0.556 MB / 0.6032 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.2944, allocations: 0.6849 MB / 0.6039 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.478e-05/0.2945, allocations: 3.984 kB / 0.6039 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.2945, allocations: 15.44 kB / 0.6039 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.2945, allocations: 0 / 0.6039 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5704/0.8649, allocations: 6.543 MB / 0.6103 GB, free: 47.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/0.8653, allocations: 252.2 kB / 0.6105 GB, free: 47.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.485/4.35, allocations: 2.812 kB / 0.6105 GB, free: 47.16 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: