Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 105.8 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.00136/0.00136, allocations: 184.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7644/0.7644, allocations: 126.4 MB / 417.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.89 kB / 0.4954 GB, free: 3.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.31, allocations: 78.77 MB / 0.5723 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004423/0.3144, allocations: 4.126 MB / 0.5763 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.3174, allocations: 2.408 MB / 0.5787 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.3178, allocations: 9.625 kB / 0.5787 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.3194, allocations: 0.5629 MB / 0.5792 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.3198, allocations: 240.1 kB / 0.5795 GB, free: 26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.3201, allocations: 135.4 kB / 0.5796 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.3206, allocations: 0.8047 MB / 0.5804 GB, free: 25.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.321, allocations: 318.6 kB / 0.5807 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.3213, allocations: 298.2 kB / 0.581 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.3216, allocations: 332.8 kB / 0.5813 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.3217, allocations: 74.25 kB / 0.5814 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3218, allocations: 75.91 kB / 0.5814 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.3219, allocations: 166.1 kB / 0.5816 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.3222, allocations: 381.6 kB / 0.582 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.3228, allocations: 0.9866 MB / 0.5829 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3228, allocations: 0 / 0.5829 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3228, allocations: 0.625 kB / 0.5829 GB, free: 23.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.3228, allocations: 0 / 0.5829 GB, free: 23.67 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001135/0.324, allocations: 0.9488 MB / 0.5839 GB, free: 22.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.324, allocations: 9.594 kB / 0.5839 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.3241, allocations: 73.81 kB / 0.5839 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.3246, allocations: 453.1 kB / 0.5844 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.3246, allocations: 36.53 kB / 0.5844 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.3247, allocations: 59.56 kB / 0.5845 GB, free: 22.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.3253, allocations: 428.6 kB / 0.5849 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3253, allocations: 1.375 kB / 0.5849 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.3254, allocations: 24.22 kB / 0.5849 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3254, allocations: 10.66 kB / 0.5849 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.326, allocations: 366.2 kB / 0.5852 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3278, allocations: 1.535 MB / 0.5867 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.3282, allocations: 341 kB / 0.5871 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.3287, allocations: 313.8 kB / 0.5874 GB, free: 20.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3287, allocations: 8.297 kB / 0.5874 GB, free: 20.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.3287, allocations: 44.12 kB / 0.5874 GB, free: 20.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.914e-06/0.3287, allocations: 0 / 0.5874 GB, free: 20.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009248/0.3297, allocations: 0.4936 MB / 0.5879 GB, free: 20.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.3297, allocations: 54.94 kB / 0.588 GB, free: 20.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.3302, allocations: 481.3 kB / 0.5884 GB, free: 19.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3302, allocations: 35.48 kB / 0.5884 GB, free: 19.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3303, allocations: 271.8 kB / 0.5887 GB, free: 19.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.3304, allocations: 142.9 kB / 0.5888 GB, free: 19.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.3305, allocations: 61.39 kB / 0.5889 GB, free: 19.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.3306, allocations: 364.1 kB / 0.5892 GB, free: 19.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.3308, allocations: 123.4 kB / 0.5894 GB, free: 18.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.331, allocations: 129 kB / 0.5895 GB, free: 18.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004634/0.3315, allocations: 302.6 kB / 0.5898 GB, free: 18.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3315, allocations: 0 / 0.5898 GB, free: 18.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005926/0.3321, allocations: 396.8 kB / 0.5902 GB, free: 18.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3321, allocations: 5.438 kB / 0.5902 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3321, allocations: 0 / 0.5902 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3322, allocations: 2.781 kB / 0.5902 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.3327, allocations: 125 kB / 0.5903 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3327, allocations: 2.656 kB / 0.5903 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.3329, allocations: 40.83 kB / 0.5903 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.3329, allocations: 12.77 kB / 0.5903 GB, free: 18.48 MB / 446.1 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 (46): * Single equations (assignments): 46 * 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.0001708/0.3331, allocations: 205.8 kB / 0.5905 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.3332, allocations: 46.91 kB / 0.5906 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.527e-05/0.3333, allocations: 62.7 kB / 0.5906 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3333, allocations: 6.531 kB / 0.5906 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3333, allocations: 0 / 0.5906 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3333, allocations: 3.984 kB / 0.5906 GB, free: 18.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.3338, allocations: 0.5865 MB / 0.5912 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3338, allocations: 0 / 0.5912 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.3343, allocations: 126.1 kB / 0.5913 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3344, allocations: 1.312 kB / 0.5913 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3344, allocations: 11.38 kB / 0.5914 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3344, allocations: 1.25 kB / 0.5914 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3344, allocations: 2.719 kB / 0.5914 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.3353, allocations: 0.656 MB / 0.592 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.3354, allocations: 128.1 kB / 0.5921 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.3354, allocations: 9.438 kB / 0.5921 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.3356, allocations: 12.7 kB / 0.5921 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.3357, allocations: 24.72 kB / 0.5922 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3357, allocations: 11.38 kB / 0.5922 GB, free: 17.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003321/0.3361, allocations: 351.4 kB / 0.5925 GB, free: 16.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3361, allocations: 0 / 0.5925 GB, free: 16.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.3365, allocations: 149.6 kB / 0.5927 GB, free: 16.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001294/0.3366, allocations: 118.9 kB / 0.5928 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006614/0.3373, allocations: 340.9 kB / 0.5931 GB, free: 16.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3373, allocations: 1.031 kB / 0.5931 GB, free: 16.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.3376, allocations: 180.8 kB / 0.5933 GB, free: 16.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.3382, allocations: 134.2 kB / 0.5934 GB, free: 16.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3397, allocations: 1.208 MB / 0.5946 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.34, allocations: 0.8665 MB / 0.5954 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.3401, allocations: 48.36 kB / 0.5955 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.3402, allocations: 35.44 kB / 0.5955 GB, free: 14.09 MB / 446.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3402, allocations: 0 / 0.5955 GB, free: 14.09 MB / 446.1 MB Notification: Performance of Templates: time 0.009078/0.3493, allocations: 5.933 MB / 0.6013 GB, free: 8.309 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)