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.001733/0.001733, allocations: 101 kB / 16.26 MB, free: 5.93 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.001772/0.001772, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.511/1.511, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8154/0.8154, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 0.4958 GB, free: 2.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3748, allocations: 78.86 MB / 0.5728 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00528/0.3801, allocations: 4.13 MB / 0.5768 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.3839, allocations: 2.408 MB / 0.5792 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004578/0.3844, allocations: 9.625 kB / 0.5792 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.3862, allocations: 0.5677 MB / 0.5797 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005869/0.3868, allocations: 243.5 kB / 0.58 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3871, allocations: 134.1 kB / 0.5801 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007308/0.3878, allocations: 0.8011 MB / 0.5809 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.3883, allocations: 327 kB / 0.5812 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.3886, allocations: 289.7 kB / 0.5815 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.389, allocations: 330 kB / 0.5818 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3891, allocations: 73.53 kB / 0.5819 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.3892, allocations: 75.47 kB / 0.5819 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.3894, allocations: 169.8 kB / 0.5821 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.3897, allocations: 387.6 kB / 0.5825 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007149/0.3904, allocations: 0.9869 MB / 0.5834 GB, free: 23.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.3904, allocations: 0 / 0.5834 GB, free: 23.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3904, allocations: 0 / 0.5834 GB, free: 23.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3905, allocations: 0 / 0.5834 GB, free: 23.38 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.001293/0.3918, allocations: 0.948 MB / 0.5844 GB, free: 22.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3918, allocations: 9.25 kB / 0.5844 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.3919, allocations: 78.28 kB / 0.5844 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.3925, allocations: 451.8 kB / 0.5849 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.3925, allocations: 38.16 kB / 0.5849 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.3926, allocations: 50.69 kB / 0.585 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.3933, allocations: 424.8 kB / 0.5854 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3933, allocations: 5.484 kB / 0.5854 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.3934, allocations: 19.75 kB / 0.5854 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.3934, allocations: 16.16 kB / 0.5854 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.394, allocations: 365.2 kB / 0.5857 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.396, allocations: 1.536 MB / 0.5872 GB, free: 20.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.3965, allocations: 344.7 kB / 0.5876 GB, free: 20.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.397, allocations: 323.2 kB / 0.5879 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.397, allocations: 5.125 kB / 0.5879 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.397, allocations: 36.72 kB / 0.5879 GB, free: 20.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.124e-06/0.397, allocations: 1.375 kB / 0.5879 GB, free: 20.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009847/0.398, allocations: 0.4905 MB / 0.5884 GB, free: 19.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3981, allocations: 59.88 kB / 0.5885 GB, free: 19.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/0.3986, allocations: 485.6 kB / 0.5889 GB, free: 19.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3987, allocations: 36.64 kB / 0.589 GB, free: 19.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.3988, allocations: 271.2 kB / 0.5892 GB, free: 19.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.805e-05/0.3989, allocations: 146.5 kB / 0.5894 GB, free: 19.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.399, allocations: 62.02 kB / 0.5894 GB, free: 19.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.3991, allocations: 364.8 kB / 0.5898 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.3994, allocations: 125.9 kB / 0.5899 GB, free: 18.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.3997, allocations: 121.5 kB / 0.59 GB, free: 18.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.4002, allocations: 300.6 kB / 0.5903 GB, free: 18.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4002, allocations: 0 / 0.5903 GB, free: 18.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006158/0.4008, allocations: 402.5 kB / 0.5907 GB, free: 18.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4009, allocations: 4.406 kB / 0.5907 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4009, allocations: 1.156 kB / 0.5907 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4009, allocations: 1.781 kB / 0.5907 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.4014, allocations: 124.6 kB / 0.5908 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4014, allocations: 6.938 kB / 0.5908 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.4017, allocations: 37.58 kB / 0.5908 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.4017, allocations: 10.94 kB / 0.5908 GB, free: 18.18 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.0001828/0.4019, allocations: 197.8 kB / 0.591 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.402, allocations: 48.44 kB / 0.5911 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.4021, allocations: 65.09 kB / 0.5911 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4021, allocations: 4.469 kB / 0.5912 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4021, allocations: 0 / 0.5912 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.4021, allocations: 3.984 kB / 0.5912 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.4027, allocations: 0.5785 MB / 0.5917 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4027, allocations: 5.469 kB / 0.5917 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.4032, allocations: 132 kB / 0.5919 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4032, allocations: 3.375 kB / 0.5919 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.4033, allocations: 5.375 kB / 0.5919 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4033, allocations: 2.469 kB / 0.5919 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4033, allocations: 0.9688 kB / 0.5919 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009542/0.4042, allocations: 0.6609 MB / 0.5925 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.4043, allocations: 126.2 kB / 0.5926 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.4044, allocations: 10.59 kB / 0.5926 GB, free: 16.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.4046, allocations: 9.031 kB / 0.5926 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.4047, allocations: 28.67 kB / 0.5927 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.4047, allocations: 10.5 kB / 0.5927 GB, free: 16.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003759/0.4051, allocations: 347.5 kB / 0.593 GB, free: 16.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4051, allocations: 0.5938 kB / 0.593 GB, free: 16.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000476/0.4056, allocations: 149.6 kB / 0.5932 GB, free: 16.61 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.0001577/0.4058, allocations: 114.6 kB / 0.5933 GB, free: 16.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006304/0.4064, allocations: 337.1 kB / 0.5936 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4064, allocations: 3.938 kB / 0.5936 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.4067, allocations: 180.5 kB / 0.5938 GB, free: 16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.4074, allocations: 125.1 kB / 0.5939 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.409, allocations: 1.207 MB / 0.5951 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.4092, allocations: 0.8665 MB / 0.5959 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.4094, allocations: 52.36 kB / 0.596 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.4095, allocations: 35.44 kB / 0.596 GB, free: 13.68 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4095, allocations: 0 / 0.596 GB, free: 13.68 MB / 446.1 MB Notification: Performance of Templates: time 0.009708/0.4192, allocations: 5.933 MB / 0.6018 GB, free: 7.898 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)