Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_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.001179/0.001179, allocations: 103.1 kB / 16.27 MB, free: 5.965 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.001172/0.001173, allocations: 191.5 kB / 17.2 MB, free: 5.594 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7502/0.7502, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 67.89 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3801, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002332/0.3825, allocations: 1.332 MB / 0.5686 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3839, allocations: 1.092 MB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.3839, allocations: 0 / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.384, allocations: 0.9375 kB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.384, allocations: 7.172 kB / 0.5697 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.3847, allocations: 217.7 kB / 0.5699 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.3847, allocations: 33.53 kB / 0.57 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.3848, allocations: 3.844 kB / 0.57 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.362e-05/0.3849, allocations: 16.95 kB / 0.57 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.3849, allocations: 18.62 kB / 0.57 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.385, allocations: 1.375 kB / 0.57 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006933/0.3857, allocations: 428.1 kB / 0.5704 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.3857, allocations: 6.703 kB / 0.5704 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.3857, allocations: 9.859 kB / 0.5704 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.3861, allocations: 207.4 kB / 0.5706 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3861, allocations: 0.5625 kB / 0.5706 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3861, allocations: 1.25 kB / 0.5706 GB, free: 30.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3861, allocations: 0 / 0.5706 GB, free: 30.71 MB / 446.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.0004233/0.3865, allocations: 389.2 kB / 0.571 GB, free: 30.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3866, allocations: 9.219 kB / 0.571 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.834e-05/0.3866, allocations: 33.5 kB / 0.571 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.3867, allocations: 5.625 kB / 0.571 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.517e-05/0.3868, allocations: 178.3 kB / 0.5712 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3868, allocations: 5.531 kB / 0.5712 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3868, allocations: 3.594 kB / 0.5712 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.3869, allocations: 39.44 kB / 0.5713 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3869, allocations: 0.9375 kB / 0.5713 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3869, allocations: 5.094 kB / 0.5713 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3869, allocations: 6.125 kB / 0.5713 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.387, allocations: 10.02 kB / 0.5713 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.3871, allocations: 156.4 kB / 0.5714 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.714e-05/0.3872, allocations: 46.11 kB / 0.5715 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.3873, allocations: 12.89 kB / 0.5715 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008288/0.3881, allocations: 0.9879 MB / 0.5724 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3882, allocations: 37.36 kB / 0.5725 GB, free: 28.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3882, allocations: 0 / 0.5725 GB, free: 28.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001608/0.3883, allocations: 60.61 kB / 0.5725 GB, free: 28.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.3884, allocations: 54.8 kB / 0.5726 GB, free: 28.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.658e-05/0.3884, allocations: 105.6 kB / 0.5727 GB, free: 28.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.3884, allocations: 25.7 kB / 0.5727 GB, free: 28.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.3885, allocations: 88.09 kB / 0.5728 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.3885, allocations: 9.297 kB / 0.5728 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.3885, allocations: 19.67 kB / 0.5728 GB, free: 28.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.3886, allocations: 314.7 kB / 0.5731 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.3886, allocations: 5.438 kB / 0.5731 GB, free: 27.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.3886, allocations: 8.688 kB / 0.5731 GB, free: 27.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.3887, allocations: 21.78 kB / 0.5732 GB, free: 27.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3887, allocations: 1.094 kB / 0.5732 GB, free: 27.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.213e-05/0.3888, allocations: 60.45 kB / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3888, allocations: 9.656 kB / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3888, allocations: 0.6094 kB / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3888, allocations: 0 / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3889, allocations: 14.05 kB / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.389, allocations: 2.031 kB / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.389, allocations: 1.438 kB / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.389, allocations: 1.828 kB / 0.5732 GB, free: 27.89 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.3891, allocations: 116.7 kB / 0.5734 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.3891, allocations: 14.19 kB / 0.5734 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.3892, allocations: 65.14 kB / 0.5734 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3892, allocations: 1.141 kB / 0.5734 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3892, allocations: 1.781 kB / 0.5734 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3892, allocations: 0.5 kB / 0.5734 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.897e-05/0.3893, allocations: 162.6 kB / 0.5736 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3893, allocations: 0.8125 kB / 0.5736 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.3894, allocations: 18.52 kB / 0.5736 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3894, allocations: 1.719 kB / 0.5736 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3894, allocations: 1.188 kB / 0.5736 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3894, allocations: 0.5625 kB / 0.5736 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3894, allocations: 0.9062 kB / 0.5736 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.838e-05/0.3895, allocations: 82.23 kB / 0.5737 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.3896, allocations: 82.84 kB / 0.5738 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.3896, allocations: 1.641 kB / 0.5738 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.3896, allocations: 1.219 kB / 0.5738 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.3896, allocations: 10.42 kB / 0.5738 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.3896, allocations: 1 kB / 0.5738 GB, free: 27.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.494e-05/0.3897, allocations: 88.23 kB / 0.5739 GB, free: 27.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3897, allocations: 0 / 0.5739 GB, free: 27.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.3899, allocations: 37.97 kB / 0.5739 GB, free: 27.25 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.0003664/0.3903, allocations: 0.6671 MB / 0.5746 GB, free: 26.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.376e-05/0.3904, allocations: 21.52 kB / 0.5746 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3904, allocations: 0 / 0.5746 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.3904, allocations: 14.72 kB / 0.5746 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.3906, allocations: 4.984 kB / 0.5746 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.3911, allocations: 204.9 kB / 0.5748 GB, free: 26.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.3912, allocations: 0.6777 MB / 0.5755 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.438e-05/0.3912, allocations: 14.97 kB / 0.5755 GB, free: 25.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.3913, allocations: 15.67 kB / 0.5755 GB, free: 25.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3913, allocations: 3.938 kB / 0.5755 GB, free: 25.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.4107, allocations: 2.151 MB / 0.5776 GB, free: 25.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/7.758, allocations: 9.047 kB / 0.5776 GB, free: 25.4 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)