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.001334/0.001334, allocations: 104.9 kB / 16.27 MB, free: 5.98 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.001636/0.001636, allocations: 186.5 kB / 17.19 MB, free: 5.609 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.238/1.238, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7023/0.7023, allocations: 122.8 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 0.4913 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2977, allocations: 77.91 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00227/0.3, allocations: 1.347 MB / 0.5687 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.3014, allocations: 1.079 MB / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.3014, allocations: 3.938 kB / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.3014, allocations: 1.531 kB / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.3015, allocations: 6.453 kB / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.3021, allocations: 221.1 kB / 0.5699 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.3022, allocations: 33.86 kB / 0.57 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.3022, allocations: 3.641 kB / 0.57 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.3023, allocations: 12.17 kB / 0.57 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.3023, allocations: 21.67 kB / 0.57 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.3023, allocations: 1.781 kB / 0.57 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.3029, allocations: 428.8 kB / 0.5704 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.303, allocations: 7.516 kB / 0.5704 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.303, allocations: 13.67 kB / 0.5704 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.3033, allocations: 198.5 kB / 0.5706 GB, free: 30.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3033, allocations: 0 / 0.5706 GB, free: 30.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3033, allocations: 1.938 kB / 0.5706 GB, free: 30.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3033, allocations: 1.781 kB / 0.5706 GB, free: 30.67 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.0003392/0.3037, allocations: 391.2 kB / 0.571 GB, free: 30.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3037, allocations: 10.91 kB / 0.571 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.153e-05/0.3037, allocations: 32.88 kB / 0.571 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.3037, allocations: 2.469 kB / 0.571 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.3038, allocations: 185 kB / 0.5712 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3038, allocations: 1.906 kB / 0.5712 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.3039, allocations: 3.969 kB / 0.5712 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.565e-05/0.3039, allocations: 42.44 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.304, allocations: 0.6562 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.304, allocations: 0 / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.304, allocations: 2.656 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.304, allocations: 14 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.3042, allocations: 158.8 kB / 0.5714 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.988e-05/0.3042, allocations: 43.33 kB / 0.5715 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.3043, allocations: 16.55 kB / 0.5715 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.305, allocations: 0.9873 MB / 0.5725 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.305, allocations: 36.5 kB / 0.5725 GB, free: 28.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.305, allocations: 0.75 kB / 0.5725 GB, free: 28.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001464/0.3052, allocations: 51.84 kB / 0.5725 GB, free: 28.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.547e-05/0.3052, allocations: 53.72 kB / 0.5726 GB, free: 28.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.603e-05/0.3052, allocations: 110.2 kB / 0.5727 GB, free: 28.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.3052, allocations: 27.34 kB / 0.5727 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.936e-05/0.3053, allocations: 86.36 kB / 0.5728 GB, free: 28.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.3053, allocations: 11.52 kB / 0.5728 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.3053, allocations: 18.34 kB / 0.5728 GB, free: 28.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.3054, allocations: 318.3 kB / 0.5731 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.3054, allocations: 5.641 kB / 0.5731 GB, free: 27.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.3054, allocations: 9.5 kB / 0.5731 GB, free: 27.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.3055, allocations: 20.48 kB / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3055, allocations: 0.6562 kB / 0.5732 GB, free: 27.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.975e-05/0.3056, allocations: 52.8 kB / 0.5732 GB, free: 27.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3056, allocations: 7.078 kB / 0.5732 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3056, allocations: 0 / 0.5732 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3056, allocations: 8.969 kB / 0.5732 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3057, allocations: 19.02 kB / 0.5733 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3057, allocations: 1.188 kB / 0.5733 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.3057, allocations: 0.5625 kB / 0.5733 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.3058, allocations: 1.797 kB / 0.5733 GB, free: 27.84 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 4.256e-05/0.3058, allocations: 110.7 kB / 0.5734 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.3058, allocations: 12.88 kB / 0.5734 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3059, allocations: 68.2 kB / 0.5734 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3059, allocations: 0.7969 kB / 0.5734 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.306, allocations: 1.688 kB / 0.5734 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.306, allocations: 0 / 0.5734 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.926e-05/0.306, allocations: 165.7 kB / 0.5736 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.306, allocations: 3.938 kB / 0.5736 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.3061, allocations: 22.28 kB / 0.5736 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3061, allocations: 0.6094 kB / 0.5736 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.3061, allocations: 1.125 kB / 0.5736 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3061, allocations: 0.6562 kB / 0.5736 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3062, allocations: 1.5 kB / 0.5736 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.3062, allocations: 74.53 kB / 0.5737 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.3063, allocations: 83.92 kB / 0.5738 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.3063, allocations: 5.625 kB / 0.5738 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.3063, allocations: 2.438 kB / 0.5738 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.3063, allocations: 2.047 kB / 0.5738 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3063, allocations: 3.703 kB / 0.5738 GB, free: 27.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.649e-05/0.3064, allocations: 86.92 kB / 0.5739 GB, free: 27.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3064, allocations: 0 / 0.5739 GB, free: 27.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.3066, allocations: 39.34 kB / 0.5739 GB, free: 27.2 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.0003619/0.307, allocations: 0.6699 MB / 0.5746 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.504e-05/0.3071, allocations: 26.56 kB / 0.5746 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3071, allocations: 0 / 0.5746 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.3071, allocations: 9.328 kB / 0.5746 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.3073, allocations: 13.03 kB / 0.5746 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.3077, allocations: 200.9 kB / 0.5748 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.3079, allocations: 0.6808 MB / 0.5755 GB, free: 25.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.159e-05/0.3079, allocations: 5.766 kB / 0.5755 GB, free: 25.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.3079, allocations: 11.78 kB / 0.5755 GB, free: 25.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3079, allocations: 3.938 kB / 0.5755 GB, free: 25.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.3257, allocations: 2.158 MB / 0.5776 GB, free: 25.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.649, allocations: 15.61 kB / 0.5776 GB, free: 25.36 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 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)