Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 111 kB / 17.33 MB, free: 5.043 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.002303/0.002303, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.407/1.407, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8445/0.8445, allocations: 128.4 MB / 426.1 MB, free: 7.227 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 72.94 kB / 0.5912 GB, free: 21.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1787, allocations: 83.25 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006385/0.185, allocations: 4.162 MB / 0.6766 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004372/0.1894, allocations: 2.429 MB / 0.6789 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006512/0.1901, allocations: 8 kB / 0.679 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.1923, allocations: 0.5558 MB / 0.6795 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.1934, allocations: 250 kB / 0.6797 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.1939, allocations: 139.8 kB / 0.6799 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.1953, allocations: 0.802 MB / 0.6807 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004957/0.1958, allocations: 234.6 kB / 0.6809 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005688/0.1964, allocations: 294.9 kB / 0.6812 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.197, allocations: 330.6 kB / 0.6815 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.1972, allocations: 72 kB / 0.6815 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.1974, allocations: 80 kB / 0.6816 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.1976, allocations: 175.4 kB / 0.6818 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006245/0.1982, allocations: 386.2 kB / 0.6822 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1995, allocations: 0.9884 MB / 0.6831 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.1995, allocations: 4 kB / 0.6831 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1995, allocations: 0 / 0.6831 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.017e-05/0.1995, allocations: 0 / 0.6831 GB, free: 8.949 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001877/0.2014, allocations: 0.9652 MB / 0.6841 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2015, allocations: 12.02 kB / 0.6841 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.2016, allocations: 80.47 kB / 0.6842 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.2023, allocations: 462 kB / 0.6846 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.2024, allocations: 37.31 kB / 0.6846 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.2025, allocations: 51.94 kB / 0.6847 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.2033, allocations: 422.5 kB / 0.6851 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.2033, allocations: 4 kB / 0.6851 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.2033, allocations: 20 kB / 0.6851 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2033, allocations: 16 kB / 0.6851 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007255/0.2041, allocations: 367.8 kB / 0.6855 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.2065, allocations: 1.524 MB / 0.687 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.207, allocations: 314.7 kB / 0.6873 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.2075, allocations: 293.5 kB / 0.6875 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2075, allocations: 4 kB / 0.6875 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.2076, allocations: 34.56 kB / 0.6876 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.864e-06/0.2076, allocations: 0 / 0.6876 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.001002/0.2086, allocations: 0.4974 MB / 0.6881 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.2086, allocations: 55.41 kB / 0.6881 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006276/0.2093, allocations: 486.7 kB / 0.6886 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.2093, allocations: 37.7 kB / 0.6886 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.2095, allocations: 272.7 kB / 0.6889 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.2096, allocations: 150.7 kB / 0.689 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2097, allocations: 62.08 kB / 0.6891 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2099, allocations: 362.8 kB / 0.6894 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.2102, allocations: 124.7 kB / 0.6895 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.2104, allocations: 125.4 kB / 0.6897 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.211, allocations: 302.2 kB / 0.6899 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.211, allocations: 3.938 kB / 0.69 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006915/0.2117, allocations: 404.5 kB / 0.6903 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2117, allocations: 4 kB / 0.6903 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2117, allocations: 0 / 0.6903 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2117, allocations: 4 kB / 0.6903 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.2122, allocations: 123.9 kB / 0.6905 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2123, allocations: 0 / 0.6905 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.2125, allocations: 35.67 kB / 0.6905 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.2125, allocations: 15.98 kB / 0.6905 GB, free: 1.121 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002611/0.2128, allocations: 201.7 kB / 0.6907 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.2128, allocations: 51.67 kB / 0.6908 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.213, allocations: 69.08 kB / 0.6908 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.213, allocations: 4 kB / 0.6908 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.213, allocations: 0 / 0.6908 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.213, allocations: 7.922 kB / 0.6908 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.2137, allocations: 0.5752 MB / 0.6914 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2137, allocations: 0 / 0.6914 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.2142, allocations: 127.9 kB / 0.6915 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2142, allocations: 0 / 0.6915 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.2143, allocations: 11.98 kB / 0.6915 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2143, allocations: 0 / 0.6915 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2143, allocations: 0 / 0.6915 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.2154, allocations: 0.6559 MB / 0.6922 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.2155, allocations: 144.7 kB / 0.6923 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.2156, allocations: 11.94 kB / 0.6923 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.2158, allocations: 8 kB / 0.6923 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.2159, allocations: 27.75 kB / 0.6924 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.2159, allocations: 11.98 kB / 0.6924 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000435/0.2163, allocations: 351.1 kB / 0.6927 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2163, allocations: 0 / 0.6927 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004327/0.2168, allocations: 143.7 kB / 0.6928 GB, free: 14.65 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.000151/0.2169, allocations: 115.2 kB / 0.6929 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006311/0.2176, allocations: 303.5 kB / 0.6932 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2176, allocations: 0 / 0.6932 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.2179, allocations: 167.8 kB / 0.6934 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.2185, allocations: 131.3 kB / 0.6935 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.2205, allocations: 1.205 MB / 0.6947 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.221, allocations: 0.8665 MB / 0.6955 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.2212, allocations: 52.36 kB / 0.6956 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/0.2213, allocations: 35.44 kB / 0.6956 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of SimCode: time 4.9e-07/0.2213, allocations: 0 / 0.6956 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of Templates: time 0.01271/0.234, allocations: 6.127 MB / 0.7016 GB, free: 5.723 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480]