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/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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009622/0.0009623, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5309/0.5309, allocations: 90.92 MB / 99.35 MB, free: 2.164 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.452/1.452, allocations: 221.5 MB / 343.2 MB, free: 1.516 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.0009841/0.000984, allocations: 91.89 kB / 415.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.744e-05, allocations: 4 kB / 494.5 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.6156, allocations: 111.5 MB / 0.6624 GB, free: 14.83 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.6159, allocations: 114.3 kB / 0.6625 GB, free: 14.76 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05449/0.6704, allocations: 21.94 MB / 0.684 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.6704, allocations: 0 / 0.684 GB, free: 12.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.454e-05/0.6705, allocations: 12 kB / 0.684 GB, free: 12.72 MB / 490.7 MB 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.001074/0.6716, allocations: 0.7528 MB / 0.6847 GB, free: 11.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.6716, allocations: 8.031 kB / 0.6847 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.6717, allocations: 83.06 kB / 0.6848 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.6723, allocations: 438 kB / 0.6852 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.6724, allocations: 16 kB / 0.6852 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.6725, allocations: 31.91 kB / 0.6852 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000519/0.673, allocations: 305 kB / 0.6855 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.6736, allocations: 330.6 kB / 0.6859 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.6736, allocations: 0 / 0.6859 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.6736, allocations: 0 / 0.6859 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.6736, allocations: 15.94 kB / 0.6859 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.6755, allocations: 1.44 MB / 0.6873 GB, free: 9.867 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.6759, allocations: 303.9 kB / 0.6876 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.6762, allocations: 276.9 kB / 0.6878 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.6762, allocations: 4 kB / 0.6878 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.6763, allocations: 37.88 kB / 0.6879 GB, free: 9.453 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 2.956e-06/0.6763, allocations: 0 / 0.6879 GB, free: 9.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004953/0.6768, allocations: 323.4 kB / 0.6882 GB, free: 9.211 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.6768, allocations: 55.41 kB / 0.6882 GB, free: 9.145 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.6773, allocations: 372.2 kB / 0.6886 GB, free: 8.859 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.6773, allocations: 25.7 kB / 0.6886 GB, free: 8.828 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.6775, allocations: 275.5 kB / 0.6889 GB, free: 8.633 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.6776, allocations: 148.3 kB / 0.689 GB, free: 8.504 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.6776, allocations: 0 / 0.689 GB, free: 8.504 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6778, allocations: 352.7 kB / 0.6894 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.6779, allocations: 102.6 kB / 0.6895 GB, free: 8.109 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.6781, allocations: 103.6 kB / 0.6895 GB, free: 8.051 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.6782, allocations: 118.4 kB / 0.6897 GB, free: 7.988 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6783, allocations: 4 kB / 0.6897 GB, free: 7.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004349/0.6787, allocations: 331.5 kB / 0.69 GB, free: 7.738 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6787, allocations: 4.938 kB / 0.69 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6787, allocations: 0 / 0.69 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.6787, allocations: 0 / 0.69 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.6793, allocations: 134.4 kB / 0.6901 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.6793, allocations: 0 / 0.6901 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.6795, allocations: 43.67 kB / 0.6902 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.6796, allocations: 8 kB / 0.6902 GB, free: 7.559 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 (46): * Single equations (assignments): 46 * 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 9.182e-05/0.6796, allocations: 118.6 kB / 0.6903 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.6797, allocations: 43.44 kB / 0.6903 GB, free: 7.398 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.6798, allocations: 48.41 kB / 0.6904 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6798, allocations: 8 kB / 0.6904 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.6799, allocations: 11.94 kB / 0.6904 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6799, allocations: 3.984 kB / 0.6904 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.6804, allocations: 0.4891 MB / 0.6909 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6804, allocations: 0 / 0.6909 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.6809, allocations: 127.2 kB / 0.691 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.681, allocations: 0 / 0.691 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.681, allocations: 0 / 0.691 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.681, allocations: 8 kB / 0.691 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.681, allocations: 0 / 0.691 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.6817, allocations: 0.5652 MB / 0.6915 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.6818, allocations: 131.4 kB / 0.6917 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.6818, allocations: 4 kB / 0.6917 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.6821, allocations: 19.97 kB / 0.6917 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.6821, allocations: 23.91 kB / 0.6917 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.6822, allocations: 15.81 kB / 0.6917 GB, free: 6.203 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002988/0.6825, allocations: 296 kB / 0.692 GB, free: 5.934 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6825, allocations: 0 / 0.692 GB, free: 5.934 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004276/0.6829, allocations: 139.5 kB / 0.6921 GB, free: 5.797 MB / 490.7 MB 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 () * 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 (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.0003891/0.6833, allocations: 274.9 kB / 0.6924 GB, free: 5.527 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004056/0.6837, allocations: 271.5 kB / 0.6927 GB, free: 5.262 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6837, allocations: 0 / 0.6927 GB, free: 5.262 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.6839, allocations: 155.9 kB / 0.6928 GB, free: 5.109 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.6844, allocations: 85.89 kB / 0.6929 GB, free: 5.027 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.6861, allocations: 0.8842 MB / 0.6938 GB, free: 4.109 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.6866, allocations: 0.882 MB / 0.6946 GB, free: 3.203 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.6868, allocations: 43.39 kB / 0.6947 GB, free: 3.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.6869, allocations: 35.44 kB / 0.6947 GB, free: 3.125 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6869, allocations: 7.875 kB / 0.6947 GB, free: 3.117 MB / 490.7 MB Notification: Performance of Templates: time 0.009356/0.6962, allocations: 4.835 MB / 0.6994 GB, free: 14.38 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (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)