Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 172.5 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4454/0.4454, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 348.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.0009207, allocations: 99.72 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004081, allocations: 12 kB / 0.4902 GB, free: 7.949 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3064, allocations: 71.03 MB / 0.5595 GB, free: 43.87 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.4425, allocations: 121.6 MB / 0.6783 GB, free: 3.816 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.4429, allocations: 130.6 kB / 0.6784 GB, free: 3.695 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04597/0.4888, allocations: 15.57 MB / 0.6936 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4889, allocations: 0 / 0.6936 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.4889, allocations: 0 / 0.6936 GB, free: 4.098 MB / 0.4948 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.00105/0.4899, allocations: 0.5692 MB / 0.6942 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.49, allocations: 12.03 kB / 0.6942 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.4901, allocations: 80.12 kB / 0.6943 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4903, allocations: 255.5 kB / 0.6945 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.4904, allocations: 154.9 kB / 0.6947 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.4904, allocations: 150.9 kB / 0.6948 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.248e-05/0.4905, allocations: 105.5 kB / 0.6949 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.4905, allocations: 83.39 kB / 0.695 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.4906, allocations: 158.5 kB / 0.6951 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.4906, allocations: 154.6 kB / 0.6953 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.4907, allocations: 154.5 kB / 0.6954 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.491, allocations: 461.9 kB / 0.6959 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.337e-05/0.4911, allocations: 169.1 kB / 0.696 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.4911, allocations: 84.14 kB / 0.6961 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.4912, allocations: 75.28 kB / 0.6962 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.4912, allocations: 113.8 kB / 0.6963 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4912, allocations: 0 / 0.6963 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.287e-05/0.4913, allocations: 37.55 kB / 0.6963 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4914, allocations: 126.7 kB / 0.6965 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4915, allocations: 131.5 kB / 0.6966 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.4915, allocations: 25.7 kB / 0.6966 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.4916, allocations: 96.12 kB / 0.6967 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-06/0.4916, allocations: 0 / 0.6967 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.4916, allocations: 0 / 0.6967 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.4917, allocations: 318.8 kB / 0.697 GB, free: 432 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.4917, allocations: 3.984 kB / 0.697 GB, free: 428 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.4917, allocations: 8 kB / 0.697 GB, free: 420 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.4918, allocations: 16.8 kB / 0.697 GB, free: 400 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4918, allocations: 4.031 kB / 0.697 GB, free: 396 kB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001265/0.4919, allocations: 45.61 kB / 0.6971 GB, free: 344 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.492, allocations: 11.94 kB / 0.6971 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.492, allocations: 7.984 kB / 0.6971 GB, free: 324 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.492, allocations: 0 / 0.6971 GB, free: 324 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.492, allocations: 0 / 0.6971 GB, free: 324 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.492, allocations: 0 / 0.6971 GB, free: 324 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.492, allocations: 7.938 kB / 0.6971 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.492, allocations: 0 / 0.6971 GB, free: 316 kB / 0.4948 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 9.236e-05/0.4921, allocations: 189.2 kB / 0.6973 GB, free: 116 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2842/0.7763, allocations: 116.8 kB / 0.6974 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-05/0.7764, allocations: 107.2 kB / 0.6975 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/0.7764, allocations: 176.9 kB / 0.6977 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-05/0.7765, allocations: 181.5 kB / 0.6978 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/0.7765, allocations: 186 kB / 0.698 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.7767, allocations: 413.2 kB / 0.6984 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.7767, allocations: 105.1 kB / 0.6985 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.7768, allocations: 106.9 kB / 0.6986 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.556e-05/0.7768, allocations: 185.4 kB / 0.6988 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.7768, allocations: 183.7 kB / 0.699 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.497e-05/0.7769, allocations: 181.4 kB / 0.6991 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.991e-05/0.7769, allocations: 184 kB / 0.6993 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.534e-05/0.777, allocations: 309.2 kB / 0.6996 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.777, allocations: 190.7 kB / 0.6998 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.7771, allocations: 183.4 kB / 0.7 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.7772, allocations: 106.5 kB / 0.7001 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.7772, allocations: 180.8 kB / 0.7002 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.7772, allocations: 110.2 kB / 0.7003 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.908e-05/0.7773, allocations: 100.6 kB / 0.7004 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7773, allocations: 3.375 kB / 0.7004 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001373/0.7787, allocations: 324.1 kB / 0.7008 GB, free: 119.4 MB / 0.4948 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.001212/0.7799, allocations: 0.5629 MB / 0.7013 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.7801, allocations: 39.66 kB / 0.7013 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7801, allocations: 7.297 kB / 0.7013 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.7801, allocations: 3.844 kB / 0.7014 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.7804, allocations: 0.531 MB / 0.7019 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.7807, allocations: 252.9 kB / 0.7021 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.7809, allocations: 0.6895 MB / 0.7028 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.35e-05/0.7809, allocations: 0.8125 kB / 0.7028 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-06/0.7809, allocations: 9.25 kB / 0.7028 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/0.7809, allocations: 0 / 0.7028 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.01093/0.7919, allocations: 5.658 MB / 0.7083 GB, free: 117.5 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)