Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 177.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4938/0.4938, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.5 MB / 343.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008571/0.0008571, allocations: 94.22 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.65e-05, allocations: 4 kB / 494.5 MB, free: 52.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 72.31 MB / 0.5536 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5118/0.6528, allocations: 109.3 MB / 0.6603 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.6531, allocations: 114 kB / 0.6604 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04653/0.6997, allocations: 17.98 MB / 0.678 GB, free: 2.137 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6997, allocations: 0 / 0.678 GB, free: 2.137 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.6997, allocations: 8 kB / 0.678 GB, free: 2.129 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007115/0.7004, allocations: 0.5725 MB / 0.6786 GB, free: 1.535 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.7005, allocations: 12.03 kB / 0.6786 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.7006, allocations: 43.44 kB / 0.6786 GB, free: 1.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.701, allocations: 355.4 kB / 0.679 GB, free: 1.137 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.7011, allocations: 4 kB / 0.679 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.7011, allocations: 12 kB / 0.679 GB, free: 1.121 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002392/0.7014, allocations: 125.8 kB / 0.6791 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.7016, allocations: 147.5 kB / 0.6792 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.7016, allocations: 3.984 kB / 0.6792 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.7017, allocations: 11.94 kB / 0.6793 GB, free: 0.918 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.7017, allocations: 7.984 kB / 0.6793 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.7028, allocations: 0.8196 MB / 0.6801 GB, free: 200 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.703, allocations: 127 kB / 0.6802 GB, free: 108 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.7031, allocations: 91.73 kB / 0.6803 GB, free: 48 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.7031, allocations: 8 kB / 0.6803 GB, free: 40 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.7032, allocations: 34.77 kB / 0.6803 GB, free: 16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 3.327e-06/0.7032, allocations: 0 / 0.6803 GB, free: 16 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.000287/0.7035, allocations: 161.5 kB / 0.6805 GB, free: 15.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.7035, allocations: 51.41 kB / 0.6805 GB, free: 15.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.7039, allocations: 331.9 kB / 0.6808 GB, free: 15.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.7039, allocations: 25.7 kB / 0.6809 GB, free: 15.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.7041, allocations: 209.2 kB / 0.6811 GB, free: 15.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.7041, allocations: 58.42 kB / 0.6811 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.7041, allocations: 0 / 0.6811 GB, free: 15.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7043, allocations: 348.2 kB / 0.6814 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.7043, allocations: 41.06 kB / 0.6815 GB, free: 14.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.7044, allocations: 39.78 kB / 0.6815 GB, free: 14.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.751e-05/0.7045, allocations: 48.17 kB / 0.6816 GB, free: 14.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7045, allocations: 3.938 kB / 0.6816 GB, free: 14.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002224/0.7047, allocations: 167.7 kB / 0.6817 GB, free: 14.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.7048, allocations: 8 kB / 0.6817 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7048, allocations: 0 / 0.6817 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.7048, allocations: 4 kB / 0.6817 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.7051, allocations: 54.59 kB / 0.6818 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.7051, allocations: 0 / 0.6818 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.7052, allocations: 19.83 kB / 0.6818 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.7053, allocations: 4 kB / 0.6818 GB, free: 14.69 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 8.898e-05/0.7054, allocations: 115.4 kB / 0.6819 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.7054, allocations: 31.62 kB / 0.682 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/0.7055, allocations: 40.73 kB / 0.682 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.7055, allocations: 4 kB / 0.682 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7055, allocations: 0 / 0.682 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7055, allocations: 0 / 0.682 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.7059, allocations: 337.7 kB / 0.6823 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7059, allocations: 0 / 0.6823 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.7062, allocations: 59.91 kB / 0.6824 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/0.7062, allocations: 4 kB / 0.6824 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.7062, allocations: 0 / 0.6824 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7062, allocations: 0 / 0.6824 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7062, allocations: 4 kB / 0.6824 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.7066, allocations: 325.3 kB / 0.6827 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.7067, allocations: 127.4 kB / 0.6828 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.7068, allocations: 4.062 kB / 0.6828 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.7069, allocations: 11.94 kB / 0.6828 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.707, allocations: 11.97 kB / 0.6829 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.707, allocations: 4 kB / 0.6829 GB, free: 13.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.7073, allocations: 264.5 kB / 0.6831 GB, free: 13.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7073, allocations: 0 / 0.6831 GB, free: 13.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003074/0.7076, allocations: 71.84 kB / 0.6832 GB, free: 13.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0004122/0.708, allocations: 268.6 kB / 0.6834 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.7082, allocations: 117.3 kB / 0.6835 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7082, allocations: 0 / 0.6835 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.7083, allocations: 60.75 kB / 0.6836 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.7087, allocations: 77.28 kB / 0.6837 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009774/0.7097, allocations: 0.514 MB / 0.6842 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.7102, allocations: 0.7983 MB / 0.685 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.7103, allocations: 31.28 kB / 0.685 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.141e-05/0.7104, allocations: 23.44 kB / 0.685 GB, free: 11.66 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7104, allocations: 0 / 0.685 GB, free: 11.66 MB / 490.7 MB Notification: Performance of Templates: time 0.007911/0.7183, allocations: 3.567 MB / 0.6885 GB, free: 8.176 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)