Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_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_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.001222/0.001222, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001657/0.001657, allocations: 177.3 kB / 15.95 MB, free: 216 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.987/1.987, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.092/1.092, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006391/0.0006396, allocations: 8.938 kB / 0.5034 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7055/0.7062, allocations: 81.56 MB / 0.583 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002162/0.7084, allocations: 1.059 MB / 0.5841 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.7108, allocations: 0.9805 MB / 0.585 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.7109, allocations: 4.75 kB / 0.585 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.7109, allocations: 0.75 kB / 0.585 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.711, allocations: 11.03 kB / 0.585 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007842/0.7118, allocations: 144.5 kB / 0.5852 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.7119, allocations: 23.81 kB / 0.5852 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.7119, allocations: 1.672 kB / 0.5852 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.326e-05/0.712, allocations: 20.62 kB / 0.5852 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.7121, allocations: 9.266 kB / 0.5852 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.7122, allocations: 5.438 kB / 0.5852 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.7132, allocations: 394.5 kB / 0.5856 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.7133, allocations: 7.172 kB / 0.5856 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.7133, allocations: 27.77 kB / 0.5856 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.7137, allocations: 129.1 kB / 0.5858 GB, free: 2.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7137, allocations: 0.8125 kB / 0.5858 GB, free: 2.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7137, allocations: 0 / 0.5858 GB, free: 2.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.7138, allocations: 4 kB / 0.5858 GB, free: 2.207 MB / 430.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.0004496/0.7142, allocations: 380.6 kB / 0.5861 GB, free: 1.816 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.7143, allocations: 9.406 kB / 0.5861 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.7143, allocations: 36.25 kB / 0.5862 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.7144, allocations: 5.75 kB / 0.5862 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.7145, allocations: 171.2 kB / 0.5863 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.7145, allocations: 0 / 0.5863 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.7145, allocations: 2.234 kB / 0.5863 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.7147, allocations: 39.45 kB / 0.5864 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.7147, allocations: 4 kB / 0.5864 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.7147, allocations: 0 / 0.5864 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7147, allocations: 0.9688 kB / 0.5864 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.194e-05/0.7148, allocations: 14.86 kB / 0.5864 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.715, allocations: 164.2 kB / 0.5866 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.7152, allocations: 42.2 kB / 0.5866 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.7163, allocations: 0.9832 MB / 0.5876 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.7163, allocations: 31.94 kB / 0.5876 GB, free: 124 kB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.7163, allocations: 0 / 0.5876 GB, free: 124 kB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002544/0.7166, allocations: 68.62 kB / 0.5876 GB, free: 72 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.7166, allocations: 52.06 kB / 0.5877 GB, free: 8 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.7168, allocations: 113.8 kB / 0.5878 GB, free: 15.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.7168, allocations: 25.7 kB / 0.5878 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.7169, allocations: 86.25 kB / 0.5879 GB, free: 15.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.7169, allocations: 10.97 kB / 0.5879 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.7169, allocations: 0 / 0.5879 GB, free: 15.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.717, allocations: 321.9 kB / 0.5882 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.7171, allocations: 4.469 kB / 0.5882 GB, free: 15.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.7171, allocations: 9.625 kB / 0.5882 GB, free: 15.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.7172, allocations: 9.453 kB / 0.5883 GB, free: 15.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7172, allocations: 0 / 0.5883 GB, free: 15.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/0.7173, allocations: 56.59 kB / 0.5883 GB, free: 15.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.7173, allocations: 4.938 kB / 0.5883 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7173, allocations: 1.031 kB / 0.5883 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7174, allocations: 0 / 0.5883 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.7175, allocations: 14.22 kB / 0.5883 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7175, allocations: 4.625 kB / 0.5883 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.7176, allocations: 0.6875 kB / 0.5883 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.7176, allocations: 6.266 kB / 0.5883 GB, free: 15.39 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.848e-05/0.7177, allocations: 115.7 kB / 0.5884 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.7177, allocations: 3.016 kB / 0.5884 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.7179, allocations: 62.81 kB / 0.5885 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.7179, allocations: 0.8438 kB / 0.5885 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.718, allocations: 3.938 kB / 0.5885 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.718, allocations: 1.812 kB / 0.5885 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.7181, allocations: 165.2 kB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7181, allocations: 4.609 kB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.7183, allocations: 14.86 kB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7183, allocations: 0 / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.7183, allocations: 1.188 kB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.7183, allocations: 0.7031 kB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7183, allocations: 1.188 kB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.7185, allocations: 73.75 kB / 0.5888 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.7185, allocations: 87.2 kB / 0.5888 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.7185, allocations: 4 kB / 0.5889 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.093e-05/0.7186, allocations: 1.484 kB / 0.5889 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.7186, allocations: 3 kB / 0.5889 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.7186, allocations: 4.844 kB / 0.5889 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.821e-05/0.7187, allocations: 91.44 kB / 0.5889 GB, free: 14.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7187, allocations: 0 / 0.5889 GB, free: 14.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00041/0.7191, allocations: 41.91 kB / 0.589 GB, free: 14.74 MB / 446.1 MB 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 (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.0006614/0.7198, allocations: 0.6646 MB / 0.5896 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.7199, allocations: 23.69 kB / 0.5897 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.72, allocations: 4.562 kB / 0.5897 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.72, allocations: 13.41 kB / 0.5897 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.7203, allocations: 7.922 kB / 0.5897 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.721, allocations: 211.9 kB / 0.5899 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.7213, allocations: 0.685 MB / 0.5906 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.7213, allocations: 4.328 kB / 0.5906 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.7214, allocations: 15.31 kB / 0.5906 GB, free: 13.22 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.7214, allocations: 0 / 0.5906 GB, free: 13.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.7498, allocations: 1.914 MB / 0.5924 GB, free: 13.07 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003976/0.7502, allocations: 250.8 kB / 0.5927 GB, free: 12.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.418, allocations: 0 / 0.5927 GB, free: 12.75 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) Environment - environmentSimulation: