Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.543/1.543, allocations: 288.4 MB / 303.6 MB, free: 8.051 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009399/0.0009398, allocations: 180.4 kB / 372.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.4 MB / 0.631 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007516/0.0007515, allocations: 108.1 kB / 0.7444 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 11.91 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1672, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001196/0.1685, allocations: 1.002 MB / 0.9812 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003032/0.1715, allocations: 3.514 MB / 0.9846 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.1716, allocations: 0 / 0.9846 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.1716, allocations: 0 / 0.9846 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.172, allocations: 91.55 kB / 0.9847 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.1723, allocations: 93.5 kB / 0.9848 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.1724, allocations: 27.86 kB / 0.9848 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.1724, allocations: 3.984 kB / 0.9848 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.1725, allocations: 23.92 kB / 0.9848 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.1726, allocations: 39.89 kB / 0.9849 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.1726, allocations: 0 / 0.9849 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.173, allocations: 287.6 kB / 0.9851 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.173, allocations: 0 / 0.9851 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.173, allocations: 45.62 kB / 0.9852 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1732, allocations: 80.09 kB / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1732, allocations: 0 / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1732, allocations: 0 / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.1732, allocations: 0 / 0.9853 GB, free: 22.04 MB / 0.6198 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.0002801/0.1735, allocations: 361.1 kB / 0.9856 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1735, allocations: 8.031 kB / 0.9856 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.1735, allocations: 30.75 kB / 0.9856 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.839e-05/0.1736, allocations: 0.9375 kB / 0.9857 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.859e-05/0.1736, allocations: 176.2 kB / 0.9858 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.1737, allocations: 4.375 kB / 0.9858 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.1737, allocations: 384 / 0.9858 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.568e-05/0.1738, allocations: 37.64 kB / 0.9859 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1738, allocations: 4 kB / 0.9859 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.1738, allocations: 0 / 0.9859 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1738, allocations: 0 / 0.9859 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.032e-05/0.1738, allocations: 7.984 kB / 0.9859 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.1739, allocations: 153.6 kB / 0.986 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.321e-05/0.174, allocations: 38.53 kB / 0.9861 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.174, allocations: 8.922 kB / 0.9861 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.1742, allocations: 97.03 kB / 0.9862 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.1743, allocations: 30.56 kB / 0.9862 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1743, allocations: 0 / 0.9862 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000132/0.1744, allocations: 49.69 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.1744, allocations: 51.41 kB / 0.9863 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.1745, allocations: 101.8 kB / 0.9864 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.463e-06/0.1745, allocations: 29.7 kB / 0.9864 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.1745, allocations: 84.12 kB / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1745, allocations: 3.906 kB / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.1745, allocations: 0 / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.1746, allocations: 318.8 kB / 0.9868 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.1746, allocations: 8.125 kB / 0.9868 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.1746, allocations: 0 / 0.9868 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.1746, allocations: 12.86 kB / 0.9868 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1747, allocations: 0 / 0.9868 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.559e-05/0.1747, allocations: 45.62 kB / 0.9869 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1747, allocations: 8 kB / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.1747, allocations: 0 / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1748, allocations: 3.938 kB / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-05/0.1748, allocations: 7.938 kB / 0.9869 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1748, allocations: 4.094 kB / 0.9869 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.1748, allocations: 0 / 0.9869 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.1749, allocations: 0 / 0.9869 GB, free: 20.15 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.1749, allocations: 111.4 kB / 0.987 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.1749, allocations: 11.92 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.923e-05/0.175, allocations: 40.83 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.175, allocations: 0 / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.175, allocations: 8.031 kB / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.175, allocations: 3.984 kB / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.903e-05/0.1751, allocations: 153.5 kB / 0.9872 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1751, allocations: 3.938 kB / 0.9872 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.1751, allocations: 11.92 kB / 0.9872 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1751, allocations: 0 / 0.9872 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1752, allocations: 4 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1752, allocations: 3.938 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1752, allocations: 0 / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.869e-05/0.1752, allocations: 65.14 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.1753, allocations: 85.03 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.1753, allocations: 0 / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/0.1753, allocations: 256 / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.1753, allocations: 4 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1753, allocations: 4 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.808e-05/0.1753, allocations: 83.27 kB / 0.9874 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1754, allocations: 0 / 0.9874 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001978/0.1756, allocations: 24 kB / 0.9875 GB, free: 19.44 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002718/0.1758, allocations: 0.6358 MB / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.817e-05/0.1759, allocations: 8 kB / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1759, allocations: 0 / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.1759, allocations: 12.08 kB / 0.9881 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.1761, allocations: 11.84 kB / 0.9881 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.1764, allocations: 203.9 kB / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.928e-05/0.1765, allocations: 0.6731 MB / 0.989 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.1766, allocations: 7.984 kB / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.1766, allocations: 11.44 kB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1766, allocations: 0 / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1547/0.3313, allocations: 1.447 MB / 0.9904 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.3315, allocations: 230.2 kB / 0.9906 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.913, allocations: 4.062 kB / 0.9906 GB, free: 16.3 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)