Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.009849/0.00985, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002267/0.002268, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.6 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.89 kB / 0.5863 GB, free: 2.652 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3785, allocations: 81.01 MB / 0.6654 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004218/0.3827, allocations: 4.145 MB / 0.6694 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002813/0.3856, allocations: 2.404 MB / 0.6718 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.3859, allocations: 13.03 kB / 0.6718 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.3875, allocations: 0.5406 MB / 0.6723 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.388, allocations: 247 kB / 0.6726 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.3882, allocations: 139.3 kB / 0.6727 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006726/0.3889, allocations: 0.8119 MB / 0.6735 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.3893, allocations: 333.7 kB / 0.6738 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.3896, allocations: 288.1 kB / 0.6741 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.3899, allocations: 332.1 kB / 0.6744 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.577e-05/0.39, allocations: 74.78 kB / 0.6745 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3901, allocations: 79.16 kB / 0.6746 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3902, allocations: 170.1 kB / 0.6747 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.3905, allocations: 382.7 kB / 0.6751 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009747/0.3915, allocations: 0.9986 MB / 0.6761 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3915, allocations: 0 / 0.6761 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.216e-06/0.3915, allocations: 0 / 0.6761 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.3915, allocations: 5.094 kB / 0.6761 GB, free: 15.19 MB / 0.5137 GB 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.001545/0.3931, allocations: 0.9671 MB / 0.677 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3931, allocations: 13.03 kB / 0.677 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.3933, allocations: 76.28 kB / 0.6771 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/0.394, allocations: 460 kB / 0.6775 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.394, allocations: 37.75 kB / 0.6776 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.3941, allocations: 49.97 kB / 0.6776 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.3949, allocations: 427.9 kB / 0.678 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.3949, allocations: 0 / 0.678 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.395, allocations: 20.38 kB / 0.678 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.395, allocations: 19.81 kB / 0.6781 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.3957, allocations: 367.9 kB / 0.6784 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.398, allocations: 1.518 MB / 0.6799 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.3986, allocations: 347.9 kB / 0.6802 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.3991, allocations: 332.8 kB / 0.6805 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.3991, allocations: 4.344 kB / 0.6805 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3992, allocations: 37.09 kB / 0.6806 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.553e-06/0.3992, allocations: 3.938 kB / 0.6806 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.001082/0.4003, allocations: 0.4929 MB / 0.6811 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.4003, allocations: 60.39 kB / 0.6811 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.401, allocations: 485.9 kB / 0.6816 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.401, allocations: 30.92 kB / 0.6816 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.4012, allocations: 275.4 kB / 0.6819 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.4014, allocations: 155.7 kB / 0.682 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4015, allocations: 61.7 kB / 0.6821 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4017, allocations: 366.5 kB / 0.6824 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.402, allocations: 121.7 kB / 0.6826 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.4022, allocations: 121 kB / 0.6827 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.4028, allocations: 300.6 kB / 0.683 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4028, allocations: 5.625 kB / 0.683 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006959/0.4035, allocations: 400.5 kB / 0.6833 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4035, allocations: 9.125 kB / 0.6834 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.4035, allocations: 0 / 0.6834 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.4036, allocations: 1.438 kB / 0.6834 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.4041, allocations: 124.1 kB / 0.6835 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4041, allocations: 2.844 kB / 0.6835 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.4044, allocations: 32.27 kB / 0.6835 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.4044, allocations: 19.27 kB / 0.6835 GB, free: 9.902 MB / 0.5137 GB 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.0002499/0.4047, allocations: 197.5 kB / 0.6837 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.599e-05/0.4048, allocations: 51.27 kB / 0.6838 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.4049, allocations: 63.69 kB / 0.6838 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.405, allocations: 8.266 kB / 0.6838 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.405, allocations: 0 / 0.6838 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.405, allocations: 3.984 kB / 0.6838 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.4057, allocations: 0.5826 MB / 0.6844 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4057, allocations: 0 / 0.6844 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.4063, allocations: 132.4 kB / 0.6845 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4063, allocations: 1.469 kB / 0.6845 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.4063, allocations: 6.906 kB / 0.6845 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.4063, allocations: 1.656 kB / 0.6845 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4063, allocations: 0 / 0.6845 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.4074, allocations: 0.6531 MB / 0.6852 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.4075, allocations: 140.2 kB / 0.6853 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.4076, allocations: 10.5 kB / 0.6853 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.4078, allocations: 9 kB / 0.6853 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.4079, allocations: 27.61 kB / 0.6854 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.4079, allocations: 10.53 kB / 0.6854 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004427/0.4084, allocations: 348.5 kB / 0.6857 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4084, allocations: 0 / 0.6857 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004744/0.4089, allocations: 152 kB / 0.6858 GB, free: 8.316 MB / 0.5137 GB 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.0001803/0.4091, allocations: 118 kB / 0.686 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006777/0.4098, allocations: 324.1 kB / 0.6863 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4098, allocations: 0 / 0.6863 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.4101, allocations: 180.1 kB / 0.6864 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.4108, allocations: 135.5 kB / 0.6866 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.4129, allocations: 1.196 MB / 0.6877 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.4134, allocations: 0.8754 MB / 0.6886 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.4137, allocations: 49.25 kB / 0.6886 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.4138, allocations: 36.06 kB / 0.6887 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.4138, allocations: 0 / 0.6887 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of Templates: time 0.01273/0.4265, allocations: 6.027 MB / 0.6946 GB, free: 2.973 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)