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.ConvectionResistanceCircularPipe.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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.001488/0.001488, 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.002004/0.002004, allocations: 197.1 kB / 16.26 MB, free: 6.625 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9751/0.9751, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001503, allocations: 72.03 kB / 0.505 GB, free: 5.488 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1702, allocations: 80.92 MB / 0.584 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002754/0.173, allocations: 1.408 MB / 0.5854 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1747, allocations: 1.06 MB / 0.5865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.1748, allocations: 0 / 0.5865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.1748, allocations: 3.938 kB / 0.5865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.1749, allocations: 7.922 kB / 0.5865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.1756, allocations: 183.6 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.438e-05/0.1756, allocations: 43.73 kB / 0.5867 GB, free: 2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.1757, allocations: 0 / 0.5867 GB, free: 2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.1758, allocations: 15.92 kB / 0.5867 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.1758, allocations: 8 kB / 0.5867 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1759, allocations: 4 kB / 0.5867 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.1765, allocations: 427.4 kB / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.1765, allocations: 7.969 kB / 0.5871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.1765, allocations: 15.94 kB / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.1769, allocations: 187.9 kB / 0.5873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1769, allocations: 0 / 0.5873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1769, allocations: 4 kB / 0.5873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1769, allocations: 0 / 0.5873 GB, free: 1.344 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004653/0.1774, allocations: 387.2 kB / 0.5877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1774, allocations: 11.97 kB / 0.5877 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.1775, allocations: 30.75 kB / 0.5877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.1775, allocations: 4.938 kB / 0.5877 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1776, allocations: 180.2 kB / 0.5879 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1776, allocations: 4.375 kB / 0.5879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.1776, allocations: 3.938 kB / 0.5879 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1777, allocations: 37.69 kB / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1778, allocations: 4 kB / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1778, allocations: 4 kB / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1778, allocations: 0 / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.1778, allocations: 8 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.178, allocations: 157.7 kB / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.222e-05/0.1781, allocations: 50.48 kB / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.1782, allocations: 16.89 kB / 0.5882 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009624/0.1791, allocations: 0.9817 MB / 0.5891 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1792, allocations: 38.56 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1792, allocations: 0 / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001676/0.1794, allocations: 53.69 kB / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1794, allocations: 59.34 kB / 0.5893 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.1795, allocations: 105.8 kB / 0.5894 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1795, allocations: 25.7 kB / 0.5894 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.1795, allocations: 84.14 kB / 0.5895 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.1796, allocations: 15.75 kB / 0.5895 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.1796, allocations: 17.72 kB / 0.5895 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1797, allocations: 318.8 kB / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.1798, allocations: 4 kB / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.1798, allocations: 8 kB / 0.5898 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.1798, allocations: 16.86 kB / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1798, allocations: 7.984 kB / 0.5899 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.785e-05/0.1799, allocations: 53.89 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.18, allocations: 11.94 kB / 0.5899 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.18, allocations: 0 / 0.5899 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.18, allocations: 4 kB / 0.5899 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1801, allocations: 15.98 kB / 0.5899 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1801, allocations: 0 / 0.5899 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.1802, allocations: 7.844 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.1802, allocations: 4 kB / 0.59 GB, free: 14.19 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.152e-05/0.1803, allocations: 113.8 kB / 0.5901 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.1803, allocations: 0 / 0.5901 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.1804, allocations: 68.45 kB / 0.5901 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1804, allocations: 4 kB / 0.5901 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1805, allocations: 0 / 0.5901 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1805, allocations: 7.938 kB / 0.5901 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.1806, allocations: 161.6 kB / 0.5903 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1806, allocations: 0 / 0.5903 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.1807, allocations: 15.98 kB / 0.5903 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1807, allocations: 0 / 0.5903 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1807, allocations: 0 / 0.5903 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1807, allocations: 0 / 0.5903 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1807, allocations: 0 / 0.5903 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.1808, allocations: 84.97 kB / 0.5904 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.1809, allocations: 81.11 kB / 0.5905 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1809, allocations: 3.984 kB / 0.5905 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.47e-05/0.1809, allocations: 0 / 0.5905 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.181, allocations: 4 kB / 0.5905 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.181, allocations: 0 / 0.5905 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.181, allocations: 83.28 kB / 0.5906 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.181, allocations: 3.938 kB / 0.5906 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002404/0.1813, allocations: 43.98 kB / 0.5906 GB, free: 13.42 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 (4): * Single equations (assignments): 4 * 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.0004871/0.1818, allocations: 0.6631 MB / 0.5913 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.1819, allocations: 19.92 kB / 0.5913 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1819, allocations: 0 / 0.5913 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/0.1819, allocations: 12 kB / 0.5913 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1822, allocations: 8 kB / 0.5913 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.1827, allocations: 221.7 kB / 0.5915 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1829, allocations: 0.6845 MB / 0.5922 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.1829, allocations: 12.31 kB / 0.5922 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.183, allocations: 11.44 kB / 0.5922 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.183, allocations: 3.938 kB / 0.5922 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.1958, allocations: 2.062 MB / 0.5942 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.196, allocations: 288.9 kB / 0.5945 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.019, allocations: 0 / 0.5945 GB, free: 9.504 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)