Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008678/0.0008682, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006391/0.006391, allocations: 171.9 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005963/0.0005964, allocations: 13.5 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2892, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001475/0.2907, allocations: 1.083 MB / 0.789 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.2924, allocations: 1.129 MB / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.933e-05/0.2925, allocations: 8 kB / 0.7901 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.2925, allocations: 0 / 0.7901 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.2925, allocations: 3.938 kB / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.293, allocations: 154.8 kB / 0.7903 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.2931, allocations: 27.81 kB / 0.7903 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.2931, allocations: 11.98 kB / 0.7903 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.2932, allocations: 12 kB / 0.7903 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.2933, allocations: 15.92 kB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.968e-06/0.2933, allocations: 0 / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.2938, allocations: 423.4 kB / 0.7907 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.2939, allocations: 11.94 kB / 0.7907 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.2939, allocations: 37.62 kB / 0.7908 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.2942, allocations: 195.9 kB / 0.791 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2942, allocations: 0 / 0.791 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2942, allocations: 4 kB / 0.791 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2942, allocations: 0 / 0.791 GB, free: 8.441 MB / 0.6075 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.0004137/0.2946, allocations: 375.4 kB / 0.7913 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2947, allocations: 12.03 kB / 0.7913 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.2947, allocations: 0.9375 kB / 0.7913 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2948, allocations: 172.2 kB / 0.7915 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2949, allocations: 384 / 0.7915 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.2949, allocations: 384 / 0.7915 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.295, allocations: 49.75 kB / 0.7915 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.295, allocations: 4 kB / 0.7915 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.295, allocations: 0 / 0.7915 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.295, allocations: 0 / 0.7915 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.2951, allocations: 15.92 kB / 0.7916 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.2953, allocations: 165.7 kB / 0.7917 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.91e-05/0.2954, allocations: 38.56 kB / 0.7918 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.2954, allocations: 12.89 kB / 0.7918 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009433/0.2963, allocations: 0.9817 MB / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.2964, allocations: 42.44 kB / 0.7928 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2964, allocations: 4 kB / 0.7928 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001759/0.2966, allocations: 57.78 kB / 0.7928 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.2966, allocations: 51.41 kB / 0.7929 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.2967, allocations: 109.8 kB / 0.793 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.2967, allocations: 25.7 kB / 0.793 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.2968, allocations: 88.14 kB / 0.7931 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.2968, allocations: 3.906 kB / 0.7931 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.2968, allocations: 13.72 kB / 0.7931 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2969, allocations: 322.8 kB / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.297, allocations: 4 kB / 0.7934 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/0.297, allocations: 15.92 kB / 0.7934 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.297, allocations: 20.84 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.297, allocations: 4 kB / 0.7935 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.975e-05/0.2971, allocations: 49.55 kB / 0.7935 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2971, allocations: 8 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2972, allocations: 3.984 kB / 0.7935 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.2972, allocations: 0 / 0.7935 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2973, allocations: 12 kB / 0.7935 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2973, allocations: 4 kB / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.2973, allocations: 7.875 kB / 0.7935 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.2973, allocations: 4 kB / 0.7935 GB, free: 5.352 MB / 0.6075 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 7.262e-05/0.2974, allocations: 116.6 kB / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.2974, allocations: 7.922 kB / 0.7937 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.2976, allocations: 61.59 kB / 0.7937 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2976, allocations: 0 / 0.7937 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2976, allocations: 4 kB / 0.7937 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2976, allocations: 4 kB / 0.7937 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.2977, allocations: 161.6 kB / 0.7939 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2977, allocations: 3.984 kB / 0.7939 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.2978, allocations: 19.88 kB / 0.7939 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2978, allocations: 0 / 0.7939 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.2978, allocations: 0 / 0.7939 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2978, allocations: 0 / 0.7939 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2978, allocations: 3.938 kB / 0.7939 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.568e-05/0.2979, allocations: 77.12 kB / 0.794 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.298, allocations: 89.03 kB / 0.7941 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.298, allocations: 0 / 0.7941 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.084e-05/0.298, allocations: 0 / 0.7941 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.298, allocations: 4 kB / 0.7941 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.298, allocations: 0 / 0.7941 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.2981, allocations: 87.27 kB / 0.7942 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2981, allocations: 0 / 0.7942 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000228/0.2983, allocations: 32 kB / 0.7942 GB, free: 4.586 MB / 0.6075 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.0002531/0.2986, allocations: 163.1 kB / 0.7943 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.929e-05/0.2987, allocations: 19.92 kB / 0.7944 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2987, allocations: 0 / 0.7944 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.217e-05/0.2987, allocations: 12 kB / 0.7944 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.2989, allocations: 7.938 kB / 0.7944 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.2993, allocations: 185.2 kB / 0.7946 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.2995, allocations: 0.6813 MB / 0.7952 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.2995, allocations: 10.94 kB / 0.7952 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.2996, allocations: 11.44 kB / 0.7952 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2996, allocations: 3.938 kB / 0.7952 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of Templates: time 0.003509/0.3031, allocations: 1.093 MB / 0.7963 GB, free: 2.395 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) Environment - environmentSimulation: