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.001301/0.001301, allocations: 110.5 kB / 16.38 MB, free: 6.004 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.001236/0.001236, allocations: 191.2 kB / 17.32 MB, free: 5.613 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7802/0.7802, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.45 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1634, allocations: 80.92 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002325/0.1658, allocations: 1.432 MB / 0.6667 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003946/0.1698, allocations: 2.872 MB / 0.6695 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.1698, allocations: 0 / 0.6695 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.1699, allocations: 7.922 kB / 0.6695 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.17, allocations: 15.86 kB / 0.6696 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00347/0.1734, allocations: 1.595 MB / 0.6711 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.1735, allocations: 39.64 kB / 0.6712 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.1736, allocations: 4 kB / 0.6712 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.566e-05/0.1736, allocations: 11.94 kB / 0.6712 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.867e-05/0.1736, allocations: 19.86 kB / 0.6712 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.497e-06/0.1736, allocations: 0 / 0.6712 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.1756, allocations: 1.525 MB / 0.6727 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.1756, allocations: 8 kB / 0.6727 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.1757, allocations: 19.86 kB / 0.6727 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.1769, allocations: 1.096 MB / 0.6738 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1769, allocations: 0 / 0.6738 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.866e-06/0.1769, allocations: 0 / 0.6738 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.1769, allocations: 3.938 kB / 0.6738 GB, free: 13.14 MB / 0.5137 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.0005675/0.1775, allocations: 0.5207 MB / 0.6743 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1775, allocations: 12.02 kB / 0.6743 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.1776, allocations: 84.12 kB / 0.6744 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.1778, allocations: 243.6 kB / 0.6746 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.1778, allocations: 158.7 kB / 0.6748 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.1779, allocations: 150.6 kB / 0.6749 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.972e-05/0.178, allocations: 109 kB / 0.675 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.178, allocations: 75.28 kB / 0.6751 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.178, allocations: 150.6 kB / 0.6752 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.1781, allocations: 154.6 kB / 0.6754 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.1782, allocations: 158.4 kB / 0.6755 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.1784, allocations: 465.9 kB / 0.676 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.945e-05/0.1785, allocations: 173.1 kB / 0.6761 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.1786, allocations: 88.14 kB / 0.6762 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1786, allocations: 75.28 kB / 0.6763 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.1787, allocations: 113.8 kB / 0.6764 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1787, allocations: 0 / 0.6764 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.698e-05/0.1787, allocations: 33.61 kB / 0.6764 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1788, allocations: 126.7 kB / 0.6765 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1789, allocations: 128 kB / 0.6767 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1789, allocations: 29.7 kB / 0.6767 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.179, allocations: 100 kB / 0.6768 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.179, allocations: 0 / 0.6768 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.1791, allocations: 17.72 kB / 0.6768 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.1792, allocations: 318.8 kB / 0.6771 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.1792, allocations: 4 kB / 0.6771 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.371e-05/0.1792, allocations: 4.062 kB / 0.6771 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.1792, allocations: 28.73 kB / 0.6772 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1793, allocations: 4.031 kB / 0.6772 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001182/0.1794, allocations: 45.7 kB / 0.6772 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1794, allocations: 7.984 kB / 0.6772 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.1794, allocations: 4 kB / 0.6772 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1794, allocations: 0 / 0.6772 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1794, allocations: 3.938 kB / 0.6772 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1795, allocations: 0 / 0.6772 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.1795, allocations: 3.906 kB / 0.6772 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1795, allocations: 4 kB / 0.6772 GB, free: 9.375 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.281e-05/0.1796, allocations: 194.5 kB / 0.6774 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.1797, allocations: 108.9 kB / 0.6775 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.1797, allocations: 116.6 kB / 0.6776 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-05/0.1798, allocations: 180.2 kB / 0.6778 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.519e-05/0.1798, allocations: 184.2 kB / 0.678 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.073e-05/0.1799, allocations: 176.3 kB / 0.6781 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.1801, allocations: 429.1 kB / 0.6785 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.1801, allocations: 101 kB / 0.6786 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.1802, allocations: 101 kB / 0.6787 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.447e-05/0.1802, allocations: 180.2 kB / 0.6789 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.1803, allocations: 180.3 kB / 0.6791 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.946e-05/0.1804, allocations: 184.2 kB / 0.6793 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.534e-05/0.1804, allocations: 184.2 kB / 0.6794 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1806, allocations: 307.6 kB / 0.6797 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.1806, allocations: 186 kB / 0.6799 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.1807, allocations: 192.1 kB / 0.6801 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.1808, allocations: 117 kB / 0.6802 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.1809, allocations: 180.2 kB / 0.6804 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.1809, allocations: 101 kB / 0.6805 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.181, allocations: 97.14 kB / 0.6806 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.181, allocations: 0 / 0.6806 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006616/0.1816, allocations: 283.8 kB / 0.6808 GB, free: 5.449 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.0009741/0.1826, allocations: 0.5331 MB / 0.6814 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.1827, allocations: 45.69 kB / 0.6814 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1827, allocations: 0 / 0.6814 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.1828, allocations: 3.938 kB / 0.6814 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.1831, allocations: 467.7 kB / 0.6818 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.1835, allocations: 257.7 kB / 0.6821 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.1837, allocations: 0.6807 MB / 0.6828 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.1837, allocations: 15.44 kB / 0.6828 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1837, allocations: 3.938 kB / 0.6828 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of Templates: time 0.006621/0.1903, allocations: 4.719 MB / 0.6874 GB, free: 14.66 MB / 0.5294 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)