Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001023/0.001023, allocations: 191.4 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 292.3 MB / 0.5484 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.03 kB / 0.6709 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1604, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002069/0.1625, allocations: 1.356 MB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.166, allocations: 3.769 MB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.3e-05/0.166, allocations: 3.938 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.166, allocations: 0 / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.1664, allocations: 83.61 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1666, allocations: 99.7 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.222e-05/0.1666, allocations: 27.91 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.296e-05/0.1667, allocations: 0 / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.1667, allocations: 27.86 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.1668, allocations: 39.89 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.1668, allocations: 3.938 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.1672, allocations: 303.6 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.1672, allocations: 0 / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.1673, allocations: 7.938 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1674, allocations: 124 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1675, allocations: 0 / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.82e-07/0.1675, allocations: 0 / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.1675, allocations: 4 kB / 0.7885 GB, free: 8.027 MB / 0.6075 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.0003031/0.1678, allocations: 355.4 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1678, allocations: 12.03 kB / 0.7889 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.318e-05/0.1678, allocations: 30.75 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.677e-05/0.1679, allocations: 0.9375 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.168, allocations: 172.3 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-06/0.168, allocations: 4.375 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.168, allocations: 384 / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.976e-05/0.1681, allocations: 37.58 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-06/0.1681, allocations: 0 / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1681, allocations: 4 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1681, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.772e-05/0.1681, allocations: 7.984 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.1682, allocations: 149.7 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/0.1683, allocations: 30.59 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.1683, allocations: 8.859 kB / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.1685, allocations: 105.1 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.1686, allocations: 34.5 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.1686, allocations: 0 / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001091/0.1687, allocations: 41.81 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.1687, allocations: 59.41 kB / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.1688, allocations: 101.9 kB / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1688, allocations: 29.69 kB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.1688, allocations: 84.14 kB / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.1688, allocations: 3.906 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.1689, allocations: 17.66 kB / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.169, allocations: 314.8 kB / 0.79 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.169, allocations: 8 kB / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-06/0.169, allocations: 0 / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.169, allocations: 20.78 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.169, allocations: 0 / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.824e-05/0.1691, allocations: 41.64 kB / 0.7901 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1691, allocations: 4 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1691, allocations: 3.938 kB / 0.7901 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/0.1691, allocations: 4 kB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.014e-05/0.1692, allocations: 0 / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1692, allocations: 8.094 kB / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.1692, allocations: 0 / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.1692, allocations: 0 / 0.7901 GB, free: 6.117 MB / 0.6075 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 5.635e-05/0.1693, allocations: 110.5 kB / 0.7902 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.1693, allocations: 11.84 kB / 0.7902 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.908e-05/0.1694, allocations: 52.75 kB / 0.7903 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1694, allocations: 3.984 kB / 0.7903 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1694, allocations: 4.031 kB / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1694, allocations: 4 kB / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.236e-05/0.1695, allocations: 157.6 kB / 0.7905 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1695, allocations: 3.938 kB / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.1695, allocations: 4 kB / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1695, allocations: 0 / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1695, allocations: 0 / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1695, allocations: 0 / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1696, allocations: 0 / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.034e-05/0.1696, allocations: 77.06 kB / 0.7905 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1697, allocations: 81.05 kB / 0.7906 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.1697, allocations: 0 / 0.7906 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.1697, allocations: 0 / 0.7906 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.1697, allocations: 4.25 kB / 0.7906 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1697, allocations: 0 / 0.7906 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.1698, allocations: 87.27 kB / 0.7907 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1698, allocations: 0 / 0.7907 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001902/0.17, allocations: 24 kB / 0.7907 GB, free: 5.402 MB / 0.6075 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.0003508/0.1703, allocations: 0.6396 MB / 0.7913 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.388e-05/0.1704, allocations: 11.98 kB / 0.7914 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1704, allocations: 0 / 0.7914 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.387e-05/0.1704, allocations: 8 kB / 0.7914 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.1706, allocations: 8.156 kB / 0.7914 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.1709, allocations: 171 kB / 0.7915 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.1711, allocations: 0.6731 MB / 0.7922 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.1711, allocations: 8 kB / 0.7922 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.1712, allocations: 11.42 kB / 0.7922 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.1712, allocations: 0 / 0.7922 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2003/0.3715, allocations: 1.508 MB / 0.7937 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.3717, allocations: 235.2 kB / 0.7939 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.964, allocations: 0 / 0.7939 GB, free: 2.176 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)