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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 104.1 kB / 16.35 MB, free: 6.289 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.001056/0.001056, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.772/0.772, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 68.12 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3268, allocations: 80.18 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002119/0.3289, allocations: 1.426 MB / 0.5829 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003163/0.3321, allocations: 2.846 MB / 0.5857 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.3321, allocations: 0 / 0.5857 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.3322, allocations: 3.938 kB / 0.5857 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.3322, allocations: 13.33 kB / 0.5857 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.3352, allocations: 1.55 MB / 0.5872 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.3353, allocations: 41.83 kB / 0.5873 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.3353, allocations: 2.656 kB / 0.5873 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.287e-05/0.3353, allocations: 11.66 kB / 0.5873 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.422e-05/0.3354, allocations: 23.36 kB / 0.5873 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.3354, allocations: 1.438 kB / 0.5873 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.3371, allocations: 1.485 MB / 0.5888 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3371, allocations: 2.594 kB / 0.5888 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.3371, allocations: 23.42 kB / 0.5888 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.3382, allocations: 1.065 MB / 0.5898 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3382, allocations: 0.7812 kB / 0.5898 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3382, allocations: 0 / 0.5898 GB, free: 21.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3383, allocations: 1.031 kB / 0.5898 GB, free: 21.72 MB / 446.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.0004019/0.3387, allocations: 0.5107 MB / 0.5903 GB, free: 21.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.3387, allocations: 12.66 kB / 0.5903 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3387, allocations: 90.06 kB / 0.5904 GB, free: 21.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.92e-05/0.3388, allocations: 243.6 kB / 0.5907 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3389, allocations: 154.9 kB / 0.5908 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.3389, allocations: 159.8 kB / 0.591 GB, free: 20.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.666e-05/0.3389, allocations: 101 kB / 0.5911 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.339, allocations: 80.11 kB / 0.5911 GB, free: 20.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.339, allocations: 151.1 kB / 0.5913 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.339, allocations: 151.7 kB / 0.5914 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.339, allocations: 151.6 kB / 0.5916 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.3392, allocations: 471.9 kB / 0.592 GB, free: 19.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.292e-05/0.3393, allocations: 181 kB / 0.5922 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.3393, allocations: 85.92 kB / 0.5923 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.3393, allocations: 75.28 kB / 0.5923 GB, free: 19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3393, allocations: 106.6 kB / 0.5925 GB, free: 18.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3393, allocations: 0 / 0.5925 GB, free: 18.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.79e-05/0.3394, allocations: 38.42 kB / 0.5925 GB, free: 18.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.3394, allocations: 126.7 kB / 0.5926 GB, free: 18.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.3395, allocations: 133.4 kB / 0.5927 GB, free: 18.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.3395, allocations: 25.7 kB / 0.5928 GB, free: 18.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.3395, allocations: 94.59 kB / 0.5929 GB, free: 18.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.3396, allocations: 0 / 0.5929 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.3396, allocations: 17.72 kB / 0.5929 GB, free: 18.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.703e-05/0.3396, allocations: 314.8 kB / 0.5932 GB, free: 18.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.3397, allocations: 8 kB / 0.5932 GB, free: 18.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.3397, allocations: 4.656 kB / 0.5932 GB, free: 18.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.3397, allocations: 10.92 kB / 0.5932 GB, free: 18.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3397, allocations: 3.938 kB / 0.5932 GB, free: 18.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.592e-05/0.3398, allocations: 57.53 kB / 0.5932 GB, free: 18.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.3398, allocations: 4 kB / 0.5933 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.3399, allocations: 4 kB / 0.5933 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3399, allocations: 0.9688 kB / 0.5933 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.3399, allocations: 0 / 0.5933 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.3399, allocations: 0 / 0.5933 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.3399, allocations: 1.438 kB / 0.5933 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3399, allocations: 4 kB / 0.5933 GB, free: 18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.34, allocations: 194.5 kB / 0.5934 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.34, allocations: 112.8 kB / 0.5936 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.34, allocations: 113.7 kB / 0.5937 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.3401, allocations: 177.4 kB / 0.5938 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/0.3401, allocations: 184.3 kB / 0.594 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.3401, allocations: 185.9 kB / 0.5942 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.3402, allocations: 417.1 kB / 0.5946 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.3403, allocations: 109.7 kB / 0.5947 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.3403, allocations: 102.1 kB / 0.5948 GB, free: 16.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-05/0.3403, allocations: 180.2 kB / 0.595 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.3403, allocations: 177.9 kB / 0.5951 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.098e-05/0.3404, allocations: 188.2 kB / 0.5953 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.945e-05/0.3404, allocations: 183.4 kB / 0.5955 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.477e-05/0.3404, allocations: 307.6 kB / 0.5958 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.3405, allocations: 186.1 kB / 0.596 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.3405, allocations: 180.8 kB / 0.5961 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.203e-05/0.3406, allocations: 107.5 kB / 0.5962 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.3406, allocations: 180.3 kB / 0.5964 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3406, allocations: 108.9 kB / 0.5965 GB, free: 14.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.299e-05/0.3407, allocations: 101.8 kB / 0.5966 GB, free: 14.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3407, allocations: 0.9375 kB / 0.5966 GB, free: 14.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005352/0.3412, allocations: 271.8 kB / 0.5969 GB, free: 14.11 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 (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.0007708/0.342, allocations: 0.5198 MB / 0.5974 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.332e-05/0.3421, allocations: 37.7 kB / 0.5974 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3421, allocations: 1.469 kB / 0.5974 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.3421, allocations: 0 / 0.5974 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.3424, allocations: 466.8 kB / 0.5979 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.3426, allocations: 236.8 kB / 0.5981 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.805e-05/0.3427, allocations: 0.6855 MB / 0.5987 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.416e-05/0.3427, allocations: 0.5938 kB / 0.5987 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.012e-05/0.3427, allocations: 7.438 kB / 0.5988 GB, free: 12.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3427, allocations: 1.031 kB / 0.5988 GB, free: 12.1 MB / 446.1 MB Notification: Performance of Templates: time 0.006986/0.3497, allocations: 5.439 MB / 0.6041 GB, free: 6.75 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)