Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001115/0.001115, allocations: 105.5 kB / 15.99 MB, free: 6.355 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.001039/0.001039, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.475/1.475, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.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.68/1.68, allocations: 292.3 MB / 0.5492 GB, free: 13.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.00141/0.00141, allocations: 68.47 kB / 0.6717 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2474, allocations: 114.5 MB / 0.7836 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00436/0.2518, allocations: 3.075 MB / 0.7866 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.2547, allocations: 2.162 MB / 0.7887 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.2549, allocations: 4 kB / 0.7887 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.2564, allocations: 470.1 kB / 0.7891 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.2567, allocations: 135.1 kB / 0.7892 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.2568, allocations: 51.97 kB / 0.7893 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.2573, allocations: 449.9 kB / 0.7897 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.2576, allocations: 147.2 kB / 0.7899 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.2578, allocations: 155.3 kB / 0.79 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.258, allocations: 183.2 kB / 0.7902 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.2581, allocations: 39.94 kB / 0.7902 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.2581, allocations: 36 kB / 0.7903 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2583, allocations: 99.61 kB / 0.7904 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.2585, allocations: 218.9 kB / 0.7906 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.2589, allocations: 458.8 kB / 0.791 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2589, allocations: 0 / 0.791 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2589, allocations: 0 / 0.791 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.2589, allocations: 0 / 0.791 GB, free: 6.199 MB / 0.6075 GB 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.001032/0.26, allocations: 0.7084 MB / 0.7917 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.26, allocations: 12.03 kB / 0.7917 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.49e-05/0.2601, allocations: 44.38 kB / 0.7917 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.2605, allocations: 370.1 kB / 0.7921 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2606, allocations: 16.81 kB / 0.7921 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.2606, allocations: 20.38 kB / 0.7921 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.261, allocations: 203.6 kB / 0.7923 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.261, allocations: 4 kB / 0.7923 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.2611, allocations: 7.938 kB / 0.7923 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.2611, allocations: 11.98 kB / 0.7924 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.2614, allocations: 165.6 kB / 0.7925 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.2626, allocations: 0.8661 MB / 0.7934 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.2629, allocations: 158.5 kB / 0.7935 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.2631, allocations: 115.5 kB / 0.7936 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2631, allocations: 0 / 0.7936 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2631, allocations: 38.56 kB / 0.7937 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.2631, allocations: 0 / 0.7937 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005974/0.2637, allocations: 255.8 kB / 0.7939 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.2638, allocations: 59.34 kB / 0.794 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.2642, allocations: 417.7 kB / 0.7944 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2643, allocations: 29.7 kB / 0.7944 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2644, allocations: 204.2 kB / 0.7946 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.2645, allocations: 63.09 kB / 0.7946 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-05/0.2645, allocations: 37.7 kB / 0.7947 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2647, allocations: 346.8 kB / 0.795 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.2648, allocations: 55.97 kB / 0.7951 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.265, allocations: 59.92 kB / 0.7951 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.2652, allocations: 135.4 kB / 0.7952 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.2652, allocations: 4 kB / 0.7952 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003768/0.2656, allocations: 205.1 kB / 0.7954 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.2657, allocations: 4 kB / 0.7954 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2657, allocations: 11.94 kB / 0.7955 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2657, allocations: 3.938 kB / 0.7955 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.266, allocations: 47.97 kB / 0.7955 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.266, allocations: 3.938 kB / 0.7955 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.2662, allocations: 27.83 kB / 0.7955 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2662, allocations: 7.984 kB / 0.7955 GB, free: 1.305 MB / 0.6075 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 (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.0001599/0.2664, allocations: 170.4 kB / 0.7957 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.2664, allocations: 35.53 kB / 0.7957 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.634e-05/0.2665, allocations: 43.53 kB / 0.7958 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2665, allocations: 0 / 0.7958 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2665, allocations: 3.938 kB / 0.7958 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2665, allocations: 7.984 kB / 0.7958 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.2669, allocations: 373.3 kB / 0.7962 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.267, allocations: 0 / 0.7962 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.2672, allocations: 47.97 kB / 0.7962 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2672, allocations: 7.984 kB / 0.7962 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2673, allocations: 11.94 kB / 0.7962 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2673, allocations: 0 / 0.7962 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2673, allocations: 0 / 0.7962 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005706/0.2678, allocations: 374.8 kB / 0.7966 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.2679, allocations: 116.7 kB / 0.7967 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.268, allocations: 12 kB / 0.7967 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.2682, allocations: 11.98 kB / 0.7967 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.2682, allocations: 11.98 kB / 0.7967 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.2682, allocations: 4 kB / 0.7967 GB, free: 0 / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003249/0.2686, allocations: 303.1 kB / 0.797 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2686, allocations: 0 / 0.797 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002938/0.2689, allocations: 71.84 kB / 0.7971 GB, free: 15.64 MB / 0.6231 GB 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 0.0001435/0.269, allocations: 115.2 kB / 0.7972 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.2694, allocations: 151.8 kB / 0.7973 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2694, allocations: 0 / 0.7973 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.2696, allocations: 78.25 kB / 0.7974 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.2702, allocations: 100.9 kB / 0.7975 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.2715, allocations: 0.8994 MB / 0.7984 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.2719, allocations: 0.799 MB / 0.7992 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.272, allocations: 27.44 kB / 0.7992 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.272, allocations: 0 / 0.7992 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.006607/0.2786, allocations: 4.362 MB / 0.8035 GB, free: 9.09 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)