Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 3.259/3.259, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001681/0.00168, allocations: 185.3 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.506/2.506, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.00125/0.00125, allocations: 106.5 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.000482, allocations: 12.55 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2099, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001691/0.2116, allocations: 1.157 MB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2131, allocations: 0.8168 MB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.2132, allocations: 0 / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.2135, allocations: 39.81 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/0.2135, allocations: 23.94 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.2142, allocations: 163.4 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.756e-05/0.2143, allocations: 43.86 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.2143, allocations: 7.938 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.2144, allocations: 15.94 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.2144, allocations: 19.88 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2145, allocations: 0 / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.2148, allocations: 135.8 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.2149, allocations: 19.92 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.2149, allocations: 29.7 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2151, allocations: 76.09 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2151, allocations: 4 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2151, allocations: 0 / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.2151, allocations: 0 / 0.9808 GB, free: 25.7 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.0002988/0.2154, allocations: 367 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2155, allocations: 8.031 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.2155, allocations: 105.8 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.2156, allocations: 91.14 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.2158, allocations: 262.2 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.2158, allocations: 150.6 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.2158, allocations: 150.6 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.46e-05/0.2159, allocations: 101 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2159, allocations: 75.28 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.216, allocations: 158.6 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.216, allocations: 154.5 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.216, allocations: 154.6 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.2163, allocations: 465.9 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.136e-05/0.2163, allocations: 169.1 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2163, allocations: 83.27 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2164, allocations: 109.8 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.2164, allocations: 0 / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.121e-05/0.2165, allocations: 29.7 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.2165, allocations: 126.7 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2167, allocations: 147.6 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.2167, allocations: 29.7 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.2167, allocations: 84.14 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-06/0.2167, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.2167, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.813e-05/0.2168, allocations: 326.8 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.2168, allocations: 0 / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.2169, allocations: 8 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.2169, allocations: 4 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2169, allocations: 4.031 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.2171, allocations: 53.53 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2171, allocations: 5.562 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.2171, allocations: 7.938 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2171, allocations: 0 / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.2171, allocations: 0 / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2172, allocations: 0 / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.2172, allocations: 3.938 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2172, allocations: 4 kB / 0.9841 GB, free: 22.1 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 7.925e-05/0.2173, allocations: 191 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.2174, allocations: 116.8 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.2174, allocations: 108.8 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.2174, allocations: 180.3 kB / 0.9846 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.233e-05/0.2175, allocations: 180.2 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.2175, allocations: 176.3 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2177, allocations: 429.1 kB / 0.9854 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.872e-05/0.2177, allocations: 101 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.2178, allocations: 101 kB / 0.9856 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-05/0.2178, allocations: 184.2 kB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.2178, allocations: 176.3 kB / 0.9859 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.245e-05/0.2179, allocations: 192.2 kB / 0.9861 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.174e-05/0.2179, allocations: 180.5 kB / 0.9863 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.786e-05/0.218, allocations: 311.7 kB / 0.9866 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.2181, allocations: 190 kB / 0.9868 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.2181, allocations: 192.2 kB / 0.9869 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.2182, allocations: 101 kB / 0.987 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.2183, allocations: 176.3 kB / 0.9872 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.2183, allocations: 108.9 kB / 0.9873 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.2184, allocations: 107.2 kB / 0.9874 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2184, allocations: 0 / 0.9874 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003548/0.2187, allocations: 32 kB / 0.9874 GB, free: 18.42 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.0004769/0.2192, allocations: 0.8554 MB / 0.9883 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.2193, allocations: 41.64 kB / 0.9883 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2194, allocations: 0 / 0.9883 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.2194, allocations: 0 / 0.9883 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.2197, allocations: 0.5303 MB / 0.9888 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.2203, allocations: 446.1 kB / 0.9893 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.2205, allocations: 0.6926 MB / 0.9899 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.2205, allocations: 0 / 0.9899 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.2205, allocations: 15.44 kB / 0.9899 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of SimCode: time 7.61e-07/0.2206, allocations: 3.938 kB / 0.99 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.2449, allocations: 2.417 MB / 0.9923 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/0.2452, allocations: 220.8 kB / 0.9925 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/2.596, allocations: 0 / 0.9925 GB, free: 13.29 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)