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.001228/0.001228, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7433/0.7433, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.28 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4414, allocations: 80.2 MB / 0.5802 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003002/0.4445, allocations: 1.342 MB / 0.5816 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.4461, allocations: 1.084 MB / 0.5826 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.4461, allocations: 1.719 kB / 0.5826 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.4462, allocations: 4.5 kB / 0.5826 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.659e-05/0.4462, allocations: 5.203 kB / 0.5826 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.4469, allocations: 209.3 kB / 0.5828 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.4469, allocations: 33.73 kB / 0.5829 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.447, allocations: 7.172 kB / 0.5829 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.4471, allocations: 16.45 kB / 0.5829 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.4472, allocations: 16.72 kB / 0.5829 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.4472, allocations: 1.781 kB / 0.5829 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008921/0.4481, allocations: 418.6 kB / 0.5833 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.4481, allocations: 10.56 kB / 0.5833 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.4481, allocations: 9.969 kB / 0.5833 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.4486, allocations: 198.3 kB / 0.5835 GB, free: 2.855 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.4487, allocations: 1.062 kB / 0.5835 GB, free: 2.855 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.382e-06/0.4487, allocations: 0 / 0.5835 GB, free: 2.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.4487, allocations: 3.938 kB / 0.5835 GB, free: 2.852 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.0005823/0.4493, allocations: 383.8 kB / 0.5839 GB, free: 2.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.726e-05/0.4494, allocations: 10.48 kB / 0.5839 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.567e-05/0.4494, allocations: 34.75 kB / 0.5839 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.4494, allocations: 4.188 kB / 0.5839 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.4496, allocations: 172.2 kB / 0.5841 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4496, allocations: 1.031 kB / 0.5841 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.4496, allocations: 4.969 kB / 0.5841 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.4498, allocations: 39.53 kB / 0.5841 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4498, allocations: 1.312 kB / 0.5841 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.4498, allocations: 3.984 kB / 0.5841 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.4498, allocations: 1.031 kB / 0.5841 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.923e-05/0.4499, allocations: 17.61 kB / 0.5842 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.4501, allocations: 165 kB / 0.5843 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.4502, allocations: 41.5 kB / 0.5844 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.4503, allocations: 17.42 kB / 0.5844 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008229/0.4511, allocations: 0.9854 MB / 0.5853 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.4511, allocations: 32.25 kB / 0.5854 GB, free: 0.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4511, allocations: 0 / 0.5854 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001999/0.4513, allocations: 57.17 kB / 0.5854 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.4514, allocations: 56.28 kB / 0.5855 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.4515, allocations: 113.6 kB / 0.5856 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.4515, allocations: 25.7 kB / 0.5856 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.4515, allocations: 83.06 kB / 0.5857 GB, free: 432 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.4515, allocations: 13.98 kB / 0.5857 GB, free: 420 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.4516, allocations: 14.56 kB / 0.5857 GB, free: 404 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.4517, allocations: 318.3 kB / 0.586 GB, free: 80 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.4517, allocations: 4.75 kB / 0.586 GB, free: 80 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.4517, allocations: 5 kB / 0.586 GB, free: 80 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.88e-05/0.4518, allocations: 28.62 kB / 0.5861 GB, free: 60 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4518, allocations: 0 / 0.5861 GB, free: 60 kB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.24e-05/0.4519, allocations: 56.81 kB / 0.5861 GB, free: 16 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4519, allocations: 4.875 kB / 0.5861 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4519, allocations: 5.25 kB / 0.5861 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.452, allocations: 0.7969 kB / 0.5861 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.4521, allocations: 13.2 kB / 0.5861 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4521, allocations: 0.9062 kB / 0.5861 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.4522, allocations: 5.031 kB / 0.5861 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.4522, allocations: 1.453 kB / 0.5861 GB, free: 8 kB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.4523, allocations: 115.8 kB / 0.5862 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.4523, allocations: 6.625 kB / 0.5863 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.4525, allocations: 70.5 kB / 0.5863 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.4525, allocations: 1.125 kB / 0.5863 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4525, allocations: 0 / 0.5863 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4525, allocations: 1.172 kB / 0.5863 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.4527, allocations: 166.5 kB / 0.5865 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4527, allocations: 0 / 0.5865 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-05/0.4528, allocations: 14.55 kB / 0.5865 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4528, allocations: 4 kB / 0.5865 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.4528, allocations: 4.938 kB / 0.5865 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4528, allocations: 1.844 kB / 0.5865 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.4528, allocations: 3.984 kB / 0.5865 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.453, allocations: 85.61 kB / 0.5866 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.453, allocations: 79.05 kB / 0.5867 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.453, allocations: 1.312 kB / 0.5867 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.4531, allocations: 0 / 0.5867 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.4531, allocations: 7.266 kB / 0.5867 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4531, allocations: 1.469 kB / 0.5867 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.439e-05/0.4532, allocations: 86.77 kB / 0.5868 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4532, allocations: 0 / 0.5868 GB, free: 15.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000278/0.4534, allocations: 42.09 kB / 0.5868 GB, free: 15.35 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 (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.00067/0.4541, allocations: 0.6621 MB / 0.5874 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.4543, allocations: 24.44 kB / 0.5875 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4543, allocations: 1 kB / 0.5875 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.4543, allocations: 11.81 kB / 0.5875 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.4546, allocations: 5.625 kB / 0.5875 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.4551, allocations: 200.8 kB / 0.5877 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.4555, allocations: 0.6795 MB / 0.5883 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.851e-05/0.4556, allocations: 4.578 kB / 0.5883 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.4556, allocations: 10.69 kB / 0.5884 GB, free: 13.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4556, allocations: 3.938 kB / 0.5884 GB, free: 13.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.4747, allocations: 2.141 MB / 0.5904 GB, free: 13.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.803, allocations: 4.688 kB / 0.5905 GB, free: 13.46 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 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)