Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 180.4 kB / 325.9 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007287/0.0007288, allocations: 94.72 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003166, allocations: 9.656 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1569, allocations: 105.4 MB / 0.8963 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001119/0.1581, allocations: 1.1 MB / 0.8973 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1594, allocations: 1.176 MB / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.1594, allocations: 0 / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.1594, allocations: 3.984 kB / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.1595, allocations: 3.938 kB / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.1599, allocations: 145.8 kB / 0.8986 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.16, allocations: 35.86 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.16, allocations: 0 / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.604e-05/0.1601, allocations: 15.94 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.1601, allocations: 11.92 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.1602, allocations: 4 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.1606, allocations: 423.4 kB / 0.8991 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.1606, allocations: 4 kB / 0.8991 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.1606, allocations: 15.91 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1609, allocations: 183.7 kB / 0.8993 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.1609, allocations: 4 kB / 0.8993 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1609, allocations: 0 / 0.8993 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.1609, allocations: 3.938 kB / 0.8993 GB, free: 64.89 MB / 0.6042 GB 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.0002818/0.1612, allocations: 379.4 kB / 0.8997 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1613, allocations: 12.03 kB / 0.8997 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.23e-05/0.1613, allocations: 34.75 kB / 0.8997 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.1613, allocations: 0.9375 kB / 0.8997 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.954e-05/0.1614, allocations: 176.3 kB / 0.8999 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.1614, allocations: 8.359 kB / 0.8999 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.1614, allocations: 8.375 kB / 0.8999 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.594e-05/0.1615, allocations: 45.75 kB / 0.8999 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.1615, allocations: 0 / 0.8999 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.1615, allocations: 3.938 kB / 0.8999 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1615, allocations: 0 / 0.8999 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.1616, allocations: 11.98 kB / 0.8999 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.1617, allocations: 161.7 kB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.733e-05/0.1617, allocations: 38.61 kB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.1618, allocations: 20.89 kB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.1624, allocations: 0.9739 MB / 0.9011 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.1624, allocations: 50.44 kB / 0.9012 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1624, allocations: 0 / 0.9012 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001332/0.1625, allocations: 49.69 kB / 0.9012 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.1626, allocations: 55.41 kB / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.214e-05/0.1626, allocations: 105.8 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.1626, allocations: 25.7 kB / 0.9014 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.694e-05/0.1626, allocations: 84.14 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.1627, allocations: 19.73 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.1627, allocations: 17.72 kB / 0.9015 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.798e-05/0.1627, allocations: 310.8 kB / 0.9018 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.1627, allocations: 4 kB / 0.9018 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.1628, allocations: 15.92 kB / 0.9018 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.1628, allocations: 24.8 kB / 0.9018 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1628, allocations: 0 / 0.9018 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.229e-05/0.1629, allocations: 53.62 kB / 0.9019 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1629, allocations: 4 kB / 0.9019 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1629, allocations: 0 / 0.9019 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1629, allocations: 4 kB / 0.9019 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.163, allocations: 12 kB / 0.9019 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.163, allocations: 0 / 0.9019 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.1631, allocations: 4 kB / 0.9019 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.1631, allocations: 3.984 kB / 0.9019 GB, free: 61.76 MB / 0.6042 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 4.164e-05/0.1631, allocations: 113.8 kB / 0.902 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.1631, allocations: 12.17 kB / 0.902 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-05/0.1632, allocations: 61.58 kB / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1632, allocations: 4 kB / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1633, allocations: 0 / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1633, allocations: 0 / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.055e-05/0.1633, allocations: 161.7 kB / 0.9023 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1633, allocations: 0 / 0.9023 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.1634, allocations: 15.94 kB / 0.9023 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1634, allocations: 0 / 0.9023 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.1634, allocations: 0 / 0.9023 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1634, allocations: 4 kB / 0.9023 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1634, allocations: 3.984 kB / 0.9023 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.985e-05/0.1635, allocations: 88.91 kB / 0.9024 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.1635, allocations: 81.05 kB / 0.9024 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.1635, allocations: 0 / 0.9024 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.1636, allocations: 4 kB / 0.9024 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.1636, allocations: 0 / 0.9024 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1636, allocations: 0 / 0.9024 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.059e-05/0.1636, allocations: 91.27 kB / 0.9025 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1636, allocations: 0 / 0.9025 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000196/0.1638, allocations: 43.94 kB / 0.9026 GB, free: 60.98 MB / 0.6042 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.0003029/0.1641, allocations: 0.667 MB / 0.9032 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.658e-05/0.1642, allocations: 19.92 kB / 0.9032 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1642, allocations: 0 / 0.9032 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.1642, allocations: 12 kB / 0.9032 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.1644, allocations: 15.92 kB / 0.9033 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.1648, allocations: 195.8 kB / 0.9035 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.1649, allocations: 0.677 MB / 0.9041 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.981e-05/0.1649, allocations: 13.55 kB / 0.9041 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.1649, allocations: 19.42 kB / 0.9041 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.1649, allocations: 0 / 0.9041 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3289/0.4938, allocations: 1.972 MB / 0.9061 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.494, allocations: 312.8 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.07, allocations: 0 / 0.9064 GB, free: 57.16 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)