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.00636/0.00636, allocations: 98.91 kB / 15.73 MB, free: 6.008 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.001325/0.001325, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8382/0.8382, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 68.19 kB / 0.5814 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1672, allocations: 80.22 MB / 0.6598 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002736/0.17, allocations: 1.417 MB / 0.6611 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004334/0.1743, allocations: 2.88 MB / 0.664 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.1744, allocations: 0 / 0.664 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.1745, allocations: 3.938 kB / 0.664 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.1746, allocations: 15.84 kB / 0.664 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.1788, allocations: 1.59 MB / 0.6655 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1789, allocations: 47.67 kB / 0.6656 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1789, allocations: 7.969 kB / 0.6656 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.677e-05/0.179, allocations: 11.94 kB / 0.6656 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.977e-05/0.179, allocations: 23.86 kB / 0.6656 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.179, allocations: 4 kB / 0.6656 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.1815, allocations: 1.521 MB / 0.6671 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1815, allocations: 4 kB / 0.6671 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.1815, allocations: 23.86 kB / 0.6671 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.1833, allocations: 1.099 MB / 0.6682 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1833, allocations: 0 / 0.6682 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1833, allocations: 0 / 0.6682 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1833, allocations: 0 / 0.6682 GB, free: 1.559 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.0007544/0.1841, allocations: 0.5108 MB / 0.6687 GB, free: 1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1841, allocations: 8.031 kB / 0.6687 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.1842, allocations: 80.12 kB / 0.6688 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1844, allocations: 255.6 kB / 0.669 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/0.1844, allocations: 166.6 kB / 0.6692 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.1845, allocations: 150.6 kB / 0.6693 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.152e-05/0.1846, allocations: 104.9 kB / 0.6694 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.1846, allocations: 75.28 kB / 0.6695 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/0.1847, allocations: 150.6 kB / 0.6696 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.1847, allocations: 154.6 kB / 0.6698 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.1848, allocations: 154.6 kB / 0.6699 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.1851, allocations: 473.8 kB / 0.6704 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.1852, allocations: 173 kB / 0.6706 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.1852, allocations: 88.14 kB / 0.6706 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.1853, allocations: 75.28 kB / 0.6707 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.1853, allocations: 105.8 kB / 0.6708 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1853, allocations: 0 / 0.6708 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.417e-05/0.1854, allocations: 33.69 kB / 0.6708 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.1855, allocations: 130.6 kB / 0.671 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1856, allocations: 143.8 kB / 0.6711 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1856, allocations: 25.7 kB / 0.6711 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.1857, allocations: 84.14 kB / 0.6712 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.1857, allocations: 0 / 0.6712 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.1857, allocations: 25.7 kB / 0.6712 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1858, allocations: 314.8 kB / 0.6715 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.1859, allocations: 4 kB / 0.6715 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.1859, allocations: 7.984 kB / 0.6716 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.186, allocations: 20.83 kB / 0.6716 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.186, allocations: 0 / 0.6716 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001236/0.1861, allocations: 45.7 kB / 0.6716 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1861, allocations: 7.938 kB / 0.6716 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.1861, allocations: 4 kB / 0.6716 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1862, allocations: 0 / 0.6716 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.1862, allocations: 0 / 0.6716 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1862, allocations: 3.984 kB / 0.6716 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.1862, allocations: 7.906 kB / 0.6716 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1862, allocations: 0 / 0.6716 GB, free: 13.8 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.32e-05/0.1863, allocations: 197.1 kB / 0.6718 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.1864, allocations: 108.9 kB / 0.6719 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.1864, allocations: 116.6 kB / 0.672 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.862e-05/0.1865, allocations: 184.2 kB / 0.6722 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.026e-05/0.1866, allocations: 180.3 kB / 0.6724 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.049e-05/0.1866, allocations: 184.2 kB / 0.6726 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1869, allocations: 417.2 kB / 0.673 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/0.1869, allocations: 104.9 kB / 0.6731 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.1869, allocations: 109 kB / 0.6732 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-05/0.187, allocations: 180.2 kB / 0.6733 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/0.1871, allocations: 184.2 kB / 0.6735 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.181e-05/0.1871, allocations: 180.3 kB / 0.6737 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.174e-05/0.1872, allocations: 184.2 kB / 0.6739 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.1873, allocations: 307.8 kB / 0.6742 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.1874, allocations: 185.9 kB / 0.6743 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.1875, allocations: 184.3 kB / 0.6745 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.1876, allocations: 112.9 kB / 0.6746 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.1877, allocations: 176.3 kB / 0.6748 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.1877, allocations: 105 kB / 0.6749 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.17e-05/0.1878, allocations: 108.9 kB / 0.675 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1878, allocations: 0 / 0.675 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000767/0.1886, allocations: 279.8 kB / 0.6753 GB, free: 9.871 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.001256/0.1898, allocations: 0.5318 MB / 0.6758 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.1899, allocations: 41.69 kB / 0.6758 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1899, allocations: 0 / 0.6758 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.19, allocations: 0 / 0.6758 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.1904, allocations: 467.7 kB / 0.6763 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.1907, allocations: 234.1 kB / 0.6765 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.191, allocations: 0.6923 MB / 0.6772 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.425e-05/0.191, allocations: 0 / 0.6772 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.191, allocations: 7.438 kB / 0.6772 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.191, allocations: 0 / 0.6772 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of Templates: time 0.009906/0.2009, allocations: 5.61 MB / 0.6826 GB, free: 2.289 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)