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.SingleUTubeResistances.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.SingleUTubeResistances,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.645/1.645, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001282/0.001282, allocations: 178.2 kB / 326.5 MB, free: 2.227 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.818/1.818, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.001006/0.001006, allocations: 91.98 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004059, allocations: 16.34 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 106.3 MB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001497/0.2234, allocations: 1.162 MB / 0.9013 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2245, allocations: 0.8396 MB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.2246, allocations: 3.938 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.2248, allocations: 39.83 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.315e-05/0.2248, allocations: 19.95 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.2252, allocations: 163.9 kB / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.421e-05/0.2253, allocations: 35.92 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.2253, allocations: 8 kB / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.613e-05/0.2254, allocations: 23.86 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.165e-05/0.2254, allocations: 11.94 kB / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.2255, allocations: 0 / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.2257, allocations: 143.8 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.866e-06/0.2257, allocations: 3.938 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.2258, allocations: 33.7 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2259, allocations: 84.08 kB / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2259, allocations: 0 / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2259, allocations: 4 kB / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.2259, allocations: 3.938 kB / 0.9027 GB, free: 61.75 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000275/0.2262, allocations: 355.1 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2263, allocations: 8.031 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.2263, allocations: 113.8 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.2264, allocations: 87.23 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2265, allocations: 254.2 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.2266, allocations: 158.5 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.2266, allocations: 150.6 kB / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.51e-05/0.2266, allocations: 109 kB / 0.9038 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2267, allocations: 75.28 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.2267, allocations: 150.6 kB / 0.9041 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.2267, allocations: 150.6 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.2267, allocations: 154.6 kB / 0.9043 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.227, allocations: 469.8 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.977e-05/0.227, allocations: 165.1 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.227, allocations: 75.28 kB / 0.905 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2271, allocations: 121.9 kB / 0.9051 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.113e-06/0.2271, allocations: 0 / 0.9051 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.853e-05/0.2271, allocations: 33.55 kB / 0.9052 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2272, allocations: 130.7 kB / 0.9053 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2273, allocations: 132.8 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.2273, allocations: 25.7 kB / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.2273, allocations: 88.14 kB / 0.9055 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.2273, allocations: 8 kB / 0.9055 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.2274, allocations: 0 / 0.9055 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.2274, allocations: 322.8 kB / 0.9058 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.2274, allocations: 4 kB / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.2275, allocations: 3.938 kB / 0.9059 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.2275, allocations: 8 kB / 0.9059 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2275, allocations: 0 / 0.9059 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001104/0.2276, allocations: 49.59 kB / 0.9059 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2276, allocations: 8 kB / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.2276, allocations: 0 / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2277, allocations: 8 kB / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.2277, allocations: 0 / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.2277, allocations: 3.938 kB / 0.9059 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.2277, allocations: 4 kB / 0.9059 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.2277, allocations: 0 / 0.9059 GB, free: 58.17 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 (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.025e-05/0.2278, allocations: 189.6 kB / 0.9061 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.2278, allocations: 108.9 kB / 0.9062 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.2279, allocations: 120.8 kB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.2279, allocations: 176.3 kB / 0.9065 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.392e-05/0.2279, allocations: 180.2 kB / 0.9067 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/0.2279, allocations: 180.2 kB / 0.9068 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.2281, allocations: 417.2 kB / 0.9072 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.2281, allocations: 105 kB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/0.2281, allocations: 113 kB / 0.9075 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-05/0.2282, allocations: 180.2 kB / 0.9076 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.2282, allocations: 180.2 kB / 0.9078 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.096e-05/0.2282, allocations: 176.3 kB / 0.908 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-05/0.2283, allocations: 184.4 kB / 0.9081 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.485e-05/0.2284, allocations: 323.7 kB / 0.9084 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.2284, allocations: 185.9 kB / 0.9086 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.2284, allocations: 180.3 kB / 0.9088 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.2285, allocations: 108.9 kB / 0.9089 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.2285, allocations: 180.2 kB / 0.9091 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.2286, allocations: 113 kB / 0.9092 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.2286, allocations: 95.27 kB / 0.9093 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.02e-07/0.2286, allocations: 0 / 0.9093 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000265/0.2289, allocations: 35.88 kB / 0.9093 GB, free: 54.48 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 (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.0003595/0.2293, allocations: 0.8517 MB / 0.9101 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.2293, allocations: 37.69 kB / 0.9102 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2293, allocations: 0 / 0.9102 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.2294, allocations: 3.938 kB / 0.9102 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.2296, allocations: 0.5323 MB / 0.9107 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.2302, allocations: 454 kB / 0.9111 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.2304, allocations: 0.6926 MB / 0.9118 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.2304, allocations: 4 kB / 0.9118 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.2304, allocations: 15.42 kB / 0.9118 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.2305, allocations: 0 / 0.9118 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.2436, allocations: 2.423 MB / 0.9142 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/0.2438, allocations: 227.8 kB / 0.9144 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.745, allocations: 0 / 0.9144 GB, free: 49.35 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)