Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001014/0.001014, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7737/0.7737, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 66.42 kB / 0.5821 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1349, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002652/0.1376, allocations: 1.429 MB / 0.6618 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004257/0.1419, allocations: 2.876 MB / 0.6646 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.142, allocations: 0 / 0.6646 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.142, allocations: 3.938 kB / 0.6646 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.363e-05/0.1421, allocations: 19.84 kB / 0.6646 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003796/0.1459, allocations: 1.582 MB / 0.6662 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.146, allocations: 47.73 kB / 0.6662 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.1461, allocations: 7.984 kB / 0.6662 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.1461, allocations: 19.86 kB / 0.6663 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.044e-05/0.1462, allocations: 19.88 kB / 0.6663 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1462, allocations: 0 / 0.6663 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.1484, allocations: 1.527 MB / 0.6678 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1485, allocations: 4 kB / 0.6678 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.1485, allocations: 19.88 kB / 0.6678 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.1502, allocations: 1.099 MB / 0.6689 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1502, allocations: 4 kB / 0.6689 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1502, allocations: 0 / 0.6689 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1502, allocations: 0 / 0.6689 GB, free: 1.566 MB / 0.4981 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.0007026/0.1509, allocations: 0.5108 MB / 0.6694 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1509, allocations: 8.031 kB / 0.6694 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.151, allocations: 84.12 kB / 0.6695 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.1512, allocations: 251.6 kB / 0.6697 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.1512, allocations: 162.6 kB / 0.6698 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.1513, allocations: 150.6 kB / 0.67 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.014e-05/0.1514, allocations: 104.9 kB / 0.6701 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.1514, allocations: 83.22 kB / 0.6702 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.676e-05/0.1515, allocations: 150.6 kB / 0.6703 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.193e-05/0.1515, allocations: 150.6 kB / 0.6705 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.1516, allocations: 154.6 kB / 0.6706 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.1519, allocations: 469.8 kB / 0.6711 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.349e-05/0.152, allocations: 177 kB / 0.6712 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.152, allocations: 80.14 kB / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.152, allocations: 79.28 kB / 0.6714 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.1521, allocations: 109.8 kB / 0.6715 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1521, allocations: 0 / 0.6715 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.145e-05/0.1522, allocations: 25.7 kB / 0.6715 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.1522, allocations: 126.7 kB / 0.6716 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1524, allocations: 143.6 kB / 0.6718 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.1524, allocations: 25.7 kB / 0.6718 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.1524, allocations: 92.14 kB / 0.6719 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.1525, allocations: 0 / 0.6719 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.1525, allocations: 21.7 kB / 0.6719 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1526, allocations: 318.8 kB / 0.6722 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.1526, allocations: 4 kB / 0.6722 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.1527, allocations: 4 kB / 0.6722 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.878e-05/0.1527, allocations: 20.8 kB / 0.6722 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1527, allocations: 64 / 0.6722 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001169/0.1528, allocations: 53.72 kB / 0.6723 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1529, allocations: 8 kB / 0.6723 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.1529, allocations: 0 / 0.6723 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1529, allocations: 4 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1529, allocations: 0 / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1529, allocations: 0 / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.1529, allocations: 3.906 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.153, allocations: 3.938 kB / 0.6723 GB, free: 13.82 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.638e-05/0.1531, allocations: 201.1 kB / 0.6725 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.1531, allocations: 108.9 kB / 0.6726 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.1532, allocations: 112.6 kB / 0.6727 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.9e-05/0.1532, allocations: 184.1 kB / 0.6729 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.187e-05/0.1533, allocations: 180.2 kB / 0.673 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.195e-05/0.1534, allocations: 188.2 kB / 0.6732 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1536, allocations: 413.2 kB / 0.6736 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.734e-05/0.1536, allocations: 105 kB / 0.6737 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.1537, allocations: 104.9 kB / 0.6738 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-05/0.1537, allocations: 180.2 kB / 0.674 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.1538, allocations: 184.2 kB / 0.6742 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.857e-05/0.1539, allocations: 180.3 kB / 0.6743 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.479e-05/0.1539, allocations: 184.2 kB / 0.6745 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.154, allocations: 315.7 kB / 0.6748 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.1541, allocations: 189.9 kB / 0.675 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.1542, allocations: 176.3 kB / 0.6752 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.1543, allocations: 109 kB / 0.6753 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.1544, allocations: 188.2 kB / 0.6754 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.1544, allocations: 101 kB / 0.6755 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.1545, allocations: 101.3 kB / 0.6756 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1545, allocations: 0 / 0.6756 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007364/0.1552, allocations: 283.8 kB / 0.6759 GB, free: 9.883 MB / 0.5137 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 (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.001137/0.1563, allocations: 0.5292 MB / 0.6764 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1565, allocations: 41.64 kB / 0.6765 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1565, allocations: 0 / 0.6765 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-06/0.1565, allocations: 0 / 0.6765 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1569, allocations: 475.7 kB / 0.6769 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.1572, allocations: 259.8 kB / 0.6772 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.1574, allocations: 0.6884 MB / 0.6778 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.1575, allocations: 11.44 kB / 0.6779 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1575, allocations: 4 kB / 0.6779 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of Templates: time 0.007624/0.1651, allocations: 4.725 MB / 0.6825 GB, free: 3.098 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)