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.0008272/0.000827, allocations: 91.84 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.0009735/0.0009738, 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.397/1.397, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.3 MB / 426.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003501, allocations: 12.84 kB / 0.5071 GB, free: 4.965 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1963, allocations: 82.32 MB / 0.5875 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001551/0.1979, allocations: 1.121 MB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.2018, allocations: 2.603 MB / 0.5912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.2019, allocations: 0 / 0.5912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.2019, allocations: 7.922 kB / 0.5912 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.578e-05/0.202, allocations: 11.92 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.2051, allocations: 1.224 MB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.357e-05/0.2052, allocations: 39.73 kB / 0.5924 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.2053, allocations: 3.984 kB / 0.5924 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.2053, allocations: 11.94 kB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.2053, allocations: 19.92 kB / 0.5925 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.2054, allocations: 3.938 kB / 0.5925 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.2071, allocations: 1.201 MB / 0.5936 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.2071, allocations: 7.938 kB / 0.5936 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.2072, allocations: 33.7 kB / 0.5937 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000835/0.208, allocations: 0.6825 MB / 0.5943 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.208, allocations: 0 / 0.5943 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.208, allocations: 0 / 0.5943 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.208, allocations: 0 / 0.5943 GB, free: 11.83 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.0005119/0.2085, allocations: 0.5068 MB / 0.5948 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.2086, allocations: 8.031 kB / 0.5948 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.2087, allocations: 105.8 kB / 0.5949 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.2087, allocations: 83.19 kB / 0.595 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2089, allocations: 263.7 kB / 0.5953 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/0.209, allocations: 150.6 kB / 0.5954 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.209, allocations: 150.6 kB / 0.5956 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.032e-05/0.2091, allocations: 109 kB / 0.5957 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.2091, allocations: 75.28 kB / 0.5957 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/0.2092, allocations: 158.5 kB / 0.5959 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/0.2093, allocations: 150.6 kB / 0.596 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.087e-05/0.2093, allocations: 154.6 kB / 0.5962 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.2096, allocations: 465.9 kB / 0.5966 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.2097, allocations: 169.1 kB / 0.5968 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.2098, allocations: 92.02 kB / 0.5969 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.2098, allocations: 79.22 kB / 0.5969 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.2099, allocations: 109.8 kB / 0.597 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.2099, allocations: 0 / 0.597 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.854e-05/0.2099, allocations: 29.61 kB / 0.5971 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.21, allocations: 130.7 kB / 0.5972 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2101, allocations: 131.3 kB / 0.5973 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.2102, allocations: 29.7 kB / 0.5974 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.2102, allocations: 88.14 kB / 0.5974 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.2102, allocations: 0 / 0.5974 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.2102, allocations: 0 / 0.5974 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2103, allocations: 326.8 kB / 0.5977 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.2104, allocations: 0 / 0.5977 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.2104, allocations: 7.938 kB / 0.5978 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.2104, allocations: 12.03 kB / 0.5978 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2104, allocations: 0 / 0.5978 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001198/0.2106, allocations: 45.61 kB / 0.5978 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2106, allocations: 7.984 kB / 0.5978 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.2106, allocations: 0 / 0.5978 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.2106, allocations: 4 kB / 0.5978 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.2106, allocations: 0 / 0.5978 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2106, allocations: 0 / 0.5978 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.2107, allocations: 0 / 0.5978 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2107, allocations: 0 / 0.5978 GB, free: 8.02 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.0001056/0.2108, allocations: 197.1 kB / 0.598 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.2108, allocations: 108.8 kB / 0.5981 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.2109, allocations: 112.8 kB / 0.5982 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.124e-05/0.211, allocations: 176.3 kB / 0.5984 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-05/0.211, allocations: 188.2 kB / 0.5986 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-05/0.2111, allocations: 180.3 kB / 0.5987 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.2113, allocations: 417.1 kB / 0.5991 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-05/0.2114, allocations: 105 kB / 0.5992 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.2114, allocations: 108.9 kB / 0.5993 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.942e-05/0.2115, allocations: 180.3 kB / 0.5995 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.2116, allocations: 176.3 kB / 0.5997 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.785e-05/0.2117, allocations: 188.2 kB / 0.5999 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.267e-05/0.2117, allocations: 188.5 kB / 0.6 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.2119, allocations: 311.8 kB / 0.6003 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.212, allocations: 186 kB / 0.6005 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.212, allocations: 188.2 kB / 0.6007 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.2121, allocations: 101 kB / 0.6008 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.2122, allocations: 180.2 kB / 0.601 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.2123, allocations: 108.9 kB / 0.6011 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.731e-05/0.2123, allocations: 101.5 kB / 0.6012 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2123, allocations: 0 / 0.6012 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006379/0.213, allocations: 275.8 kB / 0.6014 GB, free: 4.098 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.001273/0.2143, allocations: 1.14 MB / 0.6025 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.2144, allocations: 37.69 kB / 0.6026 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2144, allocations: 0 / 0.6026 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.2144, allocations: 4 kB / 0.6026 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.2148, allocations: 0.5296 MB / 0.6031 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.2157, allocations: 0.6853 MB / 0.6038 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.216, allocations: 0.6809 MB / 0.6044 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.216, allocations: 0 / 0.6044 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.216, allocations: 17.94 kB / 0.6045 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.216, allocations: 0 / 0.6045 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3531/0.5691, allocations: 6.596 MB / 0.6109 GB, free: 47.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.5693, allocations: 260.9 kB / 0.6111 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.629, allocations: 0 / 0.6111 GB, free: 47.59 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: