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.001416/0.001416, allocations: 99.7 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.001899/0.001898, allocations: 177.3 kB / 15.95 MB, free: 216 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.221/2.221, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.249/1.249, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004694, allocations: 12.91 kB / 0.5034 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.6638, allocations: 81.57 MB / 0.583 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002401/0.6662, allocations: 1.113 MB / 0.5841 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006078/0.6723, allocations: 2.535 MB / 0.5866 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.6724, allocations: 0 / 0.5866 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.6725, allocations: 1.406 kB / 0.5866 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.322e-05/0.6726, allocations: 23.69 kB / 0.5866 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005429/0.678, allocations: 1.207 MB / 0.5878 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.6782, allocations: 31.73 kB / 0.5878 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.347e-05/0.6783, allocations: 3.344 kB / 0.5878 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.6783, allocations: 16.09 kB / 0.5878 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.6784, allocations: 17.53 kB / 0.5879 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.6784, allocations: 5.312 kB / 0.5879 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003665/0.6821, allocations: 1.154 MB / 0.589 GB, free: 500 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.6822, allocations: 6.078 kB / 0.589 GB, free: 496 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.6822, allocations: 32.39 kB / 0.589 GB, free: 460 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.6841, allocations: 0.6941 MB / 0.5897 GB, free: 320 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6841, allocations: 0 / 0.5897 GB, free: 320 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6841, allocations: 0.8125 kB / 0.5897 GB, free: 320 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.6841, allocations: 0 / 0.5897 GB, free: 320 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.0008894/0.685, allocations: 0.5069 MB / 0.5902 GB, free: 15.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.6851, allocations: 10.06 kB / 0.5902 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.418e-05/0.6852, allocations: 110.5 kB / 0.5903 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.458e-05/0.6853, allocations: 84.52 kB / 0.5904 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.6855, allocations: 244.5 kB / 0.5906 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/0.6856, allocations: 155.7 kB / 0.5908 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6857, allocations: 151.6 kB / 0.5909 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.775e-05/0.6858, allocations: 109.6 kB / 0.591 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/0.6859, allocations: 80.08 kB / 0.5911 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.686, allocations: 150.6 kB / 0.5912 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-05/0.6861, allocations: 152.7 kB / 0.5914 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.6861, allocations: 150.6 kB / 0.5915 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.6866, allocations: 468.6 kB / 0.592 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.6868, allocations: 170.4 kB / 0.5921 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.6868, allocations: 76.45 kB / 0.5922 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.465e-05/0.6869, allocations: 111.2 kB / 0.5923 GB, free: 13.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.6869, allocations: 0 / 0.5923 GB, free: 13.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001073/0.687, allocations: 37.33 kB / 0.5924 GB, free: 13.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.6871, allocations: 128 kB / 0.5925 GB, free: 13.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.6873, allocations: 132.2 kB / 0.5926 GB, free: 13.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.6874, allocations: 25.7 kB / 0.5926 GB, free: 13.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.6875, allocations: 92.16 kB / 0.5927 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.6875, allocations: 0 / 0.5927 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.6875, allocations: 0 / 0.5927 GB, free: 13.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6877, allocations: 323.4 kB / 0.593 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.6877, allocations: 11.75 kB / 0.593 GB, free: 12.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.6877, allocations: 3.031 kB / 0.593 GB, free: 12.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.41e-05/0.6878, allocations: 8.453 kB / 0.5931 GB, free: 12.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6878, allocations: 0 / 0.5931 GB, free: 12.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001753/0.688, allocations: 48.88 kB / 0.5931 GB, free: 12.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.688, allocations: 6.547 kB / 0.5931 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.6881, allocations: 2.281 kB / 0.5931 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.6881, allocations: 5.375 kB / 0.5931 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-06/0.6881, allocations: 0.75 kB / 0.5931 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6881, allocations: 0 / 0.5931 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.6882, allocations: 5.391 kB / 0.5931 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.6882, allocations: 2.234 kB / 0.5931 GB, free: 12.78 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.0001645/0.6884, allocations: 194.9 kB / 0.5933 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-05/0.6885, allocations: 111.8 kB / 0.5934 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.6886, allocations: 109.2 kB / 0.5935 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.126e-05/0.6887, allocations: 181 kB / 0.5937 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.518e-05/0.6888, allocations: 182.4 kB / 0.5939 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.23e-05/0.6889, allocations: 182.1 kB / 0.594 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.6893, allocations: 420.2 kB / 0.5944 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.505e-05/0.6893, allocations: 102.5 kB / 0.5945 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.6894, allocations: 107.4 kB / 0.5946 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.6895, allocations: 181.7 kB / 0.5948 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-05/0.6896, allocations: 182.4 kB / 0.595 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001032/0.6897, allocations: 180.8 kB / 0.5952 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-05/0.6898, allocations: 178.3 kB / 0.5953 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.6901, allocations: 315.4 kB / 0.5956 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.6902, allocations: 184.8 kB / 0.5958 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.6903, allocations: 182.8 kB / 0.596 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.6905, allocations: 111 kB / 0.5961 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.6906, allocations: 181.3 kB / 0.5963 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.954e-05/0.6906, allocations: 103.4 kB / 0.5964 GB, free: 9.289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.767e-05/0.6907, allocations: 105.3 kB / 0.5965 GB, free: 9.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6908, allocations: 1 kB / 0.5965 GB, free: 9.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001614/0.6924, allocations: 271.4 kB / 0.5967 GB, free: 9.141 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.002162/0.6946, allocations: 1.13 MB / 0.5978 GB, free: 8.227 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.6947, allocations: 41.95 kB / 0.5979 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6947, allocations: 0 / 0.5979 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-06/0.6948, allocations: 2.203 kB / 0.5979 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.6953, allocations: 0.5244 MB / 0.5984 GB, free: 7.664 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.6966, allocations: 0.5484 MB / 0.5989 GB, free: 7.191 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.6971, allocations: 0.6856 MB / 0.5996 GB, free: 6.496 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.707e-05/0.6971, allocations: 4.875 kB / 0.5996 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.6972, allocations: 22.27 kB / 0.5996 GB, free: 6.473 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6972, allocations: 0 / 0.5996 GB, free: 6.473 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05773/0.7549, allocations: 6.534 MB / 0.606 GB, free: 3.941 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003913/0.7554, allocations: 256.2 kB / 0.6062 GB, free: 3.605 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.967/3.723, allocations: 1.188 kB / 0.6062 GB, free: 3.605 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: