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.001425/0.001426, allocations: 101.3 kB / 16.27 MB, free: 6.418 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.001551/0.001551, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.449/1.449, 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.839/1.839, allocations: 292.3 MB / 0.5495 GB, free: 17.71 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.001698/0.001698, allocations: 67.19 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2669, allocations: 114.5 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00567/0.2727, allocations: 3.04 MB / 0.787 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4403/0.713, allocations: 2.172 MB / 0.7891 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003168/0.7134, allocations: 5.969 kB / 0.7892 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.715, allocations: 0.5005 MB / 0.7896 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.7153, allocations: 149.5 kB / 0.7898 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.7155, allocations: 61.42 kB / 0.7898 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.7159, allocations: 445.6 kB / 0.7903 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.7162, allocations: 148.5 kB / 0.7904 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.7164, allocations: 162 kB / 0.7906 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.7166, allocations: 180.5 kB / 0.7907 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.176e-05/0.7167, allocations: 36.28 kB / 0.7908 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.7168, allocations: 34.12 kB / 0.7908 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.7169, allocations: 93.81 kB / 0.7909 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.7171, allocations: 220.3 kB / 0.7911 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.7175, allocations: 0.5352 MB / 0.7916 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7175, allocations: 3.031 kB / 0.7916 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7175, allocations: 1.719 kB / 0.7916 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.7176, allocations: 0 / 0.7916 GB, free: 45.75 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009881/0.7186, allocations: 0.702 MB / 0.7923 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.7186, allocations: 10.28 kB / 0.7923 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.7187, allocations: 48.59 kB / 0.7924 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.7192, allocations: 374.2 kB / 0.7927 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.7192, allocations: 15.88 kB / 0.7927 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.7192, allocations: 21.12 kB / 0.7928 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.7196, allocations: 203.3 kB / 0.793 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.7197, allocations: 3.938 kB / 0.793 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.7197, allocations: 6.156 kB / 0.793 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.7197, allocations: 6.938 kB / 0.793 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.7201, allocations: 173.6 kB / 0.7931 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.7211, allocations: 0.8677 MB / 0.794 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.7214, allocations: 155 kB / 0.7941 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.7216, allocations: 112.2 kB / 0.7942 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.7217, allocations: 0.5 kB / 0.7942 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.7217, allocations: 40.34 kB / 0.7943 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.7217, allocations: 0 / 0.7943 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005976/0.7223, allocations: 257.2 kB / 0.7945 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.7224, allocations: 53.34 kB / 0.7946 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.7228, allocations: 418.6 kB / 0.795 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.7228, allocations: 33.61 kB / 0.795 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.7229, allocations: 203.1 kB / 0.7952 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.723, allocations: 69.92 kB / 0.7953 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.723, allocations: 33.62 kB / 0.7953 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7232, allocations: 346.6 kB / 0.7956 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.7233, allocations: 58.19 kB / 0.7957 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.7234, allocations: 58.42 kB / 0.7957 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.7237, allocations: 137 kB / 0.7959 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7237, allocations: 0 / 0.7959 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003438/0.7241, allocations: 209.8 kB / 0.7961 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7241, allocations: 5.125 kB / 0.7961 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7241, allocations: 2.312 kB / 0.7961 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.7241, allocations: 8.156 kB / 0.7961 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.7244, allocations: 54.3 kB / 0.7961 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.7244, allocations: 4 kB / 0.7961 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.7246, allocations: 20.92 kB / 0.7962 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.7246, allocations: 5.188 kB / 0.7962 GB, free: 43.63 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 (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.000136/0.7247, allocations: 163.5 kB / 0.7963 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.7248, allocations: 38.58 kB / 0.7964 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.777e-05/0.7249, allocations: 41.34 kB / 0.7964 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.7249, allocations: 3.938 kB / 0.7964 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.7249, allocations: 0 / 0.7964 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7249, allocations: 3 kB / 0.7964 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.7253, allocations: 383.6 kB / 0.7968 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7253, allocations: 0 / 0.7968 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.7255, allocations: 57.17 kB / 0.7968 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.7256, allocations: 3.781 kB / 0.7968 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.7256, allocations: 3.125 kB / 0.7968 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.7256, allocations: 3.938 kB / 0.7968 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7256, allocations: 3.5 kB / 0.7968 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.7262, allocations: 374.9 kB / 0.7972 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.7262, allocations: 111.8 kB / 0.7973 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.7263, allocations: 7.406 kB / 0.7973 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.7265, allocations: 12.98 kB / 0.7973 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.7265, allocations: 10.05 kB / 0.7973 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.7265, allocations: 5 kB / 0.7973 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002874/0.7268, allocations: 304.9 kB / 0.7976 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7268, allocations: 4.062 kB / 0.7976 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003121/0.7271, allocations: 73.25 kB / 0.7977 GB, free: 42.91 MB / 0.6544 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.0001448/0.7273, allocations: 115.2 kB / 0.7978 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.7277, allocations: 151.5 kB / 0.798 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7277, allocations: 0 / 0.798 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.7279, allocations: 84.27 kB / 0.798 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.7285, allocations: 87.83 kB / 0.7981 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.7297, allocations: 0.7889 MB / 0.7989 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.73, allocations: 0.7961 MB / 0.7997 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.7301, allocations: 30.09 kB / 0.7997 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/0.7301, allocations: 0 / 0.7997 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.01089/0.741, allocations: 4.362 MB / 0.804 GB, free: 41.43 MB / 0.6544 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)