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.001595/0.001595, allocations: 102 kB / 15.98 MB, free: 6.348 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.002128/0.002128, allocations: 199 kB / 16.91 MB, free: 6.191 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7787/0.7787, allocations: 126.1 MB / 416.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 0.4945 GB, free: 3.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3337, allocations: 78.7 MB / 0.5714 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004668/0.3384, allocations: 4.151 MB / 0.5754 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.3414, allocations: 2.369 MB / 0.5777 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.3417, allocations: 10.12 kB / 0.5777 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.3433, allocations: 0.5211 MB / 0.5782 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.3438, allocations: 212.8 kB / 0.5784 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.3441, allocations: 120.6 kB / 0.5786 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007134/0.3448, allocations: 0.8026 MB / 0.5793 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.3452, allocations: 328.2 kB / 0.5797 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.3456, allocations: 296.5 kB / 0.5799 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.3459, allocations: 332.3 kB / 0.5803 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.698e-05/0.346, allocations: 75.47 kB / 0.5803 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3461, allocations: 78.47 kB / 0.5804 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.3462, allocations: 170.6 kB / 0.5806 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.3465, allocations: 386.9 kB / 0.5809 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006203/0.3472, allocations: 0.981 MB / 0.5819 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3472, allocations: 0.7188 kB / 0.5819 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3472, allocations: 0 / 0.5819 GB, free: 24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3472, allocations: 5.344 kB / 0.5819 GB, free: 24 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.001256/0.3485, allocations: 0.9523 MB / 0.5828 GB, free: 23.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3485, allocations: 9.781 kB / 0.5828 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.3486, allocations: 74.25 kB / 0.5829 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.3491, allocations: 453.6 kB / 0.5833 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3491, allocations: 36.53 kB / 0.5834 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.3492, allocations: 50.81 kB / 0.5834 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.3499, allocations: 424.6 kB / 0.5838 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3499, allocations: 0 / 0.5838 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.3499, allocations: 23.95 kB / 0.5839 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.35, allocations: 13.03 kB / 0.5839 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.3506, allocations: 364.4 kB / 0.5842 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.3524, allocations: 1.533 MB / 0.5857 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.3529, allocations: 341.2 kB / 0.586 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.3533, allocations: 320.8 kB / 0.5863 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.3534, allocations: 4.75 kB / 0.5863 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3534, allocations: 37.28 kB / 0.5864 GB, free: 20.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.824e-06/0.3534, allocations: 1.5 kB / 0.5864 GB, free: 20.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009324/0.3544, allocations: 0.4907 MB / 0.5869 GB, free: 20.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.3544, allocations: 60.22 kB / 0.5869 GB, free: 20.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.355, allocations: 486.4 kB / 0.5874 GB, free: 20.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.355, allocations: 30.95 kB / 0.5874 GB, free: 20.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3551, allocations: 271.1 kB / 0.5877 GB, free: 19.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.3552, allocations: 148.4 kB / 0.5878 GB, free: 19.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.3553, allocations: 64.03 kB / 0.5879 GB, free: 19.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.3554, allocations: 361.1 kB / 0.5882 GB, free: 19.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.3557, allocations: 121.4 kB / 0.5883 GB, free: 19.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3559, allocations: 126.1 kB / 0.5885 GB, free: 19.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.3564, allocations: 303 kB / 0.5887 GB, free: 19.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3564, allocations: 0 / 0.5887 GB, free: 19.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006211/0.357, allocations: 396.9 kB / 0.5891 GB, free: 18.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.357, allocations: 5.875 kB / 0.5891 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3571, allocations: 0 / 0.5891 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3571, allocations: 2.219 kB / 0.5891 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.3576, allocations: 124.9 kB / 0.5893 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3576, allocations: 1.438 kB / 0.5893 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.3579, allocations: 55.72 kB / 0.5893 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.3579, allocations: 16.69 kB / 0.5893 GB, free: 18.8 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.0001867/0.3581, allocations: 207.4 kB / 0.5895 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.3582, allocations: 47.28 kB / 0.5896 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.3583, allocations: 55.42 kB / 0.5896 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3583, allocations: 4.406 kB / 0.5896 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.3583, allocations: 3.984 kB / 0.5896 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3584, allocations: 0 / 0.5896 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.3589, allocations: 0.5796 MB / 0.5902 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.359, allocations: 4.969 kB / 0.5902 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005185/0.3595, allocations: 124.1 kB / 0.5903 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.3595, allocations: 6.547 kB / 0.5903 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.3595, allocations: 11.19 kB / 0.5903 GB, free: 18.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3595, allocations: 2.969 kB / 0.5903 GB, free: 18.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3595, allocations: 0 / 0.5903 GB, free: 18.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009594/0.3605, allocations: 0.6493 MB / 0.591 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.3606, allocations: 131.9 kB / 0.5911 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.3607, allocations: 6.875 kB / 0.5911 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.361, allocations: 28.05 kB / 0.5911 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.361, allocations: 26.83 kB / 0.5912 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3611, allocations: 8.062 kB / 0.5912 GB, free: 17.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003459/0.3614, allocations: 351.4 kB / 0.5915 GB, free: 17.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3614, allocations: 0 / 0.5915 GB, free: 17.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004373/0.3619, allocations: 141 kB / 0.5916 GB, free: 17.23 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.0001222/0.362, allocations: 120.1 kB / 0.5917 GB, free: 17.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006916/0.3627, allocations: 342.3 kB / 0.5921 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3627, allocations: 1.25 kB / 0.5921 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.363, allocations: 184.5 kB / 0.5922 GB, free: 16.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/0.3637, allocations: 130.5 kB / 0.5924 GB, free: 16.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.3654, allocations: 1.416 MB / 0.5938 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3656, allocations: 0.8704 MB / 0.5946 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000196/0.3658, allocations: 60.28 kB / 0.5947 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-05/0.3659, allocations: 35.44 kB / 0.5947 GB, free: 14.52 MB / 446.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3659, allocations: 0 / 0.5947 GB, free: 14.52 MB / 446.1 MB Notification: Performance of Templates: time 0.008779/0.3747, allocations: 5.859 MB / 0.6004 GB, free: 8.812 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)