Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007402/0.007402, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001979/0.001979, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8211/0.8211, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 64.42 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1632, allocations: 80.21 MB / 0.6593 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002339/0.1656, allocations: 1.428 MB / 0.6607 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004094/0.1697, allocations: 2.837 MB / 0.6634 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.1697, allocations: 4 kB / 0.6634 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.1698, allocations: 7.938 kB / 0.6634 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-05/0.1698, allocations: 15.84 kB / 0.6635 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.1733, allocations: 1.544 MB / 0.665 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.214e-05/0.1733, allocations: 43.73 kB / 0.665 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.1734, allocations: 7.922 kB / 0.665 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.739e-05/0.1734, allocations: 15.92 kB / 0.665 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.086e-05/0.1735, allocations: 19.92 kB / 0.665 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.1735, allocations: 0 / 0.665 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.1756, allocations: 1.482 MB / 0.6665 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1756, allocations: 7.938 kB / 0.6665 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.1756, allocations: 15.88 kB / 0.6665 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.177, allocations: 1.076 MB / 0.6676 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.177, allocations: 0 / 0.6676 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.177, allocations: 0 / 0.6676 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.177, allocations: 0 / 0.6676 GB, free: 2.227 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.0005932/0.1776, allocations: 0.5285 MB / 0.6681 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1777, allocations: 12.03 kB / 0.6681 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.603e-05/0.1777, allocations: 110 kB / 0.6682 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.1778, allocations: 80.22 kB / 0.6683 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.178, allocations: 253.3 kB / 0.6685 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.704e-05/0.178, allocations: 158.4 kB / 0.6687 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.1781, allocations: 150.6 kB / 0.6688 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.348e-05/0.1782, allocations: 105 kB / 0.6689 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.1782, allocations: 79.28 kB / 0.669 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.1783, allocations: 158.5 kB / 0.6691 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.582e-05/0.1784, allocations: 150.6 kB / 0.6693 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.921e-05/0.1784, allocations: 154.6 kB / 0.6694 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.1788, allocations: 461.9 kB / 0.6699 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.283e-05/0.1789, allocations: 177.1 kB / 0.67 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.1789, allocations: 80.14 kB / 0.6701 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.1789, allocations: 79.22 kB / 0.6702 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.179, allocations: 105.8 kB / 0.6703 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.179, allocations: 0 / 0.6703 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.131e-05/0.1791, allocations: 33.7 kB / 0.6703 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.1792, allocations: 126.7 kB / 0.6704 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1793, allocations: 137.7 kB / 0.6706 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1793, allocations: 25.7 kB / 0.6706 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.1794, allocations: 92.12 kB / 0.6707 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.1794, allocations: 0 / 0.6707 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.1794, allocations: 17.72 kB / 0.6707 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1796, allocations: 314.8 kB / 0.671 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.1796, allocations: 19.92 kB / 0.671 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.1796, allocations: 11.92 kB / 0.671 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.334e-05/0.1797, allocations: 8.859 kB / 0.671 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1797, allocations: 0 / 0.671 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.1798, allocations: 49.66 kB / 0.6711 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1798, allocations: 9.859 kB / 0.6711 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.1798, allocations: 4 kB / 0.6711 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1798, allocations: 0 / 0.6711 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.1799, allocations: 0 / 0.6711 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1799, allocations: 64 / 0.6711 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.1799, allocations: 4 kB / 0.6711 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1799, allocations: 4 kB / 0.6711 GB, free: 14.35 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 0.0001052/0.18, allocations: 185.1 kB / 0.6713 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.1801, allocations: 120.9 kB / 0.6714 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.1801, allocations: 108.8 kB / 0.6715 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.406e-05/0.1802, allocations: 180.2 kB / 0.6717 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-05/0.1803, allocations: 184.3 kB / 0.6719 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.987e-05/0.1804, allocations: 176.3 kB / 0.672 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.1806, allocations: 425.1 kB / 0.6724 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.417e-05/0.1807, allocations: 105 kB / 0.6725 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.1807, allocations: 104.9 kB / 0.6726 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-05/0.1808, allocations: 184.2 kB / 0.6728 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.1809, allocations: 180.3 kB / 0.673 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-05/0.181, allocations: 184.2 kB / 0.6732 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.265e-05/0.1811, allocations: 180.2 kB / 0.6733 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.1812, allocations: 307.7 kB / 0.6736 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.982e-05/0.1813, allocations: 194 kB / 0.6738 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/0.1814, allocations: 180.2 kB / 0.674 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.1815, allocations: 105 kB / 0.6741 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.1816, allocations: 184.2 kB / 0.6743 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.1816, allocations: 101 kB / 0.6743 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.851e-05/0.1817, allocations: 107.2 kB / 0.6744 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1817, allocations: 0 / 0.6744 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006496/0.1824, allocations: 275 kB / 0.6747 GB, free: 10.43 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.001326/0.1837, allocations: 1.174 MB / 0.6759 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.15e-05/0.1838, allocations: 37.69 kB / 0.6759 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1838, allocations: 0 / 0.6759 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.1838, allocations: 4 kB / 0.6759 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.1842, allocations: 457.7 kB / 0.6763 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.1856, allocations: 1.585 MB / 0.6779 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.1859, allocations: 0.6846 MB / 0.6786 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.271e-05/0.1859, allocations: 0 / 0.6786 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.186, allocations: 11.44 kB / 0.6786 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.186, allocations: 0 / 0.6786 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.2137, allocations: 6.84 MB / 0.6852 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.337, allocations: 20.59 kB / 0.6853 GB, free: 15.69 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)