Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 116.8 kB / 16.37 MB, free: 6 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.001037/0.001037, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 287.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9252/0.9252, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 90.02 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.147, allocations: 86.99 MB / 0.6816 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004322/0.1513, allocations: 3.012 MB / 0.6846 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.154, allocations: 2.141 MB / 0.6867 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.1542, allocations: 8 kB / 0.6867 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.1556, allocations: 0.4899 MB / 0.6872 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1559, allocations: 166.8 kB / 0.6873 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.1561, allocations: 55.94 kB / 0.6874 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.1565, allocations: 449.8 kB / 0.6878 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.1568, allocations: 151.2 kB / 0.688 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.157, allocations: 159.3 kB / 0.6881 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1572, allocations: 183.2 kB / 0.6883 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.1572, allocations: 36 kB / 0.6883 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.344e-05/0.1573, allocations: 32 kB / 0.6883 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1574, allocations: 99.61 kB / 0.6884 GB, free: 432 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.1576, allocations: 215 kB / 0.6886 GB, free: 216 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2453/0.4029, allocations: 0.5405 MB / 0.6892 GB, free: 13.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4029, allocations: 0.5156 kB / 0.6892 GB, free: 13.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.403, allocations: 0.625 kB / 0.6892 GB, free: 13.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.403, allocations: 0 / 0.6892 GB, free: 13.92 MB / 494.1 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.0009942/0.404, allocations: 0.7013 MB / 0.6899 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.404, allocations: 10.41 kB / 0.6899 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.4041, allocations: 45.06 kB / 0.6899 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.4045, allocations: 385 kB / 0.6903 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4046, allocations: 15.53 kB / 0.6903 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.4046, allocations: 21.28 kB / 0.6903 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.405, allocations: 199.6 kB / 0.6905 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.405, allocations: 12.27 kB / 0.6905 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.4051, allocations: 10.34 kB / 0.6905 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4051, allocations: 5.031 kB / 0.6905 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.4054, allocations: 165.5 kB / 0.6907 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.4065, allocations: 0.8559 MB / 0.6915 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.4068, allocations: 163.1 kB / 0.6917 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.407, allocations: 108.1 kB / 0.6918 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4071, allocations: 7.406 kB / 0.6918 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.4071, allocations: 32.47 kB / 0.6918 GB, free: 12.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.4071, allocations: 0 / 0.6918 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005471/0.4077, allocations: 254.9 kB / 0.6921 GB, free: 12.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.4077, allocations: 54.5 kB / 0.6921 GB, free: 12.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.4081, allocations: 417.2 kB / 0.6925 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.4082, allocations: 28.7 kB / 0.6925 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4083, allocations: 209.7 kB / 0.6927 GB, free: 12.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.4083, allocations: 62.12 kB / 0.6928 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.4084, allocations: 38.97 kB / 0.6928 GB, free: 12.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.4085, allocations: 348.8 kB / 0.6932 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.4086, allocations: 59.31 kB / 0.6932 GB, free: 11.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.4087, allocations: 56.56 kB / 0.6933 GB, free: 11.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.409, allocations: 135 kB / 0.6934 GB, free: 11.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.409, allocations: 2.312 kB / 0.6934 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003546/0.4094, allocations: 210.5 kB / 0.6936 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4094, allocations: 8.938 kB / 0.6936 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.4094, allocations: 0 / 0.6936 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4094, allocations: 6.453 kB / 0.6936 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.4097, allocations: 54.44 kB / 0.6937 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4097, allocations: 1.922 kB / 0.6937 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.4099, allocations: 17.59 kB / 0.6937 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.4099, allocations: 8.781 kB / 0.6937 GB, free: 11.81 MB / 494.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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001183/0.41, allocations: 163.7 kB / 0.6939 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.4101, allocations: 32.53 kB / 0.6939 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.4102, allocations: 45.42 kB / 0.6939 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4102, allocations: 7.625 kB / 0.6939 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4102, allocations: 0.5625 kB / 0.6939 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4102, allocations: 1.641 kB / 0.6939 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.4106, allocations: 379.7 kB / 0.6943 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4106, allocations: 1.406 kB / 0.6943 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.4109, allocations: 57.81 kB / 0.6944 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4109, allocations: 2.625 kB / 0.6944 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.4109, allocations: 2.484 kB / 0.6944 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4109, allocations: 5.312 kB / 0.6944 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.4109, allocations: 0.7812 kB / 0.6944 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.4114, allocations: 375.8 kB / 0.6947 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.4115, allocations: 121.7 kB / 0.6948 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.4116, allocations: 13.5 kB / 0.6949 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.4117, allocations: 10.28 kB / 0.6949 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.4118, allocations: 21 kB / 0.6949 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.4118, allocations: 3.125 kB / 0.6949 GB, free: 11.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.4121, allocations: 304.4 kB / 0.6952 GB, free: 11.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4121, allocations: 0 / 0.6952 GB, free: 11.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000314/0.4124, allocations: 72.16 kB / 0.6953 GB, free: 11.02 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.253e-05/0.4125, allocations: 109.2 kB / 0.6954 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.4129, allocations: 139.7 kB / 0.6955 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4129, allocations: 0.5 kB / 0.6955 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.4131, allocations: 77.53 kB / 0.6956 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.4136, allocations: 91.39 kB / 0.6957 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.4148, allocations: 0.75 MB / 0.6964 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.415, allocations: 0.7974 MB / 0.6972 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.4151, allocations: 33.41 kB / 0.6972 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.4152, allocations: 23.97 kB / 0.6972 GB, free: 9.707 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4152, allocations: 4 kB / 0.6972 GB, free: 9.703 MB / 494.1 MB Notification: Performance of Templates: time 0.008747/0.424, allocations: 3.958 MB / 0.7011 GB, free: 9.488 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)