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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.0009356/0.0009359, allocations: 174.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7422/0.7422, allocations: 133.6 MB / 141.6 MB, free: 2.914 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.44/1.44, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.001006/0.001006, allocations: 95.08 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.977e-05, allocations: 8 kB / 0.5535 GB, free: 9.043 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4725, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.6306, allocations: 121.3 MB / 0.7523 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.6309, allocations: 107.9 kB / 0.7524 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.05792/0.6889, allocations: 21.93 MB / 0.7738 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6889, allocations: 7.938 kB / 0.7738 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.6889, allocations: 12 kB / 0.7738 GB, free: 11.38 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.001033/0.69, allocations: 0.7556 MB / 0.7746 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.69, allocations: 8.031 kB / 0.7746 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.6901, allocations: 75.06 kB / 0.7746 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.6907, allocations: 431 kB / 0.7751 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.6907, allocations: 16 kB / 0.7751 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.6908, allocations: 28 kB / 0.7751 GB, free: 9.984 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005371/0.6913, allocations: 302.6 kB / 0.7754 GB, free: 9.688 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.692, allocations: 340 kB / 0.7757 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.692, allocations: 11.84 kB / 0.7757 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.692, allocations: 0 / 0.7757 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.6921, allocations: 12 kB / 0.7757 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.694, allocations: 1.437 MB / 0.7771 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.6945, allocations: 303 kB / 0.7774 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.6949, allocations: 280.5 kB / 0.7777 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.6949, allocations: 4 kB / 0.7777 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.695, allocations: 34.56 kB / 0.7777 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 4.188e-06/0.695, allocations: 7.984 kB / 0.7777 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.0006219/0.6956, allocations: 317.3 kB / 0.778 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.6957, allocations: 55.41 kB / 0.7781 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.6962, allocations: 373.3 kB / 0.7784 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.6962, allocations: 25.7 kB / 0.7785 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.6964, allocations: 272.2 kB / 0.7787 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6965, allocations: 141.9 kB / 0.7789 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.6966, allocations: 0 / 0.7789 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6967, allocations: 362.8 kB / 0.7792 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.6969, allocations: 96.75 kB / 0.7793 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.6971, allocations: 104.9 kB / 0.7794 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.6973, allocations: 121.8 kB / 0.7795 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6973, allocations: 0 / 0.7795 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004796/0.6977, allocations: 333 kB / 0.7798 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.6978, allocations: 4 kB / 0.7798 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6978, allocations: 4.703 kB / 0.7798 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.6978, allocations: 4 kB / 0.7799 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.6984, allocations: 127.9 kB / 0.78 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.6984, allocations: 4 kB / 0.78 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.6987, allocations: 35.75 kB / 0.78 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.6987, allocations: 12 kB / 0.78 GB, free: 4.797 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 9.319e-05/0.6988, allocations: 112.9 kB / 0.7801 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.6989, allocations: 51.38 kB / 0.7802 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.699, allocations: 48.97 kB / 0.7802 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.699, allocations: 4 kB / 0.7802 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.699, allocations: 0 / 0.7802 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.699, allocations: 3.984 kB / 0.7802 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.6996, allocations: 0.4937 MB / 0.7807 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6996, allocations: 0 / 0.7807 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.7002, allocations: 131.9 kB / 0.7808 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.7002, allocations: 0 / 0.7808 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.7002, allocations: 4 kB / 0.7808 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.7002, allocations: 4 kB / 0.7808 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.7003, allocations: 3.984 kB / 0.7809 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.701, allocations: 0.5728 MB / 0.7814 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.7012, allocations: 132.4 kB / 0.7815 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.7012, allocations: 3.984 kB / 0.7815 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.7015, allocations: 19.89 kB / 0.7816 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.7016, allocations: 23.97 kB / 0.7816 GB, free: 3.113 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.7016, allocations: 8 kB / 0.7816 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004196/0.7021, allocations: 299 kB / 0.7819 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7021, allocations: 0 / 0.7819 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005501/0.7026, allocations: 139.5 kB / 0.782 GB, free: 2.68 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.0006091/0.7032, allocations: 266.9 kB / 0.7823 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005384/0.7038, allocations: 279.8 kB / 0.7825 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.7038, allocations: 4 kB / 0.7825 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.7041, allocations: 159.6 kB / 0.7827 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.7047, allocations: 85.66 kB / 0.7828 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.7063, allocations: 0.888 MB / 0.7836 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.7067, allocations: 0.8821 MB / 0.7845 GB, free: 76 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.7069, allocations: 51.36 kB / 0.7845 GB, free: 24 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.811e-05/0.707, allocations: 31.48 kB / 0.7846 GB, free: 15.99 MB / 0.573 GB Notification: Performance of SimCode: time 4.11e-07/0.707, allocations: 0 / 0.7846 GB, free: 15.99 MB / 0.573 GB Notification: Performance of Templates: time 0.009542/0.7166, allocations: 4.841 MB / 0.7893 GB, free: 11.24 MB / 0.573 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)