Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001296, allocations: 99.86 kB / 16.27 MB, free: 6.41 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.001304/0.001304, allocations: 194.9 kB / 17.2 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.948/1.948, allocations: 292.3 MB / 0.5495 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 63.91 kB / 0.6722 GB, free: 6.621 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2923, allocations: 114.6 MB / 0.784 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003269/0.2956, allocations: 1.467 MB / 0.7855 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.2973, allocations: 0.9433 MB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.2974, allocations: 4 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.2977, allocations: 43.77 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.2977, allocations: 19.84 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.2985, allocations: 183.2 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.97e-05/0.2986, allocations: 55.73 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.2986, allocations: 0 / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.2987, allocations: 23.81 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.2988, allocations: 19.91 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.2988, allocations: 0 / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.2991, allocations: 139.8 kB / 0.7869 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.2992, allocations: 11.92 kB / 0.7869 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.2992, allocations: 15.88 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.2995, allocations: 132 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2995, allocations: 0 / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2995, allocations: 4 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2995, allocations: 0 / 0.787 GB, free: 0.8672 MB / 0.6544 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.0004168/0.2999, allocations: 367.2 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3, allocations: 8.031 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.771e-05/0.3, allocations: 88.11 kB / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.3003, allocations: 259.4 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5048/0.8051, allocations: 154.9 kB / 0.7879 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.8052, allocations: 151.8 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.205e-05/0.8053, allocations: 109 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.8053, allocations: 75.94 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.8053, allocations: 150.6 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.8053, allocations: 151.6 kB / 0.7885 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.885e-05/0.8054, allocations: 156.8 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.8056, allocations: 465.3 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.24e-05/0.8057, allocations: 173.2 kB / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.8057, allocations: 83.09 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.8058, allocations: 79.34 kB / 0.7894 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.8058, allocations: 107.1 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.913e-06/0.8058, allocations: 2.062 kB / 0.7895 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.083e-05/0.8059, allocations: 31.7 kB / 0.7895 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.8059, allocations: 133.9 kB / 0.7896 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.8061, allocations: 134.8 kB / 0.7898 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.8061, allocations: 25.7 kB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.8061, allocations: 95.2 kB / 0.7899 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.8062, allocations: 0 / 0.7899 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.8062, allocations: 13.58 kB / 0.7899 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.8063, allocations: 325.9 kB / 0.7902 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.8063, allocations: 2.844 kB / 0.7902 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.8063, allocations: 8.531 kB / 0.7902 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.8063, allocations: 8.359 kB / 0.7902 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8064, allocations: 4.656 kB / 0.7902 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001242/0.8065, allocations: 50.58 kB / 0.7903 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.8065, allocations: 9.875 kB / 0.7903 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.8065, allocations: 0 / 0.7903 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8066, allocations: 0 / 0.7903 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-06/0.8066, allocations: 2.625 kB / 0.7903 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8066, allocations: 0 / 0.7903 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.8066, allocations: 8.656 kB / 0.7903 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.8066, allocations: 0 / 0.7903 GB, free: 46.54 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/0.8067, allocations: 188.6 kB / 0.7905 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.8068, allocations: 114.8 kB / 0.7906 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.8068, allocations: 116 kB / 0.7907 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/0.8068, allocations: 181.5 kB / 0.7909 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/0.8069, allocations: 181.3 kB / 0.791 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/0.8069, allocations: 181.7 kB / 0.7912 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.8071, allocations: 416.6 kB / 0.7916 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.8071, allocations: 110 kB / 0.7917 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.8071, allocations: 103.2 kB / 0.7918 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.87e-05/0.8072, allocations: 178.4 kB / 0.792 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.8072, allocations: 180.2 kB / 0.7922 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-05/0.8072, allocations: 189.3 kB / 0.7923 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-05/0.8073, allocations: 185.2 kB / 0.7925 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.381e-05/0.8073, allocations: 311.7 kB / 0.7928 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.8074, allocations: 190.7 kB / 0.793 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.8074, allocations: 177.4 kB / 0.7932 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.8075, allocations: 105.1 kB / 0.7933 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.8075, allocations: 184.2 kB / 0.7934 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.8076, allocations: 105.7 kB / 0.7935 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.8076, allocations: 100.2 kB / 0.7936 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8076, allocations: 0 / 0.7936 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003116/0.8079, allocations: 33.02 kB / 0.7937 GB, free: 43.06 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002657/0.8082, allocations: 221.5 kB / 0.7939 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.811e-05/0.8083, allocations: 35.23 kB / 0.7939 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8083, allocations: 1.281 kB / 0.7939 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.8083, allocations: 0 / 0.7939 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.8088, allocations: 469.2 kB / 0.7944 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.8091, allocations: 257.5 kB / 0.7946 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.8092, allocations: 0.6831 MB / 0.7953 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.8093, allocations: 10.06 kB / 0.7953 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.8093, allocations: 0 / 0.7953 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.00259/0.8119, allocations: 1.23 MB / 0.7965 GB, free: 41.46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)