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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001237/0.001237, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5003/0.5003, allocations: 91.99 MB / 108.5 MB, free: 13.07 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.686/1.686, allocations: 223.2 MB / 354.3 MB, free: 12.21 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.0009601/0.0009604, allocations: 103.7 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005446/0.0005447, allocations: 8 kB / 0.4983 GB, free: 42.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1865, allocations: 72.31 MB / 0.5689 GB, free: 1.879 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.53/0.7166, allocations: 122.5 MB / 0.6885 GB, free: 13.88 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/0.717, allocations: 121.2 kB / 0.6887 GB, free: 13.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04615/0.7632, allocations: 15.48 MB / 0.7038 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.866e-06/0.7632, allocations: 0 / 0.7038 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.7633, allocations: 4 kB / 0.7038 GB, free: 14.28 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.001012/0.7643, allocations: 0.5695 MB / 0.7043 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.7643, allocations: 12.03 kB / 0.7043 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.7644, allocations: 79.19 kB / 0.7044 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.7646, allocations: 250.2 kB / 0.7047 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.7646, allocations: 154.6 kB / 0.7048 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.7647, allocations: 150.6 kB / 0.705 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.171e-05/0.7648, allocations: 105 kB / 0.7051 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.7648, allocations: 79.28 kB / 0.7051 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.7649, allocations: 154.5 kB / 0.7053 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-05/0.765, allocations: 150.6 kB / 0.7054 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.25e-05/0.765, allocations: 150.6 kB / 0.7056 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.7654, allocations: 469.9 kB / 0.706 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.458e-05/0.7655, allocations: 177.1 kB / 0.7062 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.7655, allocations: 75.28 kB / 0.7062 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.7656, allocations: 105.8 kB / 0.7064 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.7656, allocations: 4 kB / 0.7064 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.062e-05/0.7657, allocations: 33.64 kB / 0.7064 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.7657, allocations: 130.6 kB / 0.7065 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.7659, allocations: 132 kB / 0.7066 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.7659, allocations: 25.7 kB / 0.7067 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.766, allocations: 88.14 kB / 0.7067 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.766, allocations: 0 / 0.7067 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.766, allocations: 0 / 0.7067 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7661, allocations: 326.8 kB / 0.7071 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.7661, allocations: 4 kB / 0.7071 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.7662, allocations: 0 / 0.7071 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.882e-05/0.7662, allocations: 12 kB / 0.7071 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7662, allocations: 0 / 0.7071 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001333/0.7663, allocations: 49.59 kB / 0.7071 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.7664, allocations: 11.94 kB / 0.7071 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.7664, allocations: 0 / 0.7071 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.7664, allocations: 0 / 0.7071 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.7664, allocations: 11.88 kB / 0.7071 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7664, allocations: 64 / 0.7071 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.7665, allocations: 7.953 kB / 0.7071 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.7665, allocations: 3.984 kB / 0.7072 GB, free: 10.6 MB / 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 0.0001284/0.7666, allocations: 185.1 kB / 0.7073 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.7667, allocations: 104.9 kB / 0.7074 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.7668, allocations: 124.6 kB / 0.7075 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-05/0.7668, allocations: 179.2 kB / 0.7077 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-05/0.7669, allocations: 180.3 kB / 0.7079 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.381e-05/0.767, allocations: 184.2 kB / 0.7081 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.7672, allocations: 417.2 kB / 0.7085 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/0.7673, allocations: 108.9 kB / 0.7086 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.7673, allocations: 101 kB / 0.7087 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.721e-05/0.7674, allocations: 184.3 kB / 0.7088 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.7675, allocations: 180.2 kB / 0.709 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.605e-05/0.7676, allocations: 184.2 kB / 0.7092 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.572e-05/0.7676, allocations: 184.2 kB / 0.7094 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.7678, allocations: 307.7 kB / 0.7097 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.7679, allocations: 186 kB / 0.7098 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.7679, allocations: 188.3 kB / 0.71 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.768, allocations: 104.9 kB / 0.7101 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.7681, allocations: 176.3 kB / 0.7103 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.7681, allocations: 105 kB / 0.7104 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.354e-05/0.7682, allocations: 112.3 kB / 0.7105 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7682, allocations: 0 / 0.7105 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001006/0.7692, allocations: 319.5 kB / 0.7108 GB, free: 6.645 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.001037/0.7703, allocations: 0.5485 MB / 0.7113 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.282e-05/0.7704, allocations: 37.7 kB / 0.7114 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7704, allocations: 0 / 0.7114 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.7704, allocations: 352 / 0.7114 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.7708, allocations: 0.5309 MB / 0.7119 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.7711, allocations: 258.9 kB / 0.7121 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.7714, allocations: 0.6887 MB / 0.7128 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.434e-05/0.7714, allocations: 0 / 0.7128 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.7714, allocations: 11.44 kB / 0.7128 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/0.7714, allocations: 0 / 0.7128 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.008984/0.7804, allocations: 5.238 MB / 0.7179 GB, free: 15.31 MB / 0.5105 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)