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-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_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.0008409/0.0008408, allocations: 102.2 kB / 15.06 MB, free: 1.098 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.0009366/0.0009367, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8988/0.8988, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 8 kB / 0.5069 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 82.31 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001327/0.1666, allocations: 1.119 MB / 0.5883 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.17, allocations: 2.565 MB / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.17, allocations: 0 / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.17, allocations: 0 / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.1701, allocations: 27.89 kB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.1728, allocations: 1.222 MB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.1728, allocations: 31.95 kB / 0.5921 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.1729, allocations: 3.984 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.163e-05/0.1729, allocations: 11.94 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.679e-05/0.1729, allocations: 19.94 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.1729, allocations: 0 / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.1745, allocations: 1.194 MB / 0.5933 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.1745, allocations: 11.92 kB / 0.5933 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1745, allocations: 33.7 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008016/0.1753, allocations: 0.706 MB / 0.594 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1753, allocations: 0 / 0.594 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1753, allocations: 0 / 0.594 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1753, allocations: 0 / 0.594 GB, free: 12.11 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.0004536/0.1758, allocations: 0.5106 MB / 0.5945 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1758, allocations: 8.75 kB / 0.5945 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.1759, allocations: 83.19 kB / 0.5946 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.176, allocations: 258.1 kB / 0.5949 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.1761, allocations: 162.5 kB / 0.595 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.1761, allocations: 150.6 kB / 0.5952 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.333e-05/0.1762, allocations: 105 kB / 0.5953 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.1762, allocations: 79.28 kB / 0.5953 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.1763, allocations: 150.6 kB / 0.5955 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.1763, allocations: 150.6 kB / 0.5956 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.1764, allocations: 150.6 kB / 0.5958 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.1766, allocations: 469.9 kB / 0.5962 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/0.1767, allocations: 173.1 kB / 0.5964 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1767, allocations: 75.28 kB / 0.5965 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1767, allocations: 113.8 kB / 0.5966 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1767, allocations: 0 / 0.5966 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.918e-05/0.1768, allocations: 33.61 kB / 0.5966 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1769, allocations: 130.6 kB / 0.5967 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.177, allocations: 140 kB / 0.5969 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.177, allocations: 29.64 kB / 0.5969 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.1771, allocations: 84.14 kB / 0.597 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.1771, allocations: 0 / 0.597 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.1771, allocations: 4 kB / 0.597 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.1772, allocations: 322.8 kB / 0.5973 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.1772, allocations: 8 kB / 0.5973 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.1772, allocations: 11.94 kB / 0.5973 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/0.1772, allocations: 4 kB / 0.5973 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1773, allocations: 0 / 0.5973 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001021/0.1774, allocations: 45.61 kB / 0.5973 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1774, allocations: 11.98 kB / 0.5974 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.1774, allocations: 4 kB / 0.5974 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.1774, allocations: 0 / 0.5974 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.1774, allocations: 3.938 kB / 0.5974 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1774, allocations: 0 / 0.5974 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.1775, allocations: 8 kB / 0.5974 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.1775, allocations: 0 / 0.5974 GB, free: 8.469 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.322e-05/0.1775, allocations: 193.1 kB / 0.5976 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.1776, allocations: 108.9 kB / 0.5977 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.1777, allocations: 108.8 kB / 0.5978 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-05/0.1777, allocations: 180.2 kB / 0.5979 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.803e-05/0.1778, allocations: 188.3 kB / 0.5981 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/0.1778, allocations: 180.2 kB / 0.5983 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.178, allocations: 417.2 kB / 0.5987 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.665e-05/0.1781, allocations: 101 kB / 0.5988 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.1781, allocations: 104.9 kB / 0.5989 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.1781, allocations: 184.3 kB / 0.5991 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.1782, allocations: 192.3 kB / 0.5992 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.322e-05/0.1783, allocations: 176.3 kB / 0.5994 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.197e-05/0.1783, allocations: 184.2 kB / 0.5996 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.1784, allocations: 312 kB / 0.5999 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.1785, allocations: 190 kB / 0.6001 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.1786, allocations: 180.2 kB / 0.6002 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.1786, allocations: 104.9 kB / 0.6003 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.1787, allocations: 180.3 kB / 0.6005 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.1787, allocations: 101 kB / 0.6006 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.894e-05/0.1788, allocations: 109.3 kB / 0.6007 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1788, allocations: 4 kB / 0.6007 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006016/0.1794, allocations: 279.8 kB / 0.601 GB, free: 4.547 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 (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.0008017/0.1802, allocations: 498 kB / 0.6015 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.188e-05/0.1803, allocations: 41.7 kB / 0.6015 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1803, allocations: 0 / 0.6015 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.1803, allocations: 0 / 0.6015 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1806, allocations: 0.5341 MB / 0.602 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.1809, allocations: 254.3 kB / 0.6023 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.1811, allocations: 0.6965 MB / 0.6029 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.309e-05/0.1811, allocations: 0 / 0.6029 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-06/0.1812, allocations: 7.438 kB / 0.6029 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1812, allocations: 4 kB / 0.6029 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of Templates: time 0.2304/0.4116, allocations: 5.6 MB / 0.6084 GB, free: 48.29 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: