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.001516/0.001516, allocations: 108.6 kB / 16.27 MB, free: 6.004 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.001463/0.001463, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.314/1.314, 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/IDEAS 3.0.0-master/package.mo): time 0.7992/0.7992, allocations: 135.2 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.001901, allocations: 67.89 kB / 0.5061 GB, free: 8.293 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3549, allocations: 80.92 MB / 0.5851 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004295/0.3593, allocations: 4.129 MB / 0.5891 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.3621, allocations: 2.41 MB / 0.5915 GB, free: 19.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.3624, allocations: 8 kB / 0.5915 GB, free: 19.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.3637, allocations: 0.543 MB / 0.592 GB, free: 19.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.364, allocations: 244.1 kB / 0.5923 GB, free: 19.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.3642, allocations: 142.2 kB / 0.5924 GB, free: 19.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.3647, allocations: 0.802 MB / 0.5932 GB, free: 18.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.365, allocations: 342.4 kB / 0.5935 GB, free: 17.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.3653, allocations: 283.9 kB / 0.5938 GB, free: 17.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.3655, allocations: 334.6 kB / 0.5941 GB, free: 17.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.34e-05/0.3656, allocations: 73.28 kB / 0.5942 GB, free: 17.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.572e-05/0.3657, allocations: 76 kB / 0.5942 GB, free: 17.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3658, allocations: 171.4 kB / 0.5944 GB, free: 16.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.366, allocations: 378.3 kB / 0.5948 GB, free: 16.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.3665, allocations: 0.9858 MB / 0.5957 GB, free: 15.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3665, allocations: 0 / 0.5957 GB, free: 15.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3666, allocations: 1.125 kB / 0.5957 GB, free: 15.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3666, allocations: 3.938 kB / 0.5957 GB, free: 15.61 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.001074/0.3676, allocations: 0.9645 MB / 0.5967 GB, free: 14.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3677, allocations: 13.11 kB / 0.5967 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.3678, allocations: 72.09 kB / 0.5968 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.3682, allocations: 453.7 kB / 0.5972 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3682, allocations: 33.38 kB / 0.5972 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.3683, allocations: 52.12 kB / 0.5973 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.3689, allocations: 427.5 kB / 0.5977 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.3689, allocations: 4 kB / 0.5977 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.369, allocations: 20.59 kB / 0.5977 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.369, allocations: 14.53 kB / 0.5977 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.3695, allocations: 363.8 kB / 0.5981 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.3711, allocations: 1.537 MB / 0.5996 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.3715, allocations: 349.3 kB / 0.5999 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.3719, allocations: 318.4 kB / 0.6002 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3719, allocations: 7.984 kB / 0.6002 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.3719, allocations: 40.47 kB / 0.6002 GB, free: 10.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.3719, allocations: 0 / 0.6002 GB, free: 10.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007692/0.3727, allocations: 0.4891 MB / 0.6007 GB, free: 10.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.3727, allocations: 56.22 kB / 0.6008 GB, free: 10.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.3731, allocations: 487.1 kB / 0.6012 GB, free: 9.773 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3732, allocations: 33.7 kB / 0.6013 GB, free: 9.734 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3733, allocations: 272.4 kB / 0.6015 GB, free: 9.461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.3734, allocations: 146.7 kB / 0.6017 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/0.3735, allocations: 68.41 kB / 0.6017 GB, free: 9.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.3735, allocations: 358.8 kB / 0.6021 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.3737, allocations: 120.7 kB / 0.6022 GB, free: 8.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3739, allocations: 129.2 kB / 0.6023 GB, free: 8.641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.3743, allocations: 296.1 kB / 0.6026 GB, free: 8.352 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3743, allocations: 0 / 0.6026 GB, free: 8.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005019/0.3748, allocations: 400.9 kB / 0.603 GB, free: 7.953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3749, allocations: 6.359 kB / 0.603 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3749, allocations: 0 / 0.603 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3749, allocations: 4 kB / 0.603 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.3753, allocations: 124.9 kB / 0.6031 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3753, allocations: 0 / 0.6031 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3755, allocations: 37.17 kB / 0.6031 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.3756, allocations: 8 kB / 0.6032 GB, free: 7.781 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.0001614/0.3757, allocations: 206.1 kB / 0.6033 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.3758, allocations: 54.53 kB / 0.6034 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.114e-05/0.3759, allocations: 65.09 kB / 0.6035 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3759, allocations: 4 kB / 0.6035 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3759, allocations: 0 / 0.6035 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3759, allocations: 3.938 kB / 0.6035 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.3764, allocations: 0.5712 MB / 0.604 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3764, allocations: 0 / 0.604 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.3769, allocations: 124.4 kB / 0.6041 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3769, allocations: 4.875 kB / 0.6042 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.3769, allocations: 12 kB / 0.6042 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3769, allocations: 0 / 0.6042 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3769, allocations: 5.219 kB / 0.6042 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.3777, allocations: 0.646 MB / 0.6048 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.3777, allocations: 136.4 kB / 0.6049 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.3778, allocations: 9 kB / 0.6049 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.378, allocations: 15.98 kB / 0.605 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.3781, allocations: 24.47 kB / 0.605 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3781, allocations: 8.688 kB / 0.605 GB, free: 5.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.3784, allocations: 355.1 kB / 0.6053 GB, free: 5.477 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3784, allocations: 0.7188 kB / 0.6053 GB, free: 5.477 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003397/0.3787, allocations: 151.5 kB / 0.6055 GB, free: 5.328 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.0001165/0.3788, allocations: 112.5 kB / 0.6056 GB, free: 5.211 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005858/0.3794, allocations: 349 kB / 0.6059 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3794, allocations: 1.75 kB / 0.6059 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.3797, allocations: 179.8 kB / 0.6061 GB, free: 4.695 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.3803, allocations: 132.5 kB / 0.6062 GB, free: 4.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.3819, allocations: 1.232 MB / 0.6074 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.3821, allocations: 0.8704 MB / 0.6083 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3822, allocations: 39.44 kB / 0.6083 GB, free: 2.398 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3822, allocations: 0 / 0.6083 GB, free: 2.398 MB / 446.1 MB Notification: Performance of Templates: time 0.0092/0.3914, allocations: 6.831 MB / 0.615 GB, free: 11.63 MB / 462.1 MB 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)