Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.494/1.494, allocations: 252 MB / 267.3 MB, free: 10.85 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.00103/0.00103, allocations: 176.2 kB / 327 MB, free: 2.094 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.837/1.837, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007864/0.0007867, allocations: 90.31 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 8.719 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2484, allocations: 106.3 MB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001621/0.2501, allocations: 1.088 MB / 0.902 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.2517, allocations: 1.139 MB / 0.9031 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.2518, allocations: 0 / 0.9031 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.2518, allocations: 3.938 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.2519, allocations: 15.86 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.2525, allocations: 151.6 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.2525, allocations: 31.86 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.065e-05/0.2526, allocations: 3.938 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2527, allocations: 15.98 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.2528, allocations: 15.92 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2528, allocations: 4 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005573/0.2534, allocations: 415.4 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.2534, allocations: 3.984 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.2535, allocations: 41.58 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.2538, allocations: 191.9 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2538, allocations: 0 / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.517e-06/0.2538, allocations: 0 / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.2538, allocations: 0 / 0.904 GB, free: 60.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004217/0.2542, allocations: 379.4 kB / 0.9044 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.2543, allocations: 12.03 kB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.2543, allocations: 30.75 kB / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.2544, allocations: 0.9375 kB / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2545, allocations: 184.2 kB / 0.9046 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2545, allocations: 384 / 0.9046 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.2545, allocations: 4.375 kB / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.2546, allocations: 41.81 kB / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2546, allocations: 0 / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.2546, allocations: 0 / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2547, allocations: 4 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.2547, allocations: 8 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.2549, allocations: 161.7 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.177e-05/0.255, allocations: 42.52 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.255, allocations: 20.86 kB / 0.9049 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008421/0.2559, allocations: 0.9817 MB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.2559, allocations: 38.5 kB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2559, allocations: 0 / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001788/0.2561, allocations: 53.69 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2561, allocations: 63.34 kB / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.2562, allocations: 105.8 kB / 0.9061 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2563, allocations: 25.7 kB / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.2563, allocations: 88.12 kB / 0.9062 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.2563, allocations: 11.81 kB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.2563, allocations: 0 / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.2564, allocations: 314.8 kB / 0.9065 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.2564, allocations: 7.984 kB / 0.9065 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.2565, allocations: 8 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.2565, allocations: 24.8 kB / 0.9065 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2565, allocations: 0 / 0.9065 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.923e-05/0.2566, allocations: 61.84 kB / 0.9066 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2566, allocations: 4 kB / 0.9066 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2566, allocations: 0 / 0.9066 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2566, allocations: 4.031 kB / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.2568, allocations: 15.98 kB / 0.9066 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2568, allocations: 4 kB / 0.9066 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.2568, allocations: 0 / 0.9066 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.2568, allocations: 8 kB / 0.9066 GB, free: 57.07 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 (4): * Single equations (assignments): 4 * 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 6.215e-05/0.2569, allocations: 105.8 kB / 0.9067 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.2569, allocations: 11.84 kB / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.257, allocations: 66.56 kB / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.257, allocations: 3.938 kB / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2571, allocations: 0 / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2571, allocations: 0 / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.953e-05/0.2572, allocations: 157.7 kB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2572, allocations: 0 / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.2572, allocations: 23.92 kB / 0.907 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2572, allocations: 0 / 0.907 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.2573, allocations: 0 / 0.907 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2573, allocations: 3.938 kB / 0.907 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2573, allocations: 0 / 0.907 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.846e-05/0.2574, allocations: 81.03 kB / 0.907 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.2574, allocations: 84.98 kB / 0.9071 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2574, allocations: 0 / 0.9071 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.137e-05/0.2575, allocations: 4 kB / 0.9071 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.2575, allocations: 7.984 kB / 0.9071 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2575, allocations: 0 / 0.9071 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.621e-05/0.2575, allocations: 87.22 kB / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2575, allocations: 0 / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002202/0.2577, allocations: 43.98 kB / 0.9073 GB, free: 56.3 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 (4): * Single equations (assignments): 4 * 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.0005207/0.2583, allocations: 0.6631 MB / 0.9079 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.2584, allocations: 23.94 kB / 0.9079 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.2584, allocations: 0 / 0.9079 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/0.2584, allocations: 11.98 kB / 0.9079 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.0002674/0.2587, allocations: 11.94 kB / 0.908 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.2592, allocations: 215.8 kB / 0.9082 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2593, allocations: 0.6809 MB / 0.9088 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.2594, allocations: 14.38 kB / 0.9088 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.2594, allocations: 11.44 kB / 0.9089 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2594, allocations: 7.938 kB / 0.9089 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.2717, allocations: 1.969 MB / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.272, allocations: 304.7 kB / 0.9111 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.075, allocations: 2.062 kB / 0.9111 GB, free: 52.46 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)