Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.255/1.255, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0009561/0.000956, allocations: 175.7 kB / 325.8 MB, free: 2.711 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.318/1.318, allocations: 205 MB / 0.576 GB, free: 21 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.0006962/0.0006962, allocations: 90.77 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 10.12 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1535, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001016/0.1545, allocations: 1.025 MB / 0.8972 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002739/0.1573, allocations: 3.781 MB / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.34e-05/0.1573, allocations: 0 / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.1573, allocations: 0 / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.1576, allocations: 91.55 kB / 0.901 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.1578, allocations: 87.77 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.779e-05/0.1579, allocations: 31.86 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 2.857e-05/0.1579, allocations: 3.984 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.158, allocations: 27.86 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.597e-05/0.1581, allocations: 35.91 kB / 0.9012 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.645e-06/0.1581, allocations: 0 / 0.9012 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.1584, allocations: 303.6 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.1584, allocations: 3.984 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.1584, allocations: 11.94 kB / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1586, allocations: 116 kB / 0.9016 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1586, allocations: 7.875 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1586, allocations: 0 / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.1586, allocations: 0 / 0.9016 GB, free: 62.55 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002266/0.1588, allocations: 347.5 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.1589, allocations: 19.95 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.127e-05/0.1589, allocations: 30.75 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.81e-05/0.1589, allocations: 8.844 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.788e-05/0.159, allocations: 160.4 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.159, allocations: 4.375 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-06/0.159, allocations: 384 / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.589e-05/0.1591, allocations: 41.62 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-06/0.1591, allocations: 0 / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.1591, allocations: 0 / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1591, allocations: 0 / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.1591, allocations: 4 kB / 0.9022 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.777e-05/0.1592, allocations: 157.7 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.576e-05/0.1593, allocations: 26.55 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.1593, allocations: 16.84 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.1595, allocations: 97.09 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.1595, allocations: 42.55 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1595, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001025/0.1596, allocations: 41.64 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.564e-05/0.1596, allocations: 55.41 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.092e-05/0.1597, allocations: 97.84 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.1597, allocations: 29.7 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.29e-05/0.1597, allocations: 80.14 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.1597, allocations: 11.84 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.1597, allocations: 9.719 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.268e-05/0.1598, allocations: 319 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.1598, allocations: 4 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.1598, allocations: 3.984 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.28e-05/0.1598, allocations: 16.8 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1598, allocations: 0 / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.617e-05/0.1599, allocations: 45.58 kB / 0.9032 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1599, allocations: 4 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1599, allocations: 4.094 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.1599, allocations: 4 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.939e-05/0.16, allocations: 0 / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.16, allocations: 7.984 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.16, allocations: 3.906 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.16, allocations: 0 / 0.9032 GB, free: 60.64 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 (2): * Single equations (assignments): 2 * 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 3.38e-05/0.1601, allocations: 105.8 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.1601, allocations: 11.88 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.1602, allocations: 52.81 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1602, allocations: 0 / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1602, allocations: 7.938 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.1602, allocations: 0 / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.782e-05/0.1602, allocations: 153.7 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1602, allocations: 3.938 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.1603, allocations: 4 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1603, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1603, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1603, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1603, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.264e-05/0.1603, allocations: 69.16 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.1604, allocations: 88.95 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.1604, allocations: 0 / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.1604, allocations: 0 / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.1604, allocations: 7.984 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1604, allocations: 0 / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.7e-05/0.1605, allocations: 83.53 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/0.1605, allocations: 4.031 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001708/0.1606, allocations: 23.94 kB / 0.9038 GB, free: 59.93 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 (2): * Single equations (assignments): 2 * 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.000227/0.1609, allocations: 0.6397 MB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.069e-05/0.1609, allocations: 8 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1609, allocations: 8.031 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/0.1609, allocations: 7.938 kB / 0.9044 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.1611, allocations: 5.969 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.1614, allocations: 163.2 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.36e-05/0.1615, allocations: 0.6731 MB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.437e-05/0.1615, allocations: 15.98 kB / 0.9053 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.1615, allocations: 7.438 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.91e-07/0.1615, allocations: 0 / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2222/0.3838, allocations: 1.464 MB / 0.9067 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/0.3839, allocations: 240 kB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.995, allocations: 8 kB / 0.907 GB, free: 56.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)