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.SingleUTubeResistances.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.SingleUTubeResistances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.668/1.668, allocations: 288.4 MB / 303.3 MB, free: 8.125 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.001/0.001, allocations: 185.7 kB / 372 MB, free: 10.27 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.427/1.427, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008277/0.0008278, allocations: 95.91 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003734, allocations: 16.05 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1979, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001406/0.1993, allocations: 1.173 MB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2004, allocations: 0.8747 MB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.2005, allocations: 4 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.2007, allocations: 35.84 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.387e-05/0.2007, allocations: 19.78 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.2012, allocations: 171.2 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.2013, allocations: 43.73 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.2013, allocations: 4 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.266e-05/0.2014, allocations: 23.86 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.002e-05/0.2015, allocations: 11.94 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.2015, allocations: 4 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.2017, allocations: 139.8 kB / 0.9821 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.2018, allocations: 8 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.2018, allocations: 33.64 kB / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.2019, allocations: 80.08 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2019, allocations: 0 / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2019, allocations: 0 / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.202, allocations: 0 / 0.9822 GB, free: 24.93 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002594/0.2022, allocations: 371.1 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2023, allocations: 8.031 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.571e-05/0.2023, allocations: 105.8 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.2023, allocations: 83.19 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.2025, allocations: 262.1 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.2025, allocations: 150.6 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.2026, allocations: 150.6 kB / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.222e-05/0.2026, allocations: 108.9 kB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2026, allocations: 75.28 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.2027, allocations: 154.5 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.2027, allocations: 150.6 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.489e-05/0.2027, allocations: 158.5 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.2029, allocations: 465.9 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.623e-05/0.203, allocations: 177.1 kB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.203, allocations: 84.12 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.203, allocations: 75.28 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.203, allocations: 109.8 kB / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.203, allocations: 0 / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.335e-05/0.2031, allocations: 29.7 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2031, allocations: 126.7 kB / 0.9849 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.2032, allocations: 135.6 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.2033, allocations: 29.7 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.2033, allocations: 92.12 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.2033, allocations: 0 / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.2033, allocations: 0 / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.2034, allocations: 326.7 kB / 0.9855 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.2034, allocations: 4 kB / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/0.2034, allocations: 4 kB / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/0.2034, allocations: 11.92 kB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2034, allocations: 0 / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.939e-05/0.2035, allocations: 45.61 kB / 0.9855 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2036, allocations: 4 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.2036, allocations: 4 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2036, allocations: 0 / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.2036, allocations: 4.062 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2036, allocations: 3.984 kB / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.2037, allocations: 3.938 kB / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.2037, allocations: 4 kB / 0.9856 GB, free: 21.25 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.155e-05/0.2037, allocations: 190.6 kB / 0.9858 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.2038, allocations: 116.9 kB / 0.9859 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.2038, allocations: 104.9 kB / 0.986 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.2038, allocations: 192.2 kB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-05/0.2039, allocations: 176.3 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/0.2039, allocations: 180.3 kB / 0.9865 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.204, allocations: 421.1 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.2041, allocations: 105 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.2041, allocations: 108.9 kB / 0.9871 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.674e-05/0.2041, allocations: 188.2 kB / 0.9873 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.2041, allocations: 180.3 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.519e-05/0.2042, allocations: 180.4 kB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.65e-05/0.2042, allocations: 180.3 kB / 0.9878 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.326e-05/0.2043, allocations: 315.8 kB / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.2043, allocations: 186 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.2044, allocations: 184.2 kB / 0.9884 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/0.2044, allocations: 109 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.2045, allocations: 180.2 kB / 0.9887 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.2045, allocations: 105 kB / 0.9888 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.2045, allocations: 101 kB / 0.9889 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2045, allocations: 4 kB / 0.9889 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002634/0.2048, allocations: 28 kB / 0.9889 GB, free: 17.58 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 (0): * Single equations (assignments): 0 * 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.0003578/0.2052, allocations: 0.8632 MB / 0.9898 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.2053, allocations: 37.7 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2053, allocations: 0 / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.023e-06/0.2053, allocations: 0 / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.2056, allocations: 0.5263 MB / 0.9903 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.2063, allocations: 0.55 MB / 0.9909 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.2064, allocations: 0.6888 MB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.489e-05/0.2065, allocations: 7.922 kB / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.2065, allocations: 15.38 kB / 0.9916 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2065, allocations: 0 / 0.9916 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.2188, allocations: 2.485 MB / 0.994 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.219, allocations: 228.5 kB / 0.9942 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.871, allocations: 2.031 kB / 0.9942 GB, free: 12.28 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)