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.008956/0.008956, allocations: 101.3 kB / 15.73 MB, free: 6.023 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.002044/0.002044, allocations: 196 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8696/0.8696, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 71.42 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1683, allocations: 80.22 MB / 0.6593 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002657/0.171, allocations: 1.42 MB / 0.6607 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00441/0.1754, allocations: 2.833 MB / 0.6634 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.1754, allocations: 0 / 0.6634 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.1755, allocations: 3.938 kB / 0.6634 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.1756, allocations: 15.84 kB / 0.6634 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.1794, allocations: 1.557 MB / 0.665 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.995e-05/0.1795, allocations: 43.67 kB / 0.665 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.1795, allocations: 11.92 kB / 0.665 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.1796, allocations: 11.92 kB / 0.665 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.902e-05/0.1796, allocations: 15.94 kB / 0.665 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1796, allocations: 8 kB / 0.6651 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.1819, allocations: 1.482 MB / 0.6665 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.1819, allocations: 3.938 kB / 0.6665 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.182, allocations: 23.86 kB / 0.6665 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.1834, allocations: 1.06 MB / 0.6676 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.036e-06/0.1834, allocations: 3.984 kB / 0.6676 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1834, allocations: 0 / 0.6676 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.1835, allocations: 0 / 0.6676 GB, free: 2.25 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.0007196/0.1842, allocations: 0.5324 MB / 0.6681 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1842, allocations: 8.031 kB / 0.6681 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.143e-05/0.1843, allocations: 106 kB / 0.6682 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.1844, allocations: 80.22 kB / 0.6683 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1846, allocations: 255.6 kB / 0.6685 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.298e-05/0.1847, allocations: 158.4 kB / 0.6687 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/0.1848, allocations: 154.5 kB / 0.6688 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.151e-05/0.1849, allocations: 112.9 kB / 0.6689 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.519e-05/0.1849, allocations: 75.28 kB / 0.669 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.162e-05/0.185, allocations: 150.6 kB / 0.6691 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.686e-05/0.1851, allocations: 154.6 kB / 0.6693 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/0.1852, allocations: 150.6 kB / 0.6694 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.1856, allocations: 473.8 kB / 0.6699 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1857, allocations: 165.1 kB / 0.67 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.1858, allocations: 84.14 kB / 0.6701 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.1858, allocations: 75.28 kB / 0.6702 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/0.1859, allocations: 109.8 kB / 0.6703 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1859, allocations: 0 / 0.6703 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.733e-05/0.186, allocations: 33.64 kB / 0.6703 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.1861, allocations: 126.7 kB / 0.6704 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.1862, allocations: 139.6 kB / 0.6706 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1863, allocations: 25.7 kB / 0.6706 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.1863, allocations: 92.12 kB / 0.6707 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.1863, allocations: 0 / 0.6707 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.1864, allocations: 21.72 kB / 0.6707 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1865, allocations: 326.7 kB / 0.671 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.1866, allocations: 4 kB / 0.671 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.1866, allocations: 4 kB / 0.671 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.1866, allocations: 8.859 kB / 0.671 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1866, allocations: 4 kB / 0.671 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.1868, allocations: 53.58 kB / 0.6711 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1868, allocations: 4 kB / 0.6711 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.1868, allocations: 4 kB / 0.6711 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1868, allocations: 4.062 kB / 0.6711 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.1869, allocations: 0 / 0.6711 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1869, allocations: 0 / 0.6711 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.1869, allocations: 0 / 0.6711 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1869, allocations: 4 kB / 0.6711 GB, free: 14.37 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.187, allocations: 185.1 kB / 0.6713 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.1871, allocations: 121 kB / 0.6714 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.1872, allocations: 112.8 kB / 0.6715 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.732e-05/0.1873, allocations: 184.3 kB / 0.6717 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.417e-05/0.1873, allocations: 180.2 kB / 0.6719 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-05/0.1874, allocations: 176.3 kB / 0.672 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.1877, allocations: 421.1 kB / 0.6724 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.895e-05/0.1878, allocations: 104.9 kB / 0.6725 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.1878, allocations: 105 kB / 0.6726 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.773e-05/0.1879, allocations: 180.2 kB / 0.6728 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.452e-05/0.188, allocations: 184.3 kB / 0.673 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-05/0.1881, allocations: 188.2 kB / 0.6732 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.87e-05/0.1882, allocations: 180.2 kB / 0.6733 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.1883, allocations: 311.7 kB / 0.6736 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.1884, allocations: 190 kB / 0.6738 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.1885, allocations: 176.3 kB / 0.674 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.1886, allocations: 112.9 kB / 0.6741 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.1887, allocations: 176.3 kB / 0.6742 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.1887, allocations: 108.9 kB / 0.6744 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.015e-05/0.1888, allocations: 105.2 kB / 0.6745 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1888, allocations: 0 / 0.6745 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000779/0.1896, allocations: 283 kB / 0.6747 GB, free: 10.44 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/0.191, allocations: 1.162 MB / 0.6759 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.635e-05/0.1912, allocations: 37.64 kB / 0.6759 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1912, allocations: 0 / 0.6759 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1912, allocations: 0 / 0.6759 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.1916, allocations: 467.7 kB / 0.6763 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1931, allocations: 1.584 MB / 0.6779 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1934, allocations: 0.6807 MB / 0.6785 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.196e-05/0.1934, allocations: 0 / 0.6785 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.1934, allocations: 15.44 kB / 0.6786 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1935, allocations: 0 / 0.6786 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.2234, allocations: 6.831 MB / 0.6852 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.385, allocations: 21.11 kB / 0.6853 GB, free: 15.71 MB / 0.5294 GB (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/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)