Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.0007533/0.0007531, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001017/0.001018, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7462/0.7462, allocations: 132.3 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004563, allocations: 12 kB / 0.5035 GB, free: 4.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4786, allocations: 81.57 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001547/0.4802, allocations: 1.13 MB / 0.5843 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004062/0.4843, allocations: 2.612 MB / 0.5869 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.4844, allocations: 0 / 0.5869 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.4844, allocations: 1.922 kB / 0.5869 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.4845, allocations: 15.98 kB / 0.5869 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.4883, allocations: 1.232 MB / 0.5881 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.311e-05/0.4884, allocations: 37.69 kB / 0.5881 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.4885, allocations: 3.734 kB / 0.5881 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.4885, allocations: 11.95 kB / 0.5881 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.4886, allocations: 18.03 kB / 0.5881 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.4886, allocations: 8.625 kB / 0.5882 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.4911, allocations: 1.205 MB / 0.5893 GB, free: 364 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.4911, allocations: 6.234 kB / 0.5893 GB, free: 360 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.4912, allocations: 36.58 kB / 0.5894 GB, free: 320 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.4924, allocations: 0.6783 MB / 0.59 GB, free: 184 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4924, allocations: 0.9688 kB / 0.59 GB, free: 184 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4924, allocations: 0.5156 kB / 0.59 GB, free: 184 kB / 430.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.4924, allocations: 0 / 0.59 GB, free: 184 kB / 430.1 MB 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.0006621/0.4931, allocations: 0.5096 MB / 0.5905 GB, free: 15.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.4932, allocations: 8.719 kB / 0.5905 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.4932, allocations: 107.2 kB / 0.5906 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.65e-05/0.4933, allocations: 85.27 kB / 0.5907 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.4935, allocations: 246.5 kB / 0.591 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/0.4935, allocations: 151.9 kB / 0.5911 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.4936, allocations: 155.3 kB / 0.5913 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.355e-05/0.4937, allocations: 110.3 kB / 0.5914 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.4937, allocations: 75.28 kB / 0.5914 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.138e-05/0.4938, allocations: 151.8 kB / 0.5916 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.4939, allocations: 154.5 kB / 0.5917 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.4939, allocations: 151.7 kB / 0.5919 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.4943, allocations: 473.4 kB / 0.5923 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.4944, allocations: 170.3 kB / 0.5925 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.4944, allocations: 80.14 kB / 0.5926 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.4945, allocations: 77.27 kB / 0.5926 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.4945, allocations: 114.6 kB / 0.5927 GB, free: 13.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4945, allocations: 0 / 0.5927 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.313e-05/0.4946, allocations: 33.33 kB / 0.5928 GB, free: 13.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.4947, allocations: 131.2 kB / 0.5929 GB, free: 13.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4948, allocations: 129.8 kB / 0.593 GB, free: 13.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.4948, allocations: 26.89 kB / 0.593 GB, free: 13.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.4949, allocations: 91.84 kB / 0.5931 GB, free: 12.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.4949, allocations: 0 / 0.5931 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-06/0.4949, allocations: 4.969 kB / 0.5931 GB, free: 12.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.495, allocations: 321.9 kB / 0.5934 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.4951, allocations: 3.875 kB / 0.5935 GB, free: 12.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.592e-05/0.4951, allocations: 7.625 kB / 0.5935 GB, free: 12.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.4951, allocations: 4.812 kB / 0.5935 GB, free: 12.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4951, allocations: 0 / 0.5935 GB, free: 12.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001284/0.4953, allocations: 49.39 kB / 0.5935 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4953, allocations: 5.703 kB / 0.5935 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4953, allocations: 2.281 kB / 0.5935 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4953, allocations: 5.094 kB / 0.5935 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.378e-06/0.4953, allocations: 4.641 kB / 0.5935 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.4953, allocations: 3.938 kB / 0.5935 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.4954, allocations: 1.125 kB / 0.5935 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4954, allocations: 2 kB / 0.5935 GB, free: 12.56 MB / 446.1 MB 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.000109/0.4955, allocations: 187.5 kB / 0.5937 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.4956, allocations: 112.3 kB / 0.5938 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.4956, allocations: 112.3 kB / 0.5939 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-05/0.4957, allocations: 185.8 kB / 0.5941 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.006e-05/0.4958, allocations: 177.7 kB / 0.5943 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.428e-05/0.4959, allocations: 182.4 kB / 0.5944 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.4961, allocations: 417.4 kB / 0.5948 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.809e-05/0.4962, allocations: 102.7 kB / 0.5949 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.4962, allocations: 114.8 kB / 0.5951 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.948e-05/0.4963, allocations: 178 kB / 0.5952 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.4964, allocations: 181.9 kB / 0.5954 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.349e-05/0.4965, allocations: 180.8 kB / 0.5956 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.318e-05/0.4966, allocations: 182.2 kB / 0.5957 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.4967, allocations: 307.5 kB / 0.596 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.4969, allocations: 192.7 kB / 0.5962 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.497, allocations: 178.7 kB / 0.5964 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.4971, allocations: 106.2 kB / 0.5965 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.4972, allocations: 183.6 kB / 0.5967 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.4972, allocations: 106.1 kB / 0.5968 GB, free: 9.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.17e-05/0.4973, allocations: 102 kB / 0.5969 GB, free: 8.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4973, allocations: 0 / 0.5969 GB, free: 8.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001032/0.4983, allocations: 272.3 kB / 0.5971 GB, free: 8.93 MB / 446.1 MB 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.001404/0.4997, allocations: 1.138 MB / 0.5982 GB, free: 8.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.538e-05/0.4998, allocations: 38.14 kB / 0.5983 GB, free: 7.973 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4999, allocations: 1.312 kB / 0.5983 GB, free: 7.973 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.4999, allocations: 0 / 0.5983 GB, free: 7.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.5003, allocations: 0.5286 MB / 0.5988 GB, free: 7.445 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.5014, allocations: 0.6766 MB / 0.5994 GB, free: 6.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.5017, allocations: 0.6859 MB / 0.6001 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.539e-05/0.5017, allocations: 0.7031 kB / 0.6001 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.5018, allocations: 14.42 kB / 0.6001 GB, free: 6.219 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5018, allocations: 1.125 kB / 0.6001 GB, free: 6.219 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.523, allocations: 6.609 MB / 0.6066 GB, free: 3.602 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.5232, allocations: 252.7 kB / 0.6068 GB, free: 3.273 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.51, allocations: 0 / 0.6068 GB, free: 3.273 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: