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.ConvectionResistance.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.ConvectionResistance,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 252 MB / 267.3 MB, free: 10.82 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.001065/0.001065, allocations: 178.8 kB / 327 MB, free: 2.102 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.469/1.469, allocations: 205.4 MB / 0.578 GB, free: 20.45 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.0007914/0.0007914, allocations: 100.5 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003574, allocations: 13.53 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1886, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001303/0.19, allocations: 1.025 MB / 0.9019 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003442/0.1935, allocations: 3.722 MB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.1935, allocations: 4 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.1936, allocations: 0 / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.194, allocations: 87.55 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.1943, allocations: 91.7 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.1944, allocations: 31.91 kB / 0.9058 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.1944, allocations: 4 kB / 0.9058 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1945, allocations: 19.92 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.1946, allocations: 43.83 kB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.1946, allocations: 0 / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.195, allocations: 299.6 kB / 0.9061 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.1951, allocations: 0 / 0.9061 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.1951, allocations: 37.64 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.1953, allocations: 119.8 kB / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1953, allocations: 0 / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1953, allocations: 0 / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1954, allocations: 0 / 0.9063 GB, free: 58.22 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000287/0.1956, allocations: 351.8 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1957, allocations: 8.031 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.383e-05/0.1957, allocations: 34.75 kB / 0.9066 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.1958, allocations: 4.844 kB / 0.9066 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.355e-05/0.1958, allocations: 164.3 kB / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.1958, allocations: 4.375 kB / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.1959, allocations: 8.312 kB / 0.9068 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.986e-05/0.1959, allocations: 41.62 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.196, allocations: 0 / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.196, allocations: 0 / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.196, allocations: 0 / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.196, allocations: 4 kB / 0.9069 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.1961, allocations: 153.7 kB / 0.907 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/0.1962, allocations: 22.58 kB / 0.907 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.1962, allocations: 16.86 kB / 0.907 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.1964, allocations: 101 kB / 0.9071 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.1965, allocations: 38.56 kB / 0.9072 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1965, allocations: 0 / 0.9072 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001253/0.1966, allocations: 41.77 kB / 0.9072 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.1966, allocations: 55.41 kB / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.976e-05/0.1967, allocations: 105.8 kB / 0.9074 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.1967, allocations: 29.7 kB / 0.9074 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.1967, allocations: 80.14 kB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1967, allocations: 7.906 kB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.1968, allocations: 0 / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.711e-05/0.1968, allocations: 310.8 kB / 0.9078 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.1968, allocations: 11.92 kB / 0.9078 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-06/0.1968, allocations: 8 kB / 0.9078 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.1969, allocations: 8.859 kB / 0.9078 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1969, allocations: 4 kB / 0.9078 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.458e-05/0.1969, allocations: 41.64 kB / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1969, allocations: 6.812 kB / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.197, allocations: 0 / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.197, allocations: 0 / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.545e-05/0.197, allocations: 7.984 kB / 0.9079 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.197, allocations: 8.078 kB / 0.9079 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1971, allocations: 7.906 kB / 0.9079 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1971, allocations: 3.938 kB / 0.9079 GB, free: 56.32 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 (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.777e-05/0.1971, allocations: 105.8 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.1972, allocations: 3.938 kB / 0.908 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1973, allocations: 48.81 kB / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1973, allocations: 3.984 kB / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1973, allocations: 0 / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1973, allocations: 4.031 kB / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.687e-05/0.1974, allocations: 157.7 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1974, allocations: 8.188 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.1974, allocations: 4 kB / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1974, allocations: 0 / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.1974, allocations: 4 kB / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1974, allocations: 0 / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1974, allocations: 0 / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.223e-05/0.1975, allocations: 73.06 kB / 0.9083 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.1975, allocations: 88.95 kB / 0.9084 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.1976, allocations: 0 / 0.9084 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.473e-05/0.1976, allocations: 0 / 0.9084 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.1976, allocations: 11.92 kB / 0.9084 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.1976, allocations: 3.938 kB / 0.9084 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.391e-05/0.1976, allocations: 79.28 kB / 0.9085 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1976, allocations: 0 / 0.9085 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002039/0.1979, allocations: 23.94 kB / 0.9085 GB, free: 55.61 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 (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.0003117/0.1982, allocations: 0.6398 MB / 0.9091 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.378e-05/0.1982, allocations: 8 kB / 0.9091 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1983, allocations: 0 / 0.9091 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.1983, allocations: 4 kB / 0.9091 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1985, allocations: 9.578 kB / 0.9091 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.1988, allocations: 182.1 kB / 0.9093 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.1989, allocations: 0.677 MB / 0.91 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.199, allocations: 8 kB / 0.91 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.199, allocations: 7.438 kB / 0.91 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.199, allocations: 0 / 0.91 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.2096, allocations: 1.454 MB / 0.9114 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.2098, allocations: 243.1 kB / 0.9116 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.847, allocations: 2.75 kB / 0.9116 GB, free: 52.48 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)