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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001355/0.001355, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001712/0.001712, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9775/0.9775, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 60.19 kB / 0.5049 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1615, allocations: 80.93 MB / 0.5839 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002513/0.1641, allocations: 1.485 MB / 0.5854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003874/0.168, allocations: 2.873 MB / 0.5882 GB, free: 456 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.168, allocations: 0 / 0.5882 GB, free: 456 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.1681, allocations: 3.984 kB / 0.5882 GB, free: 452 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.1682, allocations: 15.86 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.1717, allocations: 1.455 MB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.1718, allocations: 43.69 kB / 0.5897 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.1718, allocations: 8.266 kB / 0.5897 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.1719, allocations: 11.94 kB / 0.5897 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.1719, allocations: 15.94 kB / 0.5897 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.1719, allocations: 0 / 0.5897 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.1738, allocations: 1.459 MB / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.1738, allocations: 7.875 kB / 0.5911 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.1739, allocations: 23.88 kB / 0.5912 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.1752, allocations: 1.084 MB / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1752, allocations: 3.938 kB / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1752, allocations: 0 / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1752, allocations: 0 / 0.5922 GB, free: 12.34 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.0005521/0.1758, allocations: 0.5145 MB / 0.5927 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1758, allocations: 12.03 kB / 0.5927 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.1759, allocations: 80.12 kB / 0.5928 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.176, allocations: 255.6 kB / 0.5931 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.1761, allocations: 150.9 kB / 0.5932 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.1761, allocations: 154.5 kB / 0.5934 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.532e-05/0.1762, allocations: 105 kB / 0.5935 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.1762, allocations: 75.28 kB / 0.5935 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.1763, allocations: 150.6 kB / 0.5937 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.806e-05/0.1763, allocations: 150.6 kB / 0.5938 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.1764, allocations: 158.5 kB / 0.594 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.1767, allocations: 465.9 kB / 0.5944 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.459e-05/0.1768, allocations: 173.1 kB / 0.5946 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.1768, allocations: 80.14 kB / 0.5947 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1768, allocations: 79.27 kB / 0.5947 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.1769, allocations: 109.8 kB / 0.5948 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1769, allocations: 7.938 kB / 0.5948 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.648e-05/0.177, allocations: 37.59 kB / 0.5949 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.177, allocations: 126.7 kB / 0.595 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1772, allocations: 139.8 kB / 0.5951 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1772, allocations: 25.7 kB / 0.5952 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.1772, allocations: 88.12 kB / 0.5952 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.1773, allocations: 0 / 0.5952 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.1773, allocations: 25.7 kB / 0.5953 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1774, allocations: 318.8 kB / 0.5956 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.1774, allocations: 4 kB / 0.5956 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.1775, allocations: 8 kB / 0.5956 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.1775, allocations: 20.78 kB / 0.5956 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1775, allocations: 3.938 kB / 0.5956 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001151/0.1776, allocations: 49.61 kB / 0.5957 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1776, allocations: 4 kB / 0.5957 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.1777, allocations: 4 kB / 0.5957 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1777, allocations: 0 / 0.5957 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.1777, allocations: 4.062 kB / 0.5957 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1777, allocations: 0 / 0.5957 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.1777, allocations: 4 kB / 0.5957 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-06/0.1777, allocations: 3.938 kB / 0.5957 GB, free: 8.578 MB / 0.4981 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 0.0001033/0.1778, allocations: 193 kB / 0.5959 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.1779, allocations: 112.8 kB / 0.596 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.178, allocations: 108.9 kB / 0.5961 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-05/0.178, allocations: 188.2 kB / 0.5962 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.978e-05/0.1781, allocations: 180.2 kB / 0.5964 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.091e-05/0.1781, allocations: 180.3 kB / 0.5966 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.1784, allocations: 417.1 kB / 0.597 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.131e-05/0.1784, allocations: 101 kB / 0.5971 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.1785, allocations: 108.9 kB / 0.5972 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.204e-05/0.1785, allocations: 184.2 kB / 0.5974 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/0.1786, allocations: 180.3 kB / 0.5975 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.861e-05/0.1787, allocations: 180.2 kB / 0.5977 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.764e-05/0.1787, allocations: 180.3 kB / 0.5979 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.1789, allocations: 319.6 kB / 0.5982 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.1789, allocations: 178.2 kB / 0.5984 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.179, allocations: 192.1 kB / 0.5985 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.1791, allocations: 101 kB / 0.5986 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.1791, allocations: 184.2 kB / 0.5988 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.1792, allocations: 109 kB / 0.5989 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.1792, allocations: 109.7 kB / 0.599 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1793, allocations: 0 / 0.599 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000752/0.18, allocations: 279.8 kB / 0.5993 GB, free: 4.648 MB / 0.4981 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.0009878/0.181, allocations: 0.5254 MB / 0.5998 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.447e-05/0.1811, allocations: 41.69 kB / 0.5998 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1811, allocations: 3.938 kB / 0.5998 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-06/0.1811, allocations: 4.281 kB / 0.5998 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1815, allocations: 463.6 kB / 0.6003 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.1818, allocations: 240.2 kB / 0.6005 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1821, allocations: 0.6846 MB / 0.6012 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.24e-05/0.1821, allocations: 3.938 kB / 0.6012 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.1821, allocations: 15.44 kB / 0.6012 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1821, allocations: 0 / 0.6012 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of Templates: time 0.241/0.4231, allocations: 5.617 MB / 0.6067 GB, free: 52.25 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)