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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01194/0.01194, allocations: 169.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8719/0.8719, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.538/1.538, allocations: 223.2 MB / 406.9 MB, free: 3.199 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.001138/0.001138, allocations: 97.95 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 12 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4865, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.6711, allocations: 131.5 MB / 0.778 GB, free: 404 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.6715, allocations: 123.9 kB / 0.7781 GB, free: 280 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04438/0.7159, allocations: 15.1 MB / 0.7929 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7159, allocations: 0 / 0.7929 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.7159, allocations: 0 / 0.7929 GB, free: 1.152 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001151/0.7171, allocations: 0.5651 MB / 0.7934 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.7172, allocations: 12.03 kB / 0.7934 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.7172, allocations: 87.12 kB / 0.7935 GB, free: 452 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.7174, allocations: 243.7 kB / 0.7937 GB, free: 168 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.7175, allocations: 150.6 kB / 0.7939 GB, free: 16 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4433/1.161, allocations: 154.6 kB / 0.794 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.493e-05/1.161, allocations: 104.6 kB / 0.7941 GB, free: 132 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/1.161, allocations: 75.28 kB / 0.7942 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/1.161, allocations: 154.3 kB / 0.7943 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/1.161, allocations: 150.6 kB / 0.7945 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/1.161, allocations: 151.7 kB / 0.7946 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/1.161, allocations: 464.3 kB / 0.7951 GB, free: 131 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.278e-05/1.161, allocations: 171.5 kB / 0.7952 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/1.161, allocations: 77.06 kB / 0.7953 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.161, allocations: 111.3 kB / 0.7954 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/1.161, allocations: 0.8125 kB / 0.7954 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 8.652e-05/1.162, allocations: 33.36 kB / 0.7955 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/1.162, allocations: 132.6 kB / 0.7956 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/1.162, allocations: 120.7 kB / 0.7957 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/1.162, allocations: 26.39 kB / 0.7957 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/1.162, allocations: 93.86 kB / 0.7958 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/1.162, allocations: 4.078 kB / 0.7958 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/1.162, allocations: 0 / 0.7958 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.72e-05/1.162, allocations: 317.9 kB / 0.7961 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/1.162, allocations: 6.5 kB / 0.7961 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/1.162, allocations: 4.688 kB / 0.7961 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/1.162, allocations: 5.719 kB / 0.7961 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.162, allocations: 0 / 0.7961 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001327/1.162, allocations: 49.16 kB / 0.7962 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.162, allocations: 9.469 kB / 0.7962 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/1.162, allocations: 3.047 kB / 0.7962 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.162, allocations: 0.75 kB / 0.7962 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-06/1.162, allocations: 0.6562 kB / 0.7962 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.162, allocations: 0.75 kB / 0.7962 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/1.162, allocations: 6.672 kB / 0.7962 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/1.162, allocations: 2.438 kB / 0.7962 GB, free: 129.9 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 7.508e-05/1.162, allocations: 191.6 kB / 0.7964 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/1.162, allocations: 108 kB / 0.7965 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/1.162, allocations: 115.6 kB / 0.7966 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/1.162, allocations: 180.2 kB / 0.7968 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.041e-05/1.162, allocations: 179.7 kB / 0.7969 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/1.163, allocations: 179.8 kB / 0.7971 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/1.163, allocations: 421 kB / 0.7975 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/1.163, allocations: 104.6 kB / 0.7976 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/1.163, allocations: 106.9 kB / 0.7977 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.199e-05/1.163, allocations: 183.1 kB / 0.7979 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/1.163, allocations: 180.8 kB / 0.7981 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.736e-05/1.163, allocations: 184.7 kB / 0.7982 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.978e-05/1.163, allocations: 181.6 kB / 0.7984 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.46e-05/1.163, allocations: 314 kB / 0.7987 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/1.163, allocations: 187.3 kB / 0.7989 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/1.163, allocations: 183.4 kB / 0.7991 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/1.163, allocations: 105.3 kB / 0.7992 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/1.163, allocations: 186.2 kB / 0.7993 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/1.163, allocations: 106.4 kB / 0.7994 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.155e-05/1.163, allocations: 99.38 kB / 0.7995 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1e-07/1.163, allocations: 0 / 0.7995 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00162/1.165, allocations: 316.2 kB / 0.7998 GB, free: 126.4 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.001317/1.166, allocations: 0.5383 MB / 0.8004 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001218/1.166, allocations: 40.75 kB / 0.8004 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.166, allocations: 0 / 0.8004 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/1.166, allocations: 4.812 kB / 0.8004 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/1.167, allocations: 0.5269 MB / 0.8009 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/1.167, allocations: 256.6 kB / 0.8012 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/1.167, allocations: 0.6891 MB / 0.8018 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.319e-05/1.167, allocations: 1.344 kB / 0.8018 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.096e-05/1.167, allocations: 13.03 kB / 0.8019 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/1.167, allocations: 0 / 0.8019 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.01182/1.179, allocations: 5.087 MB / 0.8068 GB, free: 124.4 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)