Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.582/2.582, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.001392/0.001391, allocations: 183.5 kB / 371 MB, free: 10.87 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.102/2.102, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.000967/0.0009665, allocations: 93.67 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005118, allocations: 12.77 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2201, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001505/0.2216, allocations: 1.064 MB / 0.9796 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2236, allocations: 1.055 MB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.2236, allocations: 8 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2236, allocations: 0 / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.2237, allocations: 3.938 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.2243, allocations: 152.9 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.2244, allocations: 27.86 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.2245, allocations: 11.98 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.2245, allocations: 23.84 kB / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.2246, allocations: 11.98 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2246, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007578/0.2254, allocations: 403.4 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.2254, allocations: 4 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.2255, allocations: 33.64 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.2257, allocations: 120 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2257, allocations: 11.94 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2258, allocations: 0 / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2258, allocations: 4 kB / 0.9814 GB, free: 25.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004013/0.2262, allocations: 375.2 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.2262, allocations: 12.02 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.2263, allocations: 38.55 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.2263, allocations: 11.86 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2264, allocations: 163.1 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2265, allocations: 4 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.2265, allocations: 0 / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.2266, allocations: 41.69 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.2266, allocations: 7.938 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2266, allocations: 0 / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2267, allocations: 0 / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.416e-05/0.2267, allocations: 11.98 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.2269, allocations: 161.7 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.227, allocations: 34.58 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.2271, allocations: 24.86 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009812/0.2281, allocations: 0.9856 MB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2281, allocations: 34.56 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.314e-06/0.2281, allocations: 3.938 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002062/0.2283, allocations: 53.69 kB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.2284, allocations: 51.41 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.2284, allocations: 105.8 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.2285, allocations: 25.7 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.2285, allocations: 84.14 kB / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.2285, allocations: 15.75 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.2285, allocations: 0 / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6e-05/0.2286, allocations: 326.8 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.2286, allocations: 4 kB / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.2287, allocations: 8 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.2287, allocations: 4 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2287, allocations: 3.938 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.2289, allocations: 53.59 kB / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2289, allocations: 8 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2289, allocations: 0 / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2289, allocations: 0 / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.2291, allocations: 19.98 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2291, allocations: 0 / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.2291, allocations: 336 / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.2292, allocations: 0 / 0.9839 GB, free: 22.18 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 (4): * Single equations (assignments): 4 * 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 6.502e-05/0.2292, allocations: 119.1 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.2293, allocations: 3.938 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.2294, allocations: 69.5 kB / 0.9841 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2294, allocations: 0 / 0.9841 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2295, allocations: 4 kB / 0.9841 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2295, allocations: 4 kB / 0.9841 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.2296, allocations: 157.6 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2296, allocations: 4 kB / 0.9843 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.2297, allocations: 11.98 kB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2297, allocations: 4 kB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.2298, allocations: 4 kB / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2298, allocations: 3.938 kB / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2298, allocations: 0 / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.2299, allocations: 88.92 kB / 0.9844 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.2299, allocations: 77.11 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.23, allocations: 4 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.23, allocations: 0 / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.23, allocations: 0 / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.2301, allocations: 11.98 kB / 0.9845 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.2301, allocations: 79.28 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2301, allocations: 0 / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000336/0.2305, allocations: 47.92 kB / 0.9846 GB, free: 21.4 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 (4): * Single equations (assignments): 4 * 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.0004719/0.2309, allocations: 0.6631 MB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.2311, allocations: 19.94 kB / 0.9853 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2311, allocations: 0 / 0.9853 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.2311, allocations: 15.98 kB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.2314, allocations: 4 kB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.2319, allocations: 216 kB / 0.9855 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.232, allocations: 0.6809 MB / 0.9862 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.78e-05/0.232, allocations: 6.219 kB / 0.9862 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.2321, allocations: 15.44 kB / 0.9862 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/0.2321, allocations: 3.938 kB / 0.9862 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.2524, allocations: 1.961 MB / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/0.2527, allocations: 277.1 kB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/2.682, allocations: 0 / 0.9884 GB, free: 17.57 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)