Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009423/0.009423, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7718/0.7718, allocations: 135.2 MB / 151.1 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.2 MB / 406.9 MB, free: 3.137 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.001024/0.001024, allocations: 92.48 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 11.98 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4881, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.6631, allocations: 132.3 MB / 0.7787 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.6635, allocations: 123.9 kB / 0.7788 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04474/0.7083, allocations: 15.42 MB / 0.7939 GB, free: 92 kB / 0.5573 GB Notification: Performance of FrontEnd: time 3.576e-06/0.7083, allocations: 0 / 0.7939 GB, free: 92 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.7084, allocations: 0 / 0.7939 GB, free: 92 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.4204/1.129, allocations: 0.5652 MB / 0.7944 GB, free: 132 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.129, allocations: 9.531 kB / 0.7944 GB, free: 132 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/1.129, allocations: 81.59 kB / 0.7945 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/1.129, allocations: 250.4 kB / 0.7948 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/1.129, allocations: 152 kB / 0.7949 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/1.129, allocations: 153 kB / 0.7951 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.997e-05/1.129, allocations: 107.3 kB / 0.7952 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/1.129, allocations: 75.8 kB / 0.7952 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/1.129, allocations: 151.9 kB / 0.7954 GB, free: 131 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/1.129, allocations: 151.8 kB / 0.7955 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/1.129, allocations: 152.4 kB / 0.7957 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/1.13, allocations: 476.8 kB / 0.7961 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.117e-05/1.13, allocations: 171.4 kB / 0.7963 GB, free: 130 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/1.13, allocations: 75.28 kB / 0.7964 GB, free: 130 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.13, allocations: 108.2 kB / 0.7965 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/1.13, allocations: 4.25 kB / 0.7965 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.418e-05/1.13, allocations: 30.88 kB / 0.7965 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.13, allocations: 127.5 kB / 0.7966 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/1.13, allocations: 123.8 kB / 0.7967 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/1.13, allocations: 27.22 kB / 0.7968 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/1.13, allocations: 89.86 kB / 0.7968 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-06/1.13, allocations: 0.7188 kB / 0.7968 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/1.13, allocations: 5.469 kB / 0.7968 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.345e-05/1.13, allocations: 323.3 kB / 0.7972 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/1.13, allocations: 3.938 kB / 0.7972 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/1.13, allocations: 4.812 kB / 0.7972 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/1.13, allocations: 7.859 kB / 0.7972 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.13, allocations: 0.5625 kB / 0.7972 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001359/1.13, allocations: 52.14 kB / 0.7972 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.13, allocations: 5.547 kB / 0.7972 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/1.13, allocations: 3.969 kB / 0.7972 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.13, allocations: 5.484 kB / 0.7972 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/1.13, allocations: 0 / 0.7972 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.13, allocations: 2.719 kB / 0.7972 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/1.131, allocations: 5.531 kB / 0.7972 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/1.131, allocations: 1.75 kB / 0.7972 GB, free: 129.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.19e-05/1.131, allocations: 188.5 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/1.131, allocations: 109.8 kB / 0.7975 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/1.131, allocations: 119.6 kB / 0.7976 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-05/1.131, allocations: 184.4 kB / 0.7978 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.249e-05/1.131, allocations: 177.8 kB / 0.798 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-05/1.131, allocations: 180.6 kB / 0.7982 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/1.131, allocations: 418.1 kB / 0.7986 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.131, allocations: 109.5 kB / 0.7987 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/1.131, allocations: 104.2 kB / 0.7988 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.24e-05/1.131, allocations: 184.8 kB / 0.7989 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/1.131, allocations: 178.3 kB / 0.7991 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.542e-05/1.131, allocations: 179.7 kB / 0.7993 GB, free: 127 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-05/1.131, allocations: 188.6 kB / 0.7995 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.846e-05/1.131, allocations: 312.4 kB / 0.7998 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/1.131, allocations: 189.8 kB / 0.7999 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/1.131, allocations: 180.8 kB / 0.8001 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/1.132, allocations: 106.9 kB / 0.8002 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/1.132, allocations: 182.2 kB / 0.8004 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/1.132, allocations: 107.6 kB / 0.8005 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.446e-05/1.132, allocations: 99.02 kB / 0.8006 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1e-07/1.132, allocations: 0 / 0.8006 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001525/1.133, allocations: 325.7 kB / 0.8009 GB, free: 125.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001248/1.134, allocations: 0.5425 MB / 0.8014 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001049/1.135, allocations: 42.38 kB / 0.8015 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.135, allocations: 0.9688 kB / 0.8015 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/1.135, allocations: 1.328 kB / 0.8015 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/1.135, allocations: 0.5231 MB / 0.802 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/1.135, allocations: 262.6 kB / 0.8022 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/1.135, allocations: 0.686 MB / 0.8029 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.903e-05/1.135, allocations: 4.062 kB / 0.8029 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/1.135, allocations: 12.36 kB / 0.8029 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/1.135, allocations: 0 / 0.8029 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.0115/1.147, allocations: 5.221 MB / 0.808 GB, free: 123.5 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)