Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009219/0.0009216, allocations: 170.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7306/0.7306, allocations: 130.7 MB / 138.7 MB, free: 3.602 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008693/0.0008693, allocations: 91.19 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.459e-05, allocations: 4 kB / 0.5485 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4785, allocations: 81.56 MB / 0.6282 GB, free: 42.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.6453, allocations: 121 MB / 0.7464 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.6456, allocations: 109.3 kB / 0.7465 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06053/0.7061, allocations: 21.94 MB / 0.7679 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7062, allocations: 0 / 0.7679 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.473e-05/0.7062, allocations: 12 kB / 0.7679 GB, free: 15.59 MB / 0.5573 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.001548/0.7078, allocations: 0.7556 MB / 0.7687 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7079, allocations: 8.031 kB / 0.7687 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.7081, allocations: 75.06 kB / 0.7687 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.7089, allocations: 439 kB / 0.7692 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.7089, allocations: 16 kB / 0.7692 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-05/0.709, allocations: 24 kB / 0.7692 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006102/0.7096, allocations: 310.5 kB / 0.7695 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.7103, allocations: 332 kB / 0.7698 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.7103, allocations: 3.906 kB / 0.7698 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.7103, allocations: 3.938 kB / 0.7698 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.7104, allocations: 12 kB / 0.7698 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.7129, allocations: 1.444 MB / 0.7712 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.7135, allocations: 299 kB / 0.7715 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.7139, allocations: 281.2 kB / 0.7718 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.7139, allocations: 4 kB / 0.7718 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.714, allocations: 40.28 kB / 0.7718 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 2.815e-06/0.714, allocations: 3.938 kB / 0.7718 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.0006535/0.7147, allocations: 317.1 kB / 0.7721 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.7148, allocations: 59.34 kB / 0.7722 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.7153, allocations: 373.2 kB / 0.7726 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.7154, allocations: 25.7 kB / 0.7726 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.7156, allocations: 276.2 kB / 0.7728 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.7157, allocations: 141.9 kB / 0.773 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/0.7158, allocations: 0 / 0.773 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.716, allocations: 354.8 kB / 0.7733 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.7162, allocations: 96.75 kB / 0.7734 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.7163, allocations: 105.1 kB / 0.7735 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.7165, allocations: 118.3 kB / 0.7736 GB, free: 9.527 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7166, allocations: 0 / 0.7736 GB, free: 9.527 MB / 0.5573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005766/0.7171, allocations: 328.5 kB / 0.7739 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.7172, allocations: 13.25 kB / 0.7739 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.7172, allocations: 0 / 0.7739 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.7172, allocations: 0 / 0.7739 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.7178, allocations: 127.9 kB / 0.7741 GB, free: 9.062 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.7178, allocations: 0 / 0.7741 GB, free: 9.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.7182, allocations: 43.75 kB / 0.7741 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.7182, allocations: 15.89 kB / 0.7741 GB, free: 9.004 MB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.7183, allocations: 108.9 kB / 0.7742 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.7185, allocations: 43.44 kB / 0.7743 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.7186, allocations: 52.91 kB / 0.7743 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.7186, allocations: 4 kB / 0.7743 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.7186, allocations: 0 / 0.7743 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.7186, allocations: 11.98 kB / 0.7743 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007924/0.7194, allocations: 0.4975 MB / 0.7748 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7195, allocations: 0 / 0.7748 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.72, allocations: 123.9 kB / 0.7749 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.72, allocations: 4 kB / 0.7749 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.7201, allocations: 4 kB / 0.7749 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7201, allocations: 4 kB / 0.775 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.7201, allocations: 3.984 kB / 0.775 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008833/0.721, allocations: 0.573 MB / 0.7755 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.7211, allocations: 124.4 kB / 0.7756 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.864e-05/0.7212, allocations: 7.984 kB / 0.7756 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.7215, allocations: 19.92 kB / 0.7757 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.7215, allocations: 31.95 kB / 0.7757 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.7216, allocations: 12 kB / 0.7757 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003927/0.722, allocations: 299 kB / 0.776 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.01e-07/0.722, allocations: 0 / 0.776 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000545/0.7225, allocations: 135.5 kB / 0.7761 GB, free: 6.887 MB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005873/0.7231, allocations: 265.5 kB / 0.7764 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.7236, allocations: 279.5 kB / 0.7766 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7236, allocations: 0 / 0.7766 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.7238, allocations: 159.8 kB / 0.7768 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.7243, allocations: 81.78 kB / 0.7769 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.7261, allocations: 0.8892 MB / 0.7777 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.7266, allocations: 0.8821 MB / 0.7786 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002026/0.7268, allocations: 43.38 kB / 0.7786 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.822e-05/0.7269, allocations: 39.38 kB / 0.7787 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of SimCode: time 6.22e-07/0.7269, allocations: 0 / 0.7787 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of Templates: time 0.01185/0.7388, allocations: 4.835 MB / 0.7834 GB, free: 15.46 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)