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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7706/0.7706, allocations: 143.4 MB / 159.2 MB, free: 4.879 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 185.6 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 447.3 MB, free: 5.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 107.7 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 274.2 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 83.86 kB / 0.6886 GB, free: 3.793 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2999, allocations: 81.28 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003398/0.3033, allocations: 3.074 MB / 0.771 GB, free: 24.58 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.3054, allocations: 2.101 MB / 0.773 GB, free: 22.47 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.3055, allocations: 8 kB / 0.773 GB, free: 22.46 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.3067, allocations: 486 kB / 0.7735 GB, free: 21.99 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.307, allocations: 127.2 kB / 0.7736 GB, free: 21.86 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001014/0.3071, allocations: 51.91 kB / 0.7736 GB, free: 21.81 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.3075, allocations: 476.8 kB / 0.7741 GB, free: 21.35 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.3077, allocations: 131.8 kB / 0.7742 GB, free: 21.21 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.3078, allocations: 143.3 kB / 0.7744 GB, free: 21.07 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.308, allocations: 187.1 kB / 0.7745 GB, free: 20.89 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.308, allocations: 24 kB / 0.7746 GB, free: 20.87 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.3081, allocations: 24 kB / 0.7746 GB, free: 20.84 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.742e-05/0.3082, allocations: 87.61 kB / 0.7747 GB, free: 20.76 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.3083, allocations: 203 kB / 0.7749 GB, free: 20.56 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.3087, allocations: 0.5333 MB / 0.7754 GB, free: 20.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3087, allocations: 0 / 0.7754 GB, free: 20.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.3087, allocations: 0 / 0.7754 GB, free: 20.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3087, allocations: 0 / 0.7754 GB, free: 20.02 MB / 458.7 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.0008959/0.3096, allocations: 0.7007 MB / 0.7761 GB, free: 19.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3096, allocations: 12.03 kB / 0.7761 GB, free: 19.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.3097, allocations: 44.38 kB / 0.7761 GB, free: 19.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.3101, allocations: 386 kB / 0.7765 GB, free: 18.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3101, allocations: 16.81 kB / 0.7765 GB, free: 18.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.3101, allocations: 20.38 kB / 0.7765 GB, free: 18.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.3105, allocations: 207.6 kB / 0.7767 GB, free: 18.56 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3105, allocations: 0 / 0.7767 GB, free: 18.56 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3105, allocations: 8 kB / 0.7767 GB, free: 18.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3105, allocations: 12 kB / 0.7767 GB, free: 18.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.3109, allocations: 161.6 kB / 0.7769 GB, free: 18.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009093/0.3118, allocations: 0.8661 MB / 0.7777 GB, free: 17.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.312, allocations: 155.7 kB / 0.7779 GB, free: 17.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.3122, allocations: 109.8 kB / 0.778 GB, free: 17.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3123, allocations: 4 kB / 0.778 GB, free: 17.17 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.3123, allocations: 42.5 kB / 0.778 GB, free: 17.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.213e-06/0.3123, allocations: 0 / 0.778 GB, free: 17.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005209/0.3128, allocations: 254.5 kB / 0.7783 GB, free: 16.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3129, allocations: 51.41 kB / 0.7783 GB, free: 16.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.3132, allocations: 429.6 kB / 0.7787 GB, free: 16.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.3132, allocations: 29.7 kB / 0.7788 GB, free: 16.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.3133, allocations: 204.2 kB / 0.779 GB, free: 16.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.3134, allocations: 63.09 kB / 0.779 GB, free: 16.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.3134, allocations: 33.72 kB / 0.7791 GB, free: 16.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.3135, allocations: 346.8 kB / 0.7794 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3136, allocations: 55.95 kB / 0.7794 GB, free: 15.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3137, allocations: 62.72 kB / 0.7795 GB, free: 15.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.314, allocations: 136.7 kB / 0.7796 GB, free: 15.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.314, allocations: 0 / 0.7796 GB, free: 15.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003051/0.3143, allocations: 203.2 kB / 0.7798 GB, free: 15.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3143, allocations: 7.984 kB / 0.7798 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3143, allocations: 0 / 0.7798 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3143, allocations: 7.938 kB / 0.7798 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.3146, allocations: 59.91 kB / 0.7799 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3146, allocations: 0 / 0.7799 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.3147, allocations: 23.83 kB / 0.7799 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.3148, allocations: 0 / 0.7799 GB, free: 15.14 MB / 458.7 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.0001093/0.3149, allocations: 166.4 kB / 0.7801 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.3149, allocations: 39.53 kB / 0.7801 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.472e-05/0.315, allocations: 47.53 kB / 0.7802 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.315, allocations: 0 / 0.7802 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.315, allocations: 0 / 0.7802 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.315, allocations: 0 / 0.7802 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.3153, allocations: 381.2 kB / 0.7805 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3153, allocations: 3.938 kB / 0.7805 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.3156, allocations: 51.91 kB / 0.7806 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3156, allocations: 0 / 0.7806 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3156, allocations: 11.94 kB / 0.7806 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3156, allocations: 0 / 0.7806 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3156, allocations: 4 kB / 0.7806 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.318, allocations: 2.226 MB / 0.7828 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.3181, allocations: 116.7 kB / 0.7829 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.3181, allocations: 4 kB / 0.7829 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.3183, allocations: 11.98 kB / 0.7829 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.3184, allocations: 11.98 kB / 0.7829 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3184, allocations: 4.094 kB / 0.7829 GB, free: 11.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002558/0.3186, allocations: 311.1 kB / 0.7832 GB, free: 11.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3186, allocations: 0 / 0.7832 GB, free: 11.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003936/0.319, allocations: 119.8 kB / 0.7833 GB, free: 11.44 MB / 458.7 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 0.0001284/0.3192, allocations: 115.1 kB / 0.7834 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.3195, allocations: 139.9 kB / 0.7836 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3195, allocations: 0 / 0.7836 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.3196, allocations: 81.92 kB / 0.7836 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.3203, allocations: 88.55 kB / 0.7837 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3214, allocations: 1.043 MB / 0.7847 GB, free: 9.938 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.3216, allocations: 0.7992 MB / 0.7855 GB, free: 9.113 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.3217, allocations: 38.95 kB / 0.7856 GB, free: 9.074 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.3218, allocations: 27.44 kB / 0.7856 GB, free: 9.047 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3218, allocations: 0 / 0.7856 GB, free: 9.047 MB / 458.7 MB Notification: Performance of Templates: time 0.006209/0.328, allocations: 4.13 MB / 0.7896 GB, free: 5.027 MB / 458.7 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)