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.001177/0.001177, allocations: 103.4 kB / 16.29 MB, free: 6.43 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.001216/0.001216, allocations: 184.6 kB / 17.22 MB, free: 5.934 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.357/1.357, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.816/1.816, allocations: 292.3 MB / 0.5495 GB, free: 17.65 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.002367/0.002367, allocations: 64.23 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2479, allocations: 114.6 MB / 0.7841 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00288/0.2509, allocations: 1.463 MB / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2523, allocations: 0.9511 MB / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.2523, allocations: 0 / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.2526, allocations: 39.77 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.804e-05/0.2526, allocations: 15.84 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.2531, allocations: 195.9 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.2532, allocations: 47.73 kB / 0.7867 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.2533, allocations: 7.984 kB / 0.7867 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.2534, allocations: 19.81 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.2534, allocations: 11.94 kB / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.2534, allocations: 4 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.2538, allocations: 171.8 kB / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.2538, allocations: 7.938 kB / 0.7869 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.2539, allocations: 19.88 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.2541, allocations: 124 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2541, allocations: 0 / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2541, allocations: 0 / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2541, allocations: 0 / 0.7871 GB, free: 0.7109 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.0003962/0.2545, allocations: 363.3 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2546, allocations: 12.03 kB / 0.7874 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.2547, allocations: 92.05 kB / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3401/0.5948, allocations: 258.3 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.5949, allocations: 152 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.5949, allocations: 151.9 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.922e-05/0.595, allocations: 106 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.595, allocations: 79.19 kB / 0.7882 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.595, allocations: 154 kB / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.595, allocations: 152.4 kB / 0.7885 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.5951, allocations: 155.7 kB / 0.7887 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.5953, allocations: 463.7 kB / 0.7891 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.645e-05/0.5953, allocations: 171.2 kB / 0.7893 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.5954, allocations: 81.64 kB / 0.7894 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.5954, allocations: 78.78 kB / 0.7894 GB, free: 47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.5954, allocations: 112.5 kB / 0.7895 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.5954, allocations: 1.125 kB / 0.7895 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.679e-05/0.5955, allocations: 33.17 kB / 0.7896 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5955, allocations: 136 kB / 0.7897 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.5957, allocations: 137.6 kB / 0.7898 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.5957, allocations: 26.7 kB / 0.7899 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.5957, allocations: 90.98 kB / 0.79 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.5957, allocations: 1.844 kB / 0.79 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.5958, allocations: 15.53 kB / 0.79 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.5958, allocations: 318 kB / 0.7903 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.5958, allocations: 5.578 kB / 0.7903 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.5959, allocations: 4.344 kB / 0.7903 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.5959, allocations: 13.58 kB / 0.7903 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5959, allocations: 0 / 0.7903 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001079/0.596, allocations: 56.16 kB / 0.7903 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.596, allocations: 4.656 kB / 0.7904 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.5961, allocations: 2.594 kB / 0.7904 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5961, allocations: 0 / 0.7904 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.5961, allocations: 4.438 kB / 0.7904 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5961, allocations: 3.234 kB / 0.7904 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.5961, allocations: 5.625 kB / 0.7904 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.5962, allocations: 2.594 kB / 0.7904 GB, free: 46.14 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 5.296e-05/0.5962, allocations: 184.9 kB / 0.7905 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.5963, allocations: 112.8 kB / 0.7907 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.5963, allocations: 118.1 kB / 0.7908 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.5963, allocations: 181.6 kB / 0.7909 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/0.5963, allocations: 180.1 kB / 0.7911 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.5964, allocations: 180 kB / 0.7913 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.5965, allocations: 419.4 kB / 0.7917 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.5965, allocations: 103 kB / 0.7918 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.5966, allocations: 106.8 kB / 0.7919 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.019e-05/0.5966, allocations: 183.8 kB / 0.7921 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.5966, allocations: 184.8 kB / 0.7922 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.163e-05/0.5966, allocations: 184.4 kB / 0.7924 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.28e-05/0.5967, allocations: 178.6 kB / 0.7926 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.74e-05/0.5967, allocations: 312.2 kB / 0.7929 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.483e-05/0.5968, allocations: 186.7 kB / 0.7931 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.5968, allocations: 182.4 kB / 0.7932 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.5969, allocations: 110.8 kB / 0.7933 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.5969, allocations: 178.7 kB / 0.7935 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.5969, allocations: 108 kB / 0.7936 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.901e-05/0.597, allocations: 105.6 kB / 0.7937 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.597, allocations: 0 / 0.7937 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000291/0.5973, allocations: 29.94 kB / 0.7937 GB, free: 42.66 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.0002259/0.5975, allocations: 218.3 kB / 0.7939 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.309e-05/0.5976, allocations: 36.83 kB / 0.794 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5976, allocations: 0.875 kB / 0.794 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.5976, allocations: 0 / 0.794 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.5981, allocations: 465.6 kB / 0.7944 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.5983, allocations: 234.5 kB / 0.7947 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.5985, allocations: 0.6817 MB / 0.7953 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.5985, allocations: 6.438 kB / 0.7953 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.5985, allocations: 7.438 kB / 0.7953 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.5985, allocations: 0 / 0.7953 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.003533/0.6021, allocations: 1.516 MB / 0.7968 GB, free: 41.09 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)