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.474/1.474, 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.001059/0.001059, allocations: 170.8 kB / 326.5 MB, free: 2.23 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.931/1.931, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.000911/0.000911, allocations: 99.05 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 9.625 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2424, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00134/0.2438, allocations: 1.001 MB / 0.9011 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003155/0.247, allocations: 3.286 MB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.247, allocations: 0 / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.2471, allocations: 3.938 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.2475, allocations: 79.77 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.2477, allocations: 97.48 kB / 0.9045 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.108e-05/0.2478, allocations: 11.98 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.2478, allocations: 4 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.2479, allocations: 27.91 kB / 0.9046 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.169e-05/0.248, allocations: 31.89 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2481, allocations: 0 / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.2484, allocations: 287.6 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-06/0.2485, allocations: 7.984 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.2485, allocations: 29.7 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2486, allocations: 75.88 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2486, allocations: 0 / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2486, allocations: 0 / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2487, allocations: 0 / 0.905 GB, free: 58.84 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.0002992/0.249, allocations: 347.6 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.249, allocations: 12.03 kB / 0.9053 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.249, allocations: 34.5 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.2491, allocations: 11.86 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.2492, allocations: 171 kB / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.2492, allocations: 0 / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2492, allocations: 0 / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.191e-05/0.2493, allocations: 33.7 kB / 0.9056 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2493, allocations: 0 / 0.9056 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2493, allocations: 0 / 0.9056 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2493, allocations: 11.83 kB / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.2494, allocations: 4 kB / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.2495, allocations: 157.7 kB / 0.9057 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/0.2496, allocations: 30.53 kB / 0.9058 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.2498, allocations: 97.16 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.2498, allocations: 30.56 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2498, allocations: 0 / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001328/0.25, allocations: 45.69 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.25, allocations: 51.41 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.21e-05/0.25, allocations: 109.8 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.2501, allocations: 29.7 kB / 0.9061 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.805e-05/0.2501, allocations: 84.14 kB / 0.9062 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.2501, allocations: 7.891 kB / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.2501, allocations: 0 / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.2502, allocations: 311 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.2502, allocations: 8 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.2502, allocations: 4 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.694e-05/0.2502, allocations: 4 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2502, allocations: 0 / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.121e-05/0.2503, allocations: 41.69 kB / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2503, allocations: 4 kB / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2503, allocations: 0 / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2503, allocations: 0 / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.2504, allocations: 4 kB / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2504, allocations: 4.094 kB / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.2504, allocations: 3.938 kB / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.2504, allocations: 3.953 kB / 0.9066 GB, free: 56.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.2505, allocations: 113.8 kB / 0.9067 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.2505, allocations: 3.906 kB / 0.9067 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2506, allocations: 48.81 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2506, allocations: 0 / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2506, allocations: 4.031 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2507, allocations: 3.984 kB / 0.9067 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.474e-05/0.2507, allocations: 157.6 kB / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2507, allocations: 0 / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.2508, allocations: 7.938 kB / 0.9069 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2508, allocations: 0 / 0.9069 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2508, allocations: 3.938 kB / 0.9069 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2508, allocations: 3.984 kB / 0.9069 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2508, allocations: 0 / 0.9069 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.494e-05/0.2509, allocations: 73.03 kB / 0.907 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.2509, allocations: 81.09 kB / 0.907 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2509, allocations: 4 kB / 0.907 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.2509, allocations: 0 / 0.907 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.251, allocations: 0 / 0.907 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.251, allocations: 0 / 0.907 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.348e-05/0.251, allocations: 83.28 kB / 0.9071 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.251, allocations: 0 / 0.9071 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002016/0.2512, allocations: 31.92 kB / 0.9072 GB, free: 56.26 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 (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.0003089/0.2515, allocations: 0.6357 MB / 0.9078 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.741e-05/0.2516, allocations: 12 kB / 0.9078 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2516, allocations: 0 / 0.9078 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/0.2516, allocations: 8.094 kB / 0.9078 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.2518, allocations: 6.031 kB / 0.9078 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.2521, allocations: 190.5 kB / 0.908 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.2523, allocations: 0.6809 MB / 0.9086 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.2523, allocations: 8.062 kB / 0.9087 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.2524, allocations: 12.78 kB / 0.9087 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2524, allocations: 0 / 0.9087 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.2652, allocations: 1.428 MB / 0.9101 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.2654, allocations: 222.3 kB / 0.9103 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.825, allocations: 5.797 kB / 0.9103 GB, free: 53.16 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)