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.004779/0.004779, allocations: 101.4 kB / 15.88 MB, free: 6.312 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.001161/0.001161, allocations: 193.4 kB / 16.79 MB, free: 6.242 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.284/1.284, allocations: 222.9 MB / 240.5 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.72/0.72, allocations: 122.9 MB / 413.5 MB, free: 92 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 0.4904 GB, free: 7.898 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3306, allocations: 77.92 MB / 0.5665 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004829/0.3354, allocations: 4.165 MB / 0.5706 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.339, allocations: 2.368 MB / 0.5729 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004099/0.3395, allocations: 9.219 kB / 0.5729 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.3411, allocations: 0.4994 MB / 0.5734 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.3416, allocations: 214.9 kB / 0.5736 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.3419, allocations: 120.1 kB / 0.5737 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008471/0.3427, allocations: 0.8078 MB / 0.5745 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.3432, allocations: 281.8 kB / 0.5748 GB, free: 27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.3435, allocations: 260.4 kB / 0.575 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.3439, allocations: 323.7 kB / 0.5754 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.579e-05/0.344, allocations: 47.06 kB / 0.5754 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3441, allocations: 47.09 kB / 0.5754 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.3443, allocations: 146.1 kB / 0.5756 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.3446, allocations: 352.3 kB / 0.5759 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.3457, allocations: 0.9689 MB / 0.5769 GB, free: 26.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3458, allocations: 0.7812 kB / 0.5769 GB, free: 26.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3458, allocations: 1.25 kB / 0.5769 GB, free: 26.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.3458, allocations: 1.75 kB / 0.5769 GB, free: 26.1 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.001571/0.3474, allocations: 0.9483 MB / 0.5778 GB, free: 25.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3474, allocations: 10 kB / 0.5778 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.3475, allocations: 76.69 kB / 0.5779 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.3481, allocations: 454 kB / 0.5783 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3481, allocations: 35.84 kB / 0.5783 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.3482, allocations: 53.86 kB / 0.5784 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.3489, allocations: 429.7 kB / 0.5788 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.349, allocations: 1.375 kB / 0.5788 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.349, allocations: 20.64 kB / 0.5788 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.349, allocations: 11.75 kB / 0.5788 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.3498, allocations: 365.8 kB / 0.5792 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.3519, allocations: 1.533 MB / 0.5807 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.3524, allocations: 344.1 kB / 0.581 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.3529, allocations: 318.5 kB / 0.5813 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.3529, allocations: 4.094 kB / 0.5813 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.353, allocations: 41.59 kB / 0.5814 GB, free: 23.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.465e-06/0.353, allocations: 1.031 kB / 0.5814 GB, free: 23.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009524/0.3539, allocations: 0.495 MB / 0.5818 GB, free: 23.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.354, allocations: 54.41 kB / 0.5819 GB, free: 23.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.3545, allocations: 486.8 kB / 0.5824 GB, free: 22.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.3545, allocations: 30.77 kB / 0.5824 GB, free: 22.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3546, allocations: 274.8 kB / 0.5826 GB, free: 22.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.712e-05/0.3547, allocations: 151.3 kB / 0.5828 GB, free: 22.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.3548, allocations: 60.89 kB / 0.5829 GB, free: 22.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.3549, allocations: 363.3 kB / 0.5832 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.3552, allocations: 115.9 kB / 0.5833 GB, free: 21.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.3554, allocations: 133.1 kB / 0.5834 GB, free: 21.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.3559, allocations: 299.2 kB / 0.5837 GB, free: 21.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3559, allocations: 0 / 0.5837 GB, free: 21.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005903/0.3565, allocations: 392.8 kB / 0.5841 GB, free: 21.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3565, allocations: 8.844 kB / 0.5841 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3565, allocations: 0 / 0.5841 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3566, allocations: 5.234 kB / 0.5841 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.3571, allocations: 128.9 kB / 0.5842 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3571, allocations: 6.344 kB / 0.5842 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3574, allocations: 47.83 kB / 0.5843 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.3574, allocations: 12.19 kB / 0.5843 GB, free: 21.41 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.0001857/0.3576, allocations: 196.6 kB / 0.5845 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/0.3577, allocations: 57.47 kB / 0.5845 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/0.3578, allocations: 67.03 kB / 0.5846 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3578, allocations: 4.25 kB / 0.5846 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.3578, allocations: 0 / 0.5846 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3578, allocations: 1.969 kB / 0.5846 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.3584, allocations: 0.5746 MB / 0.5852 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3584, allocations: 0.6875 kB / 0.5852 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.359, allocations: 130.1 kB / 0.5853 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.359, allocations: 1.375 kB / 0.5853 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.359, allocations: 11 kB / 0.5853 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.359, allocations: 2.5 kB / 0.5853 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.359, allocations: 0 / 0.5853 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.3599, allocations: 0.6499 MB / 0.5859 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3601, allocations: 140.2 kB / 0.5861 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.3601, allocations: 6.781 kB / 0.5861 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.3604, allocations: 31.06 kB / 0.5861 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.3604, allocations: 23.09 kB / 0.5861 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3605, allocations: 12.47 kB / 0.5861 GB, free: 20.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003597/0.3608, allocations: 351.6 kB / 0.5865 GB, free: 19.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3608, allocations: 0.5938 kB / 0.5865 GB, free: 19.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004364/0.3613, allocations: 144.5 kB / 0.5866 GB, free: 19.83 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.0001253/0.3614, allocations: 123.2 kB / 0.5867 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.362, allocations: 317.4 kB / 0.587 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.362, allocations: 0 / 0.587 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.3623, allocations: 185.3 kB / 0.5872 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.363, allocations: 125.3 kB / 0.5873 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.3649, allocations: 1.417 MB / 0.5887 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3652, allocations: 0.8701 MB / 0.5896 GB, free: 17.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.3654, allocations: 53.75 kB / 0.5896 GB, free: 17.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/0.3655, allocations: 39.19 kB / 0.5897 GB, free: 17.65 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3655, allocations: 0.875 kB / 0.5897 GB, free: 17.65 MB / 446.1 MB Notification: Performance of Templates: time 0.009378/0.3749, allocations: 5.602 MB / 0.5951 GB, free: 13.54 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)